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
npm install --global --production windows-build-tools |
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
# ruby | |
alias ruby='/cygdrive/c/Host/opt/Ruby/2.4/bin/ruby.exe' | |
alias gem='/cygdrive/c/Host/opt/Ruby/2.4/bin/gem.cmd' | |
alias bundle='/cygdrive/c/Host/opt/Ruby/2.4/bin/bundle.bat' | |
alias rails='/cygdrive/c/Host/opt/Ruby/2.4/bin/rails.bat' | |
# sys | |
alias la='ls -la' |
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
# RMAGICK | |
https://medium.com/ruby-on-rails-web-application-development/install-rmagick-gem-on-windows-7-8-10-imagemagick-6-9-4-q16-hdri-5492c3fef202 | |
gem install rmagick --platform=ruby -- --with-opt-lib="C:/Host/opt/ImageMagick/6.9.9-Q16-HDRI/lib" --with-opt-include="C:/Host/opt/ImageMagick/6.9.9-Q16-HDRI/include" | |
gem install rmagick --platform=ruby -- --with-opt-lib="C:/Host/opt/ImageMagick-6.9.10-Q16-HDRI/lib" --with-opt-include="C:/Host/opt/ImageMagick-6.9.10-Q16-HDRI/include" | |
# CURB | |
gem install curb --version 0.7.18 --platform=ruby -- -- --with-curl-lib="C:/Host/opt/curl/bin" --with-curl-include=" C:/Host/opt/curl/include" |
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
<template> | |
</template> | |
<script> | |
export default { | |
data () { | |
return {} | |
} | |
} |
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
postsuper -d ALL |
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
find -type f -name "*.png" -exec optipng {} \; | |
find -type f -name "*.gif" -exec optipng {} \; | |
find -type f -name "*.jpg" -exec jpegoptim --strip-all {} \; |
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
cd /usr/src/netdata.git && git fetch --all && git reset --hard origin/master && git pull && ./netdata-updater.sh -f | |
sudo sh -c 'cd /usr/src/netdata.git && git fetch --all && git reset --hard origin/master && ./netdata-updater.sh -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
certbot register --update-registration --email your@mail.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
service nginx stop && certbot renew ; service nginx start |
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
npm i -g yarn webpack gulp-cli gulp grunt-cli grunt npm-check |