pacman -S curl docker ebtables ethtool wget unzip
Also cfssl is needed but available on AUR, using pacaur
pacaur -S cfssl
| [merge] | |
| tool = vs | |
| [mergetool "vs"] | |
| cmd = /home/XXX/win_merge.sh merge $LOCAL $REMOTE $BASE $MERGED | |
| trustExitCode = false | |
| [mergetool] | |
| keepBackup = false | |
| [diff] | |
| tool = vs | |
| [difftool "vs"] |
| #!/bin/bash | |
| # YOU HAVE TO RUN WITH ROOT | |
| # AND YOU NEED TO INSTALL JAVA FIRST | |
| # You can install it on Debian/Ubuntu with: "sudo apt-get install openjdk-8-jre" | |
| dir="/opt/minecraft" | |
| # Script to make Install of Minecraft | |
| makeInstall() { |
| # Add field | |
| echo '{"hello": "world"}' | jq --arg foo bar '. + {foo: $foo}' | |
| # { | |
| # "hello": "world", | |
| # "foo": "bar" | |
| # } | |
| # Override field value | |
| echo '{"hello": "world"}' | jq --arg foo bar '. + {hello: $foo}' | |
| { |
| alias kc='kubectl' | |
| alias kclf='kubectl logs --tail=200 -f' | |
| alias kcgs='kubectl get service -o wide' | |
| alias kcgd='kubectl get deployment -o wide' | |
| alias kcgp='kubectl get pod -o wide' | |
| alias kcgn='kubectl get node -o wide' | |
| alias kcdp='kubectl describe pod' | |
| alias kcds='kubectl describe service' | |
| alias kcdd='kubectl describe deployment' | |
| alias kcdf='kubectl delete -f' |
| pacman | |
| ====== | |
| view logs: /var/log/pacman.log | |
| update system | |
| # pacman -Syu | |
| list installed packages | |
| # pacman -Q |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| Check if remote port is open with bash: | |
| echo >/dev/tcp/8.8.8.8/53 && echo "open" | |
| Suspend process: | |
| Ctrl + z | |
| Move process to foreground: | |
| fg | |
| Generate random hex number where n is number of characters: |
This collection of files serves as a simple static demonstration of how to post to a google spreadsheet from an external html <form> following the example by Martin Hawksey
You should be able to just open index.html in your browser and test locally.
However if there are some permissions errors you can make a quick html server with python. Open terminal and cd to the directory where the gist files are located and enter python -m SimpleHTTPServer. By default this creates a local server at localhost:8000
Table of Contents