Skip to content

Instantly share code, notes, and snippets.

View rmandvikar's full-sized avatar
🙄
il dolce far niente!

hippy rmandvikar

🙄
il dolce far niente!
  • ɥsıɹ, RM, Rish, Mandvikar
  • An'arctica
  • 00:19 (UTC +13:00)
View GitHub Profile
@rmandvikar
rmandvikar / pre-receive hook
Created August 6, 2017 06:59
pre-receive hook with minor changes
#/bin/bash
# Copyright (c) 2016 G. Sylvie Davies. http://bit-booster.com/
# Copyright (c) 2016 torek. http://stackoverflow.com/users/1256452/torek
# License: MIT license. https://opensource.org/licenses/MIT
while read oldrev newrev refname
do
if [[ "$refname" == "refs/heads/master" ]]; then
MATCH=`git log --first-parent --pretty='%P' $oldrev..$newrev |
grep $oldrev |
@rmandvikar
rmandvikar / o.cmd
Last active January 1, 2017 19:24
o cmd for text editor (path: wscite/o.cmd, usage: s/scite/o)
@echo off
start scite.exe %*
@rmandvikar
rmandvikar / winmerge.ini
Last active February 19, 2017 18:24
winMerge ini settings
[WinMerge]
Settings/Font=-13,0,0,0,400,0,0,0,0,3,2,1,49,Consolas
Settings/VssPath=\Ss.exe
Settings/MatchSimilarLines=1
Settings/MovedBlocks=1
Settings/IgnoreEol=1
Settings/DefaultListColoring=0
Settings/SelectedWordDifferenceDeletedColor=6986751
Settings/SelectedWordDifferenceColor=8442602
Settings/WordDifferenceColor=8442602
@rmandvikar
rmandvikar / git commands
Last active March 9, 2017 08:29
git commands
##list##
// pull up man page for [anything]
git [anything] --help
git status
git branch
git tag
git log
git version
type q to exit out from git's paging
@rmandvikar
rmandvikar / .gitconfig
Last active April 8, 2017 23:16
.gitconfig
I moved the .gitconfig along with other files into below repo so that updates are easy as you can just fetch/pull.
https://github.com/rmandvikar/git-setup