Skip to content

Instantly share code, notes, and snippets.

@th-lange
th-lange / .gitconfig
Last active Oct 14, 2015 — forked from tacsio/Git Configs
My git config
View .gitconfig
[user]
name = foo
email = foo@bar.de
[push]
default = simple
[core]
editor = /opt/sublime_text/sublime_text %n
[color]
ui = true
[alias]
@th-lange
th-lange / preprocessor_fun.h
Last active Aug 29, 2015 — forked from aras-p/preprocessor_fun.h
Devilish Fun with Code
View preprocessor_fun.h
// 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 Nov 30, 2015 — forked from ksassnowski/.vimrc
VIM .vimrc #VIM
View 1 old.vimrc
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 Aug 29, 2015
Simple jQuery Tab System #JScript
View index.html
<!DOCTYPE html>
<html>
<head>
<title>Tabs</title>
<link rel="stylesheet" href="tabs.css"/>
</head>
<body>
<div class="tabs">
<ul>