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
# 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
# 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
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
ln -s /home/mattermost/config/ /home/mattermost/mattermost/ && ln -s /home/mattermost/data/ /home/mattermost/mattermost/ && ln -s /ho me/mattermost/logs/ /home/mattermost/mattermost/ | |
sudo chown -R mattermost:mattermost ./mattermost |
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
bundle install && gem uninstall bcrypt-ruby --force && gem uninstall bcrypt --force && gem install bcrypt --platform=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
echo '#upgrade' && sudo apt-get autoremove -y && sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt-get autoremove -y && read -p "Reboot (y/n)?" CONT && [ "$CONT" = "y" ] && sudo reboot |
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
"c:\Host\opt\Apache\2.4\bin\httpd" -k uninstall -n "Apache 2.4 - PHP X" | |
"c:\Host\opt\Apache\2.4\bin\httpd" -k install -n "Apache 2.4 - PHP 7.2.12" -f "C:\Host\etc\apache\httpd-2.4-php-7.2.12.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
# Root clear | |
sudo apt-get purge $(dpkg -l linux-{image,headers}-"[0-9]*" | awk '/ii/{print $2}' | grep -ve "$(uname -r | sed -r 's/-[a-z]+//')") | |
# Unity Lens DISABLE | |
gsettings set com.canonical.Unity.Lenses disabled-scopes "['more_suggestions-amazon.scope', 'more_suggestions-u1ms.scope', 'more_suggestions-populartracks.scope', 'music-musicstore.scope', 'more_suggestions-ebay.scope', 'more_suggestions-ubuntushop.scope', 'more_suggestions-skimlinks.scope']" | |
# Spotify FIX |
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
ssh-keygen -t rsa -C "your_email@example.com" | |
sudo apt-get install xclip | |
xclip -sel clip < ~/.ssh/id_rsa.pub | |
clip < ~/.ssh/id_rsa.pub |