docker-compose up (-d optional)
This file contains 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/bash | |
# Call this file with `bash ./project-create.sh project-name [service-name]` | |
# - project-name is mandatory | |
# - service-name is optional | |
# This will creates 4 directories and a git `post-receive` hook. | |
# The 4 directories are: | |
# - $GIT: a git repo | |
# - $TMP: a temporary directory for deployment |
This file contains 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
{ | |
"workbench.colorTheme": "Dracula", | |
"editor.fontFamily": "Fira Code", | |
"editor.fontLigatures": true, | |
"editor.fontSize": 18, | |
"editor.lineHeight": 24, | |
"editor.formatOnSave": true, | |
"editor.rulers": [80, 120], | |
"editor.tabSize": 2, | |
"editor.renderLineHighlight": "gutter", |
This file contains 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
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'my-pass'; |
This file contains 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 |
This file contains 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 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 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 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 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} |
OlderNewer