Skip to content

Instantly share code, notes, and snippets.

@devemouse
devemouse / NERD_tree.vim
Created March 16, 2011 12:30
Enable-disable NERD tre
" ============================================================================
" File: NERD_tree.vim
" Description: vim global plugin that provides a nice tree explorer
" Maintainer: Martin Grenfell <martin.grenfell at gmail dot com>
" Last Change: 1 December, 2009
" License: This program is free software. It comes without any warranty,
" to the extent permitted by applicable law. You can redistribute
" it and/or modify it under the terms of the Do What The Fuck You
" Want To Public License, Version 2, as published by Sam Hocevar.
" See http://sam.zoy.org/wtfpl/COPYING for more details.
@devemouse
devemouse / exaid.rb
Created January 4, 2011 14:15
simple script for aiding with exercises
#!/usr/bin/env ruby
require 'yaml'
RED = "1;31"
GREEN = "1;32"
YELLOW = "1;33"
unless RUBY_PLATFORM.include?('linux')
begin
require 'Win32/Console/ANSI' #if RUBY_PLATFORM =~ /win32/
@devemouse
devemouse / after_start.rb
Created December 15, 2010 08:58
Script for scheduling actions after windows startup.
require 'highline/import'
require 'ezcrypto'
p "After Start"
tasks = [
{
:name => 'kill_dropbox',
:command => "taskkill /f /im Dropbox.exe",
@devemouse
devemouse / title
Created November 22, 2010 07:52
make cursorline to be underlined in gvim:
"make cursorline to be underlined in gvim:
hi CursorLine gui=underline