Of course!
Here’s your comment properly formatted in Markdown, cleaned up for clarity, while keeping your original voice and casual style intact:
Yahan dekh lo different roadmaps:
👉 https://roadmap.sh/roadmaps
Of course!
Here’s your comment properly formatted in Markdown, cleaned up for clarity, while keeping your original voice and casual style intact:
Yahan dekh lo different roadmaps:
👉 https://roadmap.sh/roadmaps
| -- Organizations Table | |
| CREATE TABLE organizations ( | |
| id SERIAL PRIMARY KEY, | |
| organization_name VARCHAR(80) NOT NULL | |
| ); | |
| -- Creating an index on the organization_name as suggested by the ER diagram. | |
| CREATE INDEX idx_organizations_name ON organizations(organization_name); | |
| -- Create ENUM type for survey status |
| // UserStateHandler.js | |
| import React, { createRef, useImperativeHandle } from 'react'; | |
| import { useRecoilState } from 'recoil'; | |
| import { userState } from '../store/atoms'; | |
| // Create the ref | |
| export const userGlobalRef = createRef(); | |
| const UserStateHandler = React.forwardRef((props, ref) => { | |
| const [user, setUser] = useRecoilState(userState); |
| import React,{useRef,useEffect} from 'react'; | |
| import {View,Text,SafeAreaView,ScrollView} from 'react-native' | |
| import { GooglePlacesAutocomplete } from 'react-native-google-places-autocomplete'; | |
| import {GOOGLE_MAPS_AUTOCOMPLETE_API_KEY} from '../../constants' | |
| const apiKey=GOOGLE_MAPS_AUTOCOMPLETE_API_KEY; | |
| import { getReverseCodeLocation } from '../../api/locations'; | |
| navigator.geolocation = require('react-native-geolocation-service'); | |
| const AddressPicker = ({onSelect,latitude,longitude}) => { | |
| console.log("AddressPicker",{latitude,longitude}); |
| export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/latest/bin | |
| pg_dump |
| BEGIN; -- Start of the transaction | |
| -- insert data | |
| -- Dummy Organization | |
| INSERT INTO organizations (id,organization_name) VALUES (1,'Tennis Survey Organization'); | |
| -- Dummy Survey Header, assuming organization_id = 1 | |
| INSERT INTO survey_headers (id,organization_id, survey_name, instructions) VALUES (1,1, 'Tennis Partner Survey', 'Please complete this survey to find your ideal tennis partner.'); | |
| -- Input Types |
| -- https://wwwiti.cs.uni-magdeburg.de/iti_db/publikationen/ps/auto/thesisJohn22.pdf | |
| BEGIN; | |
| -- Drop tables if they already exist to avoid errors | |
| DROP TABLE IF EXISTS Footnote CASCADE; | |
| DROP TABLE IF EXISTS Additional_Answer_Part_Choice CASCADE; | |
| DROP TABLE IF EXISTS Choice_Text CASCADE; | |
| DROP TABLE IF EXISTS Choice_Group CASCADE; | |
| DROP TABLE IF EXISTS Additional_Answer_Part CASCADE; |
| import React from 'react'; | |
| import { normalize, SCREEN_WIDTH } from '../../../../theme/metrics'; | |
| import { View, Text, TextInput, ScrollView, Image, SafeAreaView, StyleSheet, TouchableOpacity, Dimensions } from 'react-native'; | |
| const pageWidth = Dimensions.get('window').width; | |
| const logo = { | |
| uri: 'https://reactnative.dev/img/tiny_logo.png', | |
| width: 64, | |
| height: 64, | |
| }; |
| function prepareForMiddleware(req,res,next,data){ | |
| res.return=data; | |
| next(); | |
| } | |
| function productDetails(){ | |
| // return res.json({ message: 'Product Details', product, similar, variants }); | |
| let data = { message: 'Product Details', product, similar, variants }; | |
| prepareForMiddleware(req,res,next,data); |