Skip to content

Instantly share code, notes, and snippets.

@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 / 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();
});
@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 / 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
@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 / 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 / $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 / 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 / Gruntfile.js
Last active December 31, 2015 22:39
MEAN config
// Generated on 2013-12-20 using generator-angular-fullstack 1.0.1
'use strict';
// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/{,*/}*.js'
// use this if you want to recursively match all subfolders:
// 'test/spec/**/*.js'
module.exports = function (grunt) {
/**
* Airbnb JSHint settings for use with SublimeLinter and Sublime Text 2.
*
* 1. Install SublimeLinter at https://github.com/SublimeLinter/SublimeLinter
* 2. Open user preferences for the SublimeLinter package in Sublime Text 2
* * For Mac OS X go to _Sublime Text 2_ > _Preferences_ > _Package Settings_ > _SublimeLinter_ > _Settings - User_
* 3. Paste the contents of this file into your settings file
* 4. Save the settings file
*
* @version 0.3.0