This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "servers": { | |
| "figma-mcp-server": { | |
| "type": "stdio", | |
| "command": "npx", | |
| "args": [ | |
| "-y", | |
| "figma-developer-mcp", | |
| "--figma-api-key=${input:figma-access-token}", | |
| "--stdio" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "servers": { | |
| "context7": { | |
| "command": "npx", | |
| "args": [ | |
| "-y", | |
| "@upstash/context7-mcp@latest", | |
| "--api-key", | |
| "${input:context7-access-token}" | |
| ], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const fs = require('fs') | |
| const finalData = [ | |
| ] | |
| ;(async () => { | |
| const res = await fetch('https://restcountries.com/v3.1/all?fields=name,cca2,independent,idd') | |
| const data = await res.json() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| [{ | |
| "include": "~/.config/hypr/waybar/modules", | |
| "layer": "bottom", | |
| //"mode": "dock", | |
| "exclusive": true, | |
| "passthrough": false, | |
| "position": "top", | |
| "spacing": 5, | |
| "fixed-center": true, | |
| "ipc": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "env": { | |
| "browser": true, | |
| "es2021": true | |
| }, | |
| "extends": [ | |
| "plugin:react/recommended", | |
| "airbnb", | |
| "prettier", | |
| ], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const getServerSideProps = async () => { | |
| // check if the user is logged in | |
| const ifAuthenticated = false | |
| if (ifAuthenticated) { | |
| return { redirect: { destination: '/login', permanent: false } } | |
| } | |
| return { props: {} } | |
| } |