|-- frontend
| |-- src
| | |-- assets
| | | |-- images
| | | |-- fonts
| | | '-- svg
| | |-- components
| | | '-- App...
| | |-- shared
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
git config --global credential.helper store | |
git pull and git ls-remote http://REPO |
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
export default { | |
async created() { | |
try { | |
this.isLoading = true; | |
this.userLocation = await this.checkoutRepo.getUserLocation(); | |
const getOrderInteraction = new GetOrderInteractor(this.checkoutRepo, { | |
apiRouter: this.$router, | |
route: this.$route | |
}); |
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
FROM node:12.14.1 | |
RUN apt-get update; \ | |
apt-get install -y --no-install-recommends mysql-client; \ | |
apt-get clean; |
brew install nginx
ln -sfv /usr/local/opt/nginx/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.nginx.plist
- mkdir -p /usr/local/etc/nginx/sites-{enabled,available}
- cd /usr/local/etc/nginx/sites-enabled
- ln -s ../sites-available/default.conf
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 apt-get update | |
sudo apt-get install zsh | |
chsh -s /bin/zsh | |
git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh | |
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc | |
nano ~/.zshrc | |
ZSH_THEME="ys" | |
plugins=(git composer symfony2 colorize docker docker-compose gem brew npm node ruby) | |
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
upstream app_dashboard { | |
server 127.0.0.1:3000; | |
keepalive 8; | |
} | |
# the nginx server instance | |
server { | |
listen 80; | |
listen [::]:80; | |
# server_name domain.com www.domain.com; |
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
const path = require('path'); | |
const webpack = require('webpack'); | |
const BrowserSyncPlugin = require('browser-sync-webpack-plugin'); | |
const MiniCssExtractPlugin = require("mini-css-extract-plugin"); | |
const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin'); | |
const CleanWebpackPlugin = require('clean-webpack-plugin'); | |
module.exports = { | |
entry: { | |
main: './src/features/main/index.js', |
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
pragma solidity ^0.4.18; | |
contract GetsBurned { | |
function BurnMe () public { | |
// Selfdestruct and send eth to self, | |
selfdestruct(address(this)); | |
} | |
} |
NewerOlder