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
LABEL=NAME none ntfs rw,auto,nobrowse |
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
<html> | |
<?php | |
header('Location: https://www.youtube.com/channel/***YouTube Channel ID***/videos?sub_confirmation=1'); | |
?> | |
</html> |
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
# get node js container | |
docker run -it -p 3000:3000 -d node /bin/bash | |
# in docker container | |
apt-get update && apt-get install -y clamav vim | |
# update clamav database | |
freshclam | |
touch /etc/clamav/clamd.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
atari-py==0.1.1 | |
bleach==1.5.0 | |
Box2D==2.3.2 | |
Box2D-kengz==2.3.3 | |
box2d-py==2.3.1 | |
certifi==2017.7.27.1 | |
chardet==3.0.4 | |
cycler==0.10.0 | |
decorator==4.0.11 | |
entrypoints==0.2.3 |
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
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
# SSL configuration | |
# | |
# listen 443 ssl default_server; | |
# listen [::]:443 ssl default_server; | |
# | |
# Note: You should disable gzip for SSL traffic. |
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
#!/bin/bash | |
echo "Waiting for docker daemon to start up:" | |
until docker ps 2>&1| grep STATUS>/dev/null; do sleep 1; done; >/dev/null | |
docker ps -a | grep sandbox-hdp | |
if [ $? -eq 0 ]; then | |
docker start sandbox-hdp | |
else | |
docker pull fonylew/sandbox-hdp-standalone:2.6.4-presto-0.202 | |
docker run --name sandbox-hdp --hostname "sandbox-hdp.hortonworks.com" --privileged -d \ | |
-p 15500:15500 \ |
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
#export PATH=$PATH:~/bin | |
export PATH=/bin:/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:$PATH | |
export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/site-packages | |
export PATH=${PATH}:$HOME/gsutil | |
#export EDITOR='subl -w' | |
alias sl="ls" | |
alias สห="ls" | |
alias แก="cd" | |
alias howmuch="tree .|wc" | |
alias prettyjson='python -m json.tool' |
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
set relativenumber | |
set number | |
colorscheme elflord | |
filetype plugin indent on | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
" Allow saving of files as sudo when I forgot to start vim using sudo. | |
cmap w!! w !sudo tee > /dev/null % |
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
alias usage='du -sh *|sort -n' | |
alias pubip="curl 'https://api.ipify.org'" | |
alias vbashal='vim ~/.bash_aliases' | |
alias vsshconfig='vim ~/.ssh/config' | |
alias sbashrc='source ~/.bashrc' | |
alias sourceme='source ~/.bashrc' | |
alias clipboard='xclip -selection clipboard' |
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
#!/bin/bash | |
sudo apt update | |
sudo apt upgrade -y | |
# Essential | |
sudo apt install -y git python3-pip gcc cmake | |
# Networking tools | |
sudo apt install -y curl net-tools |