I hereby claim:
- I am shiva on github.
- I am shivanand (https://keybase.io/shivanand) on keybase.
- I have a public key ASBoHW8IILoVb7W-xD4LBj60cDtga-A8P0v6bErCa_gIWQo
To claim this, I am signing this object:
! urxvt | |
URxvt*buffered: true | |
URxvt*cursorBlink: true | |
URxvt*underlineColor: yellow | |
URxvt*font: xft:inconsolata:size=10:antialias=true | |
URxvt*depth: 32 | |
URxvt*borderless: 1 | |
URxvt*scrollBar: false | |
URxvt*loginShell: true | |
Urxvt*secondaryScroll: true # Enable Shift-PageUp/Down in screen |
" Forget being compatible with good ol' vi | |
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/ | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" let Vundle manage Vundle, required |
#!/bin/bash | |
# git pre-commit hook that runs an clang-format stylecheck. | |
# Features: | |
# - abort commit when commit does not comply with the style guidelines | |
# - create a patch of the proposed style changes | |
# modifications for clang-format by [email protected] | |
# This file is part of a set of unofficial pre-commit hooks available | |
# at github. |
alias gen-cscope='find . -iname '\''*.c'\'' -o -iname '\''*.cpp'\'' -o -iname '\''*.cc'\'' -o -iname '\''*.h'\'' -o -iname '\''*.hpp'\'' > cscope.files && cscope -b -i cscope.files -f cscope.out' | |
alias gen-tags='ctags -R --c++-kinds=+p --fields=+iaS --extra=+q' |
alias remove-whitespace='sed -e '\''s/[[:blank:]]\+$//'\'' -i' | |
alias remove-ws-in-last-commit= 'for f in `git show --name-only --pretty=""`; do echo $f; remove-whitespace $f; done' |
I hereby claim:
To claim this, I am signing this object:
Source: https://stackoverflow.com/questions/2164581/remove-file-from-git-repository-history
This is the shortest way to get rid of the files:
git verify-pack -v .git/objects/pack/#{pack-name}.idx | sort -k 3 -n | tail -5
$ori = @{} | |
Try { | |
$i = 0 | |
# Loading .env files | |
if(Test-Path $args[0]) { | |
foreach($line in (Get-Content $args[0])) { | |
if($line -Match '^\s*$' -Or $line -Match '^#') { | |
continue | |
} |