Skip to content

Instantly share code, notes, and snippets.

View denolfe's full-sized avatar

Elliot DeNolf denolfe

View GitHub Profile
@denolfe
denolfe / ExpandTFS.js
Created November 26, 2014 21:39
Expand TFS Editing Area - Create as chrome bookmark
javascript: (function(){var d=document,e=d.getElementById('witc_142').setAttribute("style","height:1500px");})();
@denolfe
denolfe / trello-improved-styling.css
Created July 14, 2015 18:31
Better Trello Styling
html, body, input, select, textarea, button {
font-family: open sans, calibri, lucida sans console;
}
#header {
background: #676767;
}
.board-canvas {
background: #3f3f3f url(http://www.twitch.tv/images/xarth/bg_noise.png) top center;
@denolfe
denolfe / AutoFormat.ahk
Last active December 17, 2015 09:59
Reformats AHK code
/*
Original Author: nebbish
Thread: http://www.autohotkey.com/board/topic/55766-script-auto-formatter-very-basic-beginner-script/
TODO:
- support single line indent after else statement
- support comments on lines with "{"
Copy a piece of code to the Clipboard. The hotkey will reformat the code and paste it into any editor you have selected (sends Ctrl-v to the editor).
This script basically just determines proper line indentation by counting the number of open and closed braces encountered ("{"). However, it does a few other things, such as properly ignoring comments; there's also a little support for one-line indentation for if and loop statements, without the braces.
@denolfe
denolfe / README.md
Created January 11, 2016 22:34 — forked from ngryman/README.md
intellij javascript live templates

intellij javascript live templates

Just a dump of handy live templates I use with IntelliJ. They should also work with WebStorm.

How to

  • Go to settings.
  • Search for live templates.
  • Under the javascript section you should be able to manage your templates.
@denolfe
denolfe / RickshawGraph.md
Last active February 16, 2016 23:05 — forked from jwalton/RickshawGraph.md
Rickshaw Graph is a drop in replacement for Dashing's graph

Graphing Widget

The graphing widget shows graphs using the Rickshaw graphing library. The names of data fields should be (vaguely) familiar if you've used Rickshaw before.

It's recommended that you replace the /assets/javascripts/rickshaw.min.js from your dashboard with the latest from here.

Supported HTML data fields

# RUN EACH LINE INDEPENDENTLY. THIS IS NOT AN AUTOMATIC BASH SCRIPT.
# Install dependencies
apt-get install -y git-core gcc make autoconf yodl libncursesw5-dev texinfo checkinstall
# Clone zsh repo and change to it
git clone https://github.com/zsh-users/zsh.git zsh; cd zsh
# BashOnUbuntuOnWindows installs zsh 5.0.2
# You can use another version as well
@denolfe
denolfe / init.lua
Created December 4, 2016 20:31 — forked from prenagha/init.lua
Hammerspoon Config File, Hyper Key, Karabiner-Elements
-- hattip https://github.com/lodestone/hyper-hacks
-- hattip https://gist.github.com/ttscoff/cce98a711b5476166792d5e6f1ac5907
-- A global variable for the sub-key Hyper Mode
k = hs.hotkey.modal.new({}, 'F18')
-- Hyper+key for all the below are setup somewhere
-- The handler already exists, usually in Keyboard Maestro
-- we just have to get the right keystroke sent
@denolfe
denolfe / osx-setup.sh
Created December 17, 2016 21:09 — forked from somebox/osx-setup.sh
Set up an OSX machine from zero to awesome. Uses Homebrew (and cask, fonts, etc). Focused on Ruby/Rails development, includes rvm, xquartz, editor fonts, sublime text, and many tools.
#!/bin/bash
# A script to set up a new mac. Uses bash, homebrew, etc.
# Focused for ruby/rails development. Includes many utilities and apps:
# - homebrew, rvm, node
# - quicklook plugins, terminal fonts
# - browsers: chrome, firefox
# - dev: iterm2, sublime text, postgres, chrome devtools, etc.
# - team: slack, dropbox, google drive, skype, etc
@denolfe
denolfe / 00-about-search-api-examples.md
Created February 6, 2017 03:31 — forked from jasonrudolph/00-about-search-api-examples.md
5 entertaining things you can find with the GitHub Search API