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
ln -s ./path symlinkToPath |
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/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)" | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" |
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
navigator.serviceWorker | |
.register('/sw.js') | |
.then((reg) => console.log('SW registered', reg)) | |
.catch((err) => console.log('rip', err)) |
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
PODS: | |
- boost-for-react-native (1.63.0) | |
- CocoaAsyncSocket (7.6.4) | |
- CocoaLibEvent (1.0.0) | |
- DoubleConversion (1.1.6) | |
- FBLazyVector (0.62.2) | |
- FBReactNativeSpec (0.62.2): | |
- Folly (= 2018.10.22.00) | |
- RCTRequired (= 0.62.2) | |
- RCTTypeSafety (= 0.62.2) |
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 service nginx restart | |
sudo service ghost restart |
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
# /etc/nginx/sites-available/ghost | |
server { | |
listen 80; | |
server_name blog.netsca.pe; | |
location ~ ^/.well-known { | |
root /var/www/ghost; | |
} |
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
rm -rf /path/to/your/git/clone/directory | |
rm -rf ~/.local/share/letsencrypt | |
rm -rf /etc/letsencrypt | |
rm -rf /var/log/letsencrypt | |
rm -rf /var/lib/letsencrypt | |
rm -rf ~/letsencrypt.log | |
rm -rf ~/.local/share/letsencrypt |
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
# How to iterate over associate arrays in Bash | |
# To generate PHP redirection files with prefixes | |
declare -A array | |
array["uk"]="https://www.google.co.uk" | |
array["fi"]="https://www.google.fi" | |
array["es"]="https://www.google.es" | |
for i in "${!array[@]}" |
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
░░░░░░░░░░░█▀▀░░█░░░░░░ | |
░░░░░░▄▀▀▀▀░░░░░█▄▄░░░░ | |
░░░░░░█░█░░░░░░░░░░▐░░░ | |
░░░░░░▐▐░░░░░░░░░▄░▐░░░ | |
░░░░░░█░░░░░░░░▄▀▀░▐░░░ | |
░░░░▄▀░░░░░░░░▐░▄▄▀░░░░ | |
░░▄▀░░░▐░░░░░█▄▀░▐░░░░░ | |
░░█░░░▐░░░░░░░░▄░█░░░░░ | |
░░░█▄░░▀▄░░░░▄▀▐░█░░░░░ | |
░░░█▐▀▀▀░▀▀▀▀░░▐░█░░░░░ |
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
Sublime | |
Background: #272822; dark gray | |
Text/variable: #F8F8F2; white | |
Comment: #75715E; light gray | |
Tag/statement: #F92672; pink | |
Function: #66D9EF; blue | |
Value: #E6DB74; beige | |
CSS value: #AE81FF; purple | |
HTML att / CSS id: #A6E22E; green |