Skip to content

Instantly share code, notes, and snippets.

View CONWAYS FASTLED
#include "FastLED.h"
// Matrix size
#define NUM_ROWS 16
#define NUM_COLS 16
// LEDs pin
#define DATA_PIN 3
View Drive-by spammer 25 Dec 2016
[18:03:20] --> SUPERNETS (~mgtkl@ec2-54-191-195-103.us-west-2.compute.amazonaws.com) has joined #FTB
[18:03:20] <SUPERNETS> THIS NETWORK IS BLOWJOBS! GET ON SUPERNETS FOR COLD HARD CHATS NOW
[18:03:20] <SUPERNETS> ITS DECEMBER 25th! MERRY FLOODMAS FROM SUPERNETS! SEE YA NEXT YEAR
[18:03:21] <SUPERNETS> IRC.SUPERNETS.ORG | PORT 6667/6697 (SSL) | #SUPERBOWL | IPV6 READY
[18:03:21] <-- SUPERNETS (~mgtkl@ec2-54-191-195-103.us-west-2.compute.amazonaws.com) has left #FTB
View click-the-thingy.ahk
#space:: ;win+space to start
loop ;infinite loop
{
click
sleep 20 ;wait 10 milliseconds
}
#p::Pause ;press win+p to pause and unpause
View gist:9ab334889d74bf7d173ab1a9c5e21515
<JimStarluck> So, I just had an epiphany about the way Trump is operating
<JimStarluck> He is, essentially, using a political Orion drive.
<JimStarluck> He says something outrageous and/or offensive, rides the wave of outrage from it, and then before he can slow down he does it again
<JimStarluck> Surfing upon a continuous blast wave of media coverage
View gist:2442615f3243f318119cbd04c115936e
<IneffableEntity> We've just been throwing paper airplanes at our targets. They have firecrackers attached to them.
<IneffableEntity> Might explain why we're losing this war.
<Ogredude> probably so, IneffableEntity... We've been lighting the firecrackers and throwing them back.
<IneffableEntity> We weren't even lighting them?! I need new generals.
View gist:6532387
/**
* Fills in form field with specified id|name|label|value.
*
* @When /^(?:|I )fill in "(?P<field>(?:[^"]|\\")*)" with "(?P<value>(?:[^"]|\\")*)"$/
* @When /^(?:|I )fill in "(?P<field>(?:[^"]|\\")*)" with:$/
* @When /^(?:|I )fill in "(?P<value>(?:[^"]|\\")*)" for "(?P<field>(?:[^"]|\\")*)"$/
*/
public function fillField($field, $value)
{
$field = $this->fixStepArgument($field);
View gist:6286025
core = 7.x
api = 2
NOTE: Remove this line and insert your feature branch name before attempting to build.
includes[build-myproject] = "build-myproject.make"
projects[myproject][download][url] = "file:///var/aegir/shared_platforms/myproject"
projects[myproject][download][branch] = your-feature-branch-name
View gist:6215738
[aegir-up] The guest additions on this VM do not match the installed version of
VirtualBox! In most cases this is fine, but in rare cases it can
cause things such as shared folders to not work properly. If you see
shared folder errors, please update the guest additions within the
virtual machine and reload your VM.
Guest Additions Version: 4.1.8
VirtualBox Version: 4.2
View custom_glue.module
<?php
/**
* @file custom_glue.module
* TODO: Enter file description here.
*/
function custom_glue_preprocess_html(&$variables) {
$glue = drupal_get_path('module', 'custom_glue') . '/custom_glue.css';
$options = array(
'group' => CSS_THEME + 1,
View gist:5239949
[ruby-]1.9.3-p125
[ruby-]1.9.3-p194
[ruby-]1.9.3-p286
[ruby-]1.9.3-p327
[ruby-]1.9.3-p362
[ruby-]1.9.3-p374
[ruby-]1.9.3-p385
[ruby-]1.9.3-[p392]
[ruby-]1.9.3-head