I hereby claim:
- I am nicholasadamou on github.
- I am nicholasadamou (https://keybase.io/nicholasadamou) on keybase.
- I have a public key ASDQrOfcbdE2QVq8EB9m3cneXGsZ7ZWT0i6pVojzDmNh_go
To claim this, I am signing this object:
| #!/bin/bash | |
| trap "exit 1" TERM | |
| export TOP_PID=$$ | |
| verify_os() { | |
| kernel="$(uname -s)" | |
| if [ "$kernel" != "Linux" ]; then | |
| echo "System must be running Linux." |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| # Docker configurations | |
| # see: https://nickjanetakis.com/blog/setting-up-docker-for-windows-and-wsl-to-work-flawlessly | |
| export DOCKER_HOST=tcp://0.0.0.0:2375 # Configure WSL to Connect to Docker for Windows | |
| sudo mount --bind /mnt/c /c # Automatically set up the bind mount |
| // Future versions of Hyper may add additional config options, | |
| // which will not automatically be merged into this file. | |
| // See https://hyper.is#cfg for all currently supported options. | |
| module.exports = { | |
| config: { | |
| // Choose either "stable" for receiving highly polished, | |
| // or "canary" for less polished but more frequent updates | |
| updateChannel: 'stable', |
| #!/bin/bash | |
| get_os() { | |
| local os="" | |
| local kernelName="" | |
| # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
| kernelName="$(uname -s)" |
| scoop update && scoop update * && cup all -y && npm-windows-upgrade.cmd |
| #!/bin/bash | |
| # To install use the following snippet: | |
| # curl -s <url-to-raw-gist> | bash | |
| TARGET="/tmp/" | |
| wget -q -O - archive.kali.org/archive-key.asc | apt-key add | |
| apt update && apt upgrade -y && apt dist-upgrade -y && apt autoremove -y | |
| if [ -f /media/cdrom/VBoxLinuxAdditions.run ]; then |
| netsh int ip reset |
| #!/bin/bash | |
| # Uncomment a string within a given file | |
| # $FILE is the targeted file | |
| # $KEY is the string that is currently commented '#' (String must contain '#' or else 'sed' will return '1') | |
| uncomment_str() { | |
| FILE="$1" | |
| KEY="$2" | |
| sed -i "$FILE" -e "/$KEY/s/#//g" |
update apt_update apt_get_update aptitude_update to /usr/local/binstart_tightvncserver.sh start_x11vncserver.sh to /root/data/Backgrounds/ to ~/Backgroundstigervnc using: apt-get remove tigervnc-common tigervnc-standalone-server