Skip to content

Instantly share code, notes, and snippets.

@th-lange
th-lange / .gitconfig
Last active October 14, 2015 10:27 — forked from tacsio/Git Configs
My git config
[user]
name = foo
email = [email protected]
[push]
default = simple
[core]
editor = /opt/sublime_text/sublime_text %n
[color]
ui = true
[alias]
@th-lange
th-lange / preprocessor_fun.h
Last active August 29, 2015 14:19 — forked from aras-p/preprocessor_fun.h
Devilish Fun with Code
// Just before switching jobs:
// Add one of these.
// Preferably into the same commit where you do a large merge.
//
// This started as a tweet with a joke of "C++ pro-tip: #define private public",
// and then it quickly escalated into more and more evil suggestions.
// I've tried to capture interesting suggestions here.
//
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_,
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant,
@th-lange
th-lange / 1 old.vimrc
Last active November 30, 2015 18:16 — forked from ksassnowski/.vimrc
VIM .vimrc #VIM
set nocompatible
filetype off
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" Plugins
" ------------------------------
Plugin 'gmarik/Vundle.vim'
@th-lange
th-lange / index.html
Last active August 29, 2015 14:05
Simple jQuery Tab System #JScript
<!DOCTYPE html>
<html>
<head>
<title>Tabs</title>
<link rel="stylesheet" href="tabs.css"/>
</head>
<body>
<div class="tabs">
<ul>