keytool -list -v -keystore {LOCATION ./app.keystore} -alias {ALIAS NAME} -storepass {STORE PASS} -keypass {KEY PASS}Output:
| <Head> | |
| <script type="application/ld+json"> | |
| {`{ | |
| "@context":"https://schema.org","@type":"FAQPage", | |
| "mainEntity": [ | |
| ${faq?.map((f: { label: string; description: string }) => { | |
| return `{ | |
| "@type": "Question", | |
| "name": "${f.label}", | |
| "acceptedAnswer": { |
| // Error | |
| // Error: "hostname" and "port" must be provided when starting next to use "unstable_revalidate". See more here https://nextjs.org/docs/advanced-features/custom-server | |
| // You need to pass hostname and port in your start command. | |
| { | |
| "start": "next start --hostname=0.0.0.0 --port=3000" | |
| } |
| import OneSignal from 'react-native-onesignal'; | |
| const getPlayerID = async () => { | |
| const {userId} = await OneSignal.getDeviceState(); | |
| }; |
| import dynamic from 'next/dynamic'; | |
| const Component = dynamic(() => import('lib-name or component dir'), { ssr: false }); | |
| // Example for a lib | |
| const Chart = dynamic(() => import('react-apexcharts'), { ssr: false }) | |
| // Example for a component | |
| const Button = dynamic(() => import('../components/Button'), { ssr: false }) |
| # This returns your domain's details which is in query as a parameter. In `result` property `id` is your DNS Record ID | |
| curl -X GET "https://api.cloudflare.com/client/v4/zones/ZONE_ID/dns_records?type=A&name=<Domain>" \ | |
| -H "X-Auth-Email: <email>" \ | |
| -H "X-Auth-Key: <Global API Key>" \ | |
| -H "Content-Type: application/json" |
| use admin | |
| db.createUser( | |
| { | |
| user: "<username>", | |
| pwd: "<password>", | |
| roles: ["userAdminAnyDatabase", "dbAdminAnyDatabase", "readWriteAnyDatabase"] | |
| } | |
| ) |
| > nano /etc/mongod.conf | |
| # network interfaces | |
| net: | |
| port: 27017 | |
| bindIp: 127.0.0.1,<your_inet_ip> #no space between addresses. |