Full-page background made with JavaScript and Canvas: the animation follows movement on non-touch devices
Forked from Marco Guglielmelli's Pen Animated Background.
javascript: (function(){var d=document,e=d.getElementById('witc_142').setAttribute("style","height:1500px");})(); |
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; |
/* | |
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. |
Full-page background made with JavaScript and Canvas: the animation follows movement on non-touch devices
Forked from Marco Guglielmelli's Pen Animated Background.
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.
# 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 |
-- 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 |
#!/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 |
Let's have some command-line fun with curl, [jq][1], and the [new GitHub Search API][2].
Today we're looking for: