git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
; bug.n - tiling window management | |
; @version 9.0.0 | |
;;Status bar | |
Config_showBar=1 | |
Config_horizontalBarPos=left | |
Config_verticalBarPos=top | |
Config_barWidth=100% | |
Config_singleRowBar=1 | |
Config_spaciousBar=0 |
sudo find /private/var/folders/ -name com.apple.dock.iconcache -exec rm {} \; |
This configuration is not maintained anymore. You should think twice before using it, Breaking change and security issue will likely eventually happens as any abandonned project.
... | |
if [[ -r $HOME/.zshstuff/batterylevel.py ]]; then | |
RPROMPT="$RPROMPT $(python $HOME/.zshstuff/batterylevel.py)" | |
fi | |
# Bonus! Indicator of stopped (^Z'd) jobs | |
function stopped_jobs(){ | |
if [[ "$(jobs)" =~ "suspended" ]]; then |
Password-store keeps your passwords (or any other sensitive information) saved in GnuPG encrypted files organized in ~/.password-store
. For more information about GPG, consult the GNU Privacy Handbook.
To get started, install pass
and generate a keypair.
$ brew install pass
$ gpg --gen-key
$ gpg --list-keys
export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH" | |
export PATH="/usr/local/git/bin:/usr/local/bin:/usr/local/sbin:$PATH" | |
if [ -f ~/.git-completion ]; then | |
source ~/.gitcompletion.bash | |
fi | |
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then export TERM=gnome-256color |
# | |
# 4chan Webm Downloader | |
# Fetches all webms from a thread | |
# filters out all the .webm files | |
# and downloads to a custom path | |
# using wget | |
# | |
# Requires | |
# nokogiri: gem install nokogiri | |
# |
@echo off | |
echo Uninstalling KB3075249 (telemetry for Win7/8.1) | |
start /w wusa.exe /uninstall /kb:3075249 /quiet /norestart | |
echo Uninstalling KB3080149 (telemetry for Win7/8.1) | |
start /w wusa.exe /uninstall /kb:3080149 /quiet /norestart | |
echo Uninstalling KB3021917 (telemetry for Win7) | |
start /w wusa.exe /uninstall /kb:3021917 /quiet /norestart | |
echo Uninstalling KB3022345 (telemetry) | |
start /w wusa.exe /uninstall /kb:3022345 /quiet /norestart | |
echo Uninstalling KB3068708 (telemetry) |
I am working on adding support for building and distributing (via PyPI) Python Wheels with C Extensions to the Python wheel and pip packages. The discussion on Distutils-SIG continues, but I believe it is fairly certain that some effort to correctly identify Linux distributions will need to be made. I've begun efforts to add this support to wheel.
If you have a Linux distribution or version of a listed distribution not in this gist, or one of the ones I have not directly verified, I could use the following:
/etc/os-release
, if it exists