Skip to content

Instantly share code, notes, and snippets.

@dunckr
dunckr / vanilla.xml
Last active January 1, 2016 05:39
ConEmu config
<?xml version="1.0" encoding="utf-8"?>
<key name="Software">
<key name="ConEmu">
<key name=".Vanilla" modified="2014-03-07 16:32:27" build="140304">
<value name="ColorTable00" type="dword" data="00423607"/>
<value name="ColorTable01" type="dword" data="00d28b26"/>
<value name="ColorTable02" type="dword" data="00009985"/>
<value name="ColorTable03" type="dword" data="000089b5"/>
<value name="ColorTable04" type="dword" data="002f32dc"/>
<value name="ColorTable05" type="dword" data="008236d3"/>
@dunckr
dunckr / $profile.ps1
Created January 9, 2014 13:38
Powershell Aliases for Git
# Remove Defaults
rename-item alias:\gc gk -force
rename-item alias:\gcm gkm -force
rename-item alias:\gl gll -force
rename-item alias:\gsn gsnn -force
rename-item alias:\gm gmm -force
# Git
function git-status { git status }
Set-Alias -Name gst -Value git-status
@dunckr
dunckr / backup
Created January 26, 2014 17:41
RubyMotion Offline API Docs
#!/bin/bash
wget --recursive --no-clobber --page-requisites --html-extension --convert-links --restrict-file-names=unix --no-parent www.rubymotion.com/developer-center/api/_index.html
@dunckr
dunckr / .vimrc.local
Last active August 29, 2015 13:57
Win VIM in conjunction with http://vim.spf13.com
" color scheme
syntax enable
"set background=dark
colorscheme solarized
let g:solarized_underline=0
" line numbers
set relativenumber
" search
@dunckr
dunckr / autohotkey.ahk
Created March 11, 2014 17:08
autohotkey
; Variables definition
; -----------------------------------------------------------------------------
EnvGet, userProfile, USERPROFILE
; Launch or toggle program, http://lifehacker.com/5468862/create-a-shortcut-key-for-restoring-a-specific-window
; -----------------------------------------------------------------------------
ToggleWinMinimize(WindowTitle)
{
SetTitleMatchMode,2
DetectHiddenWindows, Off
@richardbranson
@kevingc When you’re not 100% convinced it’s making a positive difference to people’s lives. Get the advice of mentors too #askrichard
@richardbranson
@maxcantoo It’s pretty simple – be passionate about your project and try to make a positive difference in the world #askrichard
@richardbranson
@santiagomanta01 I always find that I’m most productive when I make a series of lists and get in some morning exercise. You? #AskRichard
@richardbranson
@dunckr
dunckr / gulpfile.js
Created July 23, 2014 21:14
Wintersmith integration with Gulp
'use strict';
var gulp = require('gulp'),
wintersmith = require('wintersmith'),
env = wintersmith('./config.json');
gulp.task('build', function() {
return env.build();
});
@dunckr
dunckr / install.sh
Created August 20, 2014 17:23
dokku config
git clone https://github.com/wmluke/dokku-domains-plugin.git /var/lib/dokku/plugins/domains-plugin
git clone https://github.com/jeffutter/dokku-mongodb-plugin.git /var/lib/dokku/plugins/mongodb
dokku plugins-install
@dunckr
dunckr / gruntfile.js
Last active August 29, 2015 14:06
assemble json
module.exports = function(grunt) {
grunt.initConfig({
assemble: {
options: {
flatten: true,
layoutdir: 'templates/layouts',
partials: 'templates/partials/*.hbs',
helpers: 'templates/helpers/*.js',
},
@dunckr
dunckr / gist:564cfcbfbe02c3cd941d
Created October 10, 2014 17:36
sketch class dump
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#pragma mark Function Pointers and Blocks
typedef void (*CDUnknownFunctionPointerType)(void); // return type and parameters are unknown