Skip to content

Instantly share code, notes, and snippets.

View VonC's full-sized avatar

VonC VonC

View GitHub Profile
1. foo
````python
print 'bar'
````
1. sub-foo
````python
print 'sub-bar'
test
@VonC
VonC / 0_MyGistWithFiles
Last active March 18, 2020 14:19 — forked from Sinetheta/README.md
Test for answering http://stackoverflow.com/a/17668995/6309 about gist file ordering
File describing this collection of files in this Gist named "MyGistWithFiles"
@VonC
VonC / .gitignore
Last active July 12, 2019 19:28
Simple download and installation script, which can be called from the cloud
/senv.sublime-*
/WindowTabsSettings.txt
@VonC
VonC / senv.bat
Last active October 7, 2015 11:47
Settings for a good development environment for Go on Windows or for programs in general Include chocolatey for easy software installation
@echo off
REM if corporate environment, set your proxy
REM set HTTP_PROXY=http://username:password@proxy.corp:port
REM set HTTPS_PROXY=http://username:password@proxy.corp:port
REM set NO_PROXY=.corp,localhost,127.0.0.1,%USERDOMAIN%
set HOME=%HOMEDRIVE%%HOMEPATH%
REM if corporate environment, set your HOME to an *external* backed-up drive
REM set HOME=Z:\
@VonC
VonC / diffRepSO
Created February 25, 2012 17:30
Reputation Diff on SO
C:\Users\VonC\prog\so>
diff -y --suppress-common-lines -I ".*=" -I "\*\*" reputation20120219.txt reputation20120225.txt | grep -Fv ">"
Using gnu diff (available on Windows through gow for diff, grep and other gnu commands: https://github.com/bmatzelle/gow/downloads
See http://stackoverflow.com/questions/7646266/grep-command-being-reversed-by-special-character
@VonC
VonC / gist:1103955
Created July 25, 2011 11:35
Peazip 7z in command line: alias on Windows
Wrapper:
C:\Prog\Toolbox\bin>more peazip.bat
@echo off
set t=%~dp0
set adp0=%t::\=:\"%"
call "%~dp0checkupdate.bat"
start /B %adp0%..\apps\peazip-3.6\res\7z\7z.exe %*
=> aliases:
@VonC
VonC / .gitconfig
Last active May 19, 2018 08:51
My global git config
[user]
name = VonC
email = vonc@laposte.net
[core]
; just making sure those eol's stay as they are
autocrlf = false
; see http://stackoverflow.com/a/22208863/6309 (Git/Bash is extremely slow in Windows 7 x64, until fix in msysgit 1.9.4)
fscache = true
[alias]
; from http://www.jukie.net/bart/blog/pimping-out-git-log, with author displayed