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 {getDefaultConfig} = require('metro-config'); | |
| module.exports = (async () => { | |
| const { | |
| resolver: {sourceExts, assetExts}, | |
| } = await getDefaultConfig(); | |
| return { | |
| transformer: { | |
| babelTransformerPath: require.resolve('react-native-svg-transformer'), | |
| }, |
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
| version: "3" | |
| services: | |
| mysql: | |
| container_name: mysql | |
| image: mysql:5.7 | |
| ports: | |
| - 3306:3306 | |
| environment: | |
| MYSQL_ROOT_PASSWORD: secret | |
| volumes: |
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
| map $http_x_forwarded_host $custom_forwarded_host { | |
| default "$server_name"; | |
| upstream-srv "upstream-srv"; | |
| } | |
| server { | |
| server_name domain.com; | |
| # Proxy Config | |
| location / { | |
| proxy_pass http://upstream-srv; |
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
| version: '3' | |
| services: | |
| db-headless: | |
| container_name: db-headless | |
| environment: | |
| - MYSQL_RANDOM_ROOT_PASSWORD=yes | |
| - MYSQL_DATABASE=${WORDPRESS_DB_NAME} | |
| - MYSQL_PASSWORD=${WORDPRESS_DB_PASSWORD} | |
| - MYSQL_USER=${WORDPRESS_DB_USER} |
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
| function handleActiveAreaClick(activeAreaID) { | |
| setState({...state, activeAreaID}); | |
| } | |
| return ( | |
| <React.Fragment> | |
| <ScrollViewContainer> | |
| {areas.map(area => ( | |
| <TabContent | |
| key={area.uuid} |
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
| [Desktop Entry] | |
| Encoding=UTF-8 | |
| Version=1.0 | |
| Name=Postman | |
| Comment=Postman Native App | |
| Exec=/home/cardial/Applications/Postman/Postman | |
| Icon=/home/cardial/Applications/Postman/app/resources/app/assets/icon.png | |
| Terminal=false | |
| StartupWMClass=postman | |
| Type=Application |
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
| #!/bin/sh | |
| git --work-tree=/var/www/repo --git-dir=/var/repo/repo.git checkout -f |
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
| /* eslint-disable */ | |
| const { parsed: localEnv } = require("dotenv").config(); | |
| const webpack = require("webpack"); | |
| module.exports = { | |
| webpack(config, { dev }) { | |
| if (dev) { | |
| config.module.rules.push({ | |
| test: /\.js$/, | |
| loader: "eslint-loader", | |
| exclude: ["/node_modules/", "/.next/", "/out/"], |
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
| mongodump -d <COLLECTION> -u <USER> -p <PASS> --authenticationDatabase admin |
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
| sudo chown -R $USER:$GROUP ~/.npm | |
| sudo chown -R $USER:$GROUP ~/.config |