Avoid any system permissions issue :-)
curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh -o install_nvm.sh
bash install_nvm.sh
source ~/.profile
nvm install 10.16.3
nvm use 10.16.3
| setError(msg: string): void { | |
| const provider = this.$refs.provider as InstanceType< | |
| typeof ValidationProvider | |
| > | |
| provider.applyResult({ | |
| errors: [msg], | |
| failedRules: {}, | |
| }) | |
| }, |
| Running 59.05 km █▌░░░░░░░░░░░░░░░░░ 10.47/h | |
| Swimming 0.00 km ░░░░░░░░░░░░░░░░░░░ 0.00/h | |
| Cycling 687.52 km █████████████████▍░ 24.43/h | |
| Last month 122.70 km 6:47h |
| # Generated by iptables-save v1.4.21 on Mon Apr 25 12:53:52 2016 | |
| *filter | |
| :INPUT ACCEPT [0:0] | |
| :FORWARD ACCEPT [0:0] | |
| :OUTPUT ACCEPT [0:0] | |
| -A INPUT -i lo -j ACCEPT | |
| -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT | |
| -A INPUT -p tcp -m tcp --dport 443 -j ACCEPT | |
| -A INPUT -p tcp -m tcp -s hostname.com --dport 22 -j ACCEPT | |
| -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT |
| git log --author="Fábio Santos" --oneline --shortstat --after="2017-01-01" | grep -E " files? changed," |
C:\phpC:\php\php.ini-production to php.iniextension_dir and change the existing value to "C:\php\ext"extension=php_curl.dllC:\php| # Replace _WEBSITE.COM_ with YOUR_DOMAIN.TLD | |
| # Replace _ADMIN_FOLDER_ with YOUR_ADMIN_FOLDER | |
| server { | |
| listen 80; | |
| listen [::]:80; | |
| listen 443 ssl; | |
| listen [::]:443 ssl; | |
| server_name 127.0.0.1 _WEBSITE.com_ www._WEBSITE.com_; |
| #!/bin/bash | |
| # Reload iptables if... (e.g. ip was changed) | |
| # Dependencies: dig (apt-get install dnsutils in debian/ubuntu) | |
| # Note: Run "touch ~/current_ip" and add a new cron job with cmd "crontab -e" to run this script periodically. | |
| HOSTNAME=<hostname-to-check.dyndns.org> | |
| LOGFILE=~/current_ip | |
| Current_IP=$(dig +short $HOSTNAME) |
| function removeAccents (str) { | |
| map = { | |
| 'a' : 'á|à|ã|â|À|Á|Ã|Â', | |
| 'e' : 'é|è|ê|É|È|Ê', | |
| 'i' : 'í|ì|î', | |
| 'o' : 'ó|ò|ô|õ|Ó|Ò|Ô|Õ', | |
| 'u' : 'ú|ù|û|ü|Ú|Ù|Û|Ü', | |
| 'c' : 'ç|Ç', | |
| 'n' : 'ñ|Ñ' | |
| }; |
| #!/bin/bash | |
| wget -q https://github.com/atom/atom/releases/latest -O /tmp/latest | |
| wget --progress=bar -q $(awk -F '[<>]' '/href=".*atom-amd64.deb/ {match($0,"href=\"(.*.deb)\"",a); print "https://github.com/" a[1]} ' /tmp/latest) -O /tmp/atom-amd64.deb --show-progress | |
| dpkg -i /tmp/atom-amd64.deb |