Skip to content

Instantly share code, notes, and snippets.

View HeshamMeneisi's full-sized avatar
🏠
Working from home

Hesham Meneisi HeshamMeneisi

🏠
Working from home
View GitHub Profile
@HeshamMeneisi
HeshamMeneisi / Productivity
Last active March 19, 2020 05:14
Useful bash paths, aliases and functions
# START_0f56bb1d
# To Install permanently:
# curl -s https://gist.githubusercontent.com/HeshamMeneisi/0f56bb1dfd3ca3d09d304d3a02107205/raw/Productivity >> ~/.bashrc && source ~/.bashrc
# To Uninstall:
# cp ~/.bashrc bashrc.bak && perl -0777 -i -pe "s/# START_0f56bb1d.+# END_0f56bb1d//igs" ~/.bashrc
# To use temporarily:
# source <(curl -s https://gist.githubusercontent.com/HeshamMeneisi/0f56bb1dfd3ca3d09d304d3a02107205/raw/Productivity)
# Useful paths
# !! MAKE SURE TO UPDATE VERSION NUMBERS !!
export PATH=/home/$USER/.dotnet:/usr/local/cuda-9.0/bin:~/browser-drivers:~/.composer/vendor/bin${PATH:+:${PATH}}
@jwebcat
jwebcat / gist:5122366
Last active June 20, 2024 13:35 — forked from lemenkov/gist:1674929
Properly download from github using wget and curl
wget --no-check-certificate --content-disposition https://github.com/joyent/node/tarball/v0.7.1
# --no-check-cerftificate was necessary for me to have wget not puke about https
curl -LJO https://github.com/joyent/node/tarball/v0.7.1