Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
Chop, chop, Dad! Let's get a move on! The last time I was late for the farmer's market, I got the worst of the squash blossoms.
What?!
Oh, dear lord, give it here.
Two bags of chips, three puddin' cups, and a root beer.
A, this is not a lunch, and B, I fail to see how it took you so long since you did not make anything but simply transferred smaller containers into a larger one. Let's go!
Hi.
Oh...
What's going on?
Well, thank goodness.
Why?! If we had missed your wedding, well it would have just killed me.

Keybase proof

I hereby claim:

  • I am neckro on github.
  • I am neckro (https://keybase.io/neckro) on keybase.
  • I have a public key whose fingerprint is C085 DF2B 8626 AB22 1BE5 9B68 2770 F2A3 7EF1 9C55

To claim this, I am signing this object:

@neckro
neckro / pl.php
Created September 2, 2014 20:03
MP3 playlist generator
<?php
class Config {
public static $MusicFolder = "music";
public static $MusicTypes = array("mp3", "mpeg3", "flac", "m4a", "aiff");
public static $FolderImage = array("folder.jpg", "folder.png", "folder.gif");
public static $AllowSymlinks = false;
}
$baseurl = explode("?", "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
@neckro
neckro / jenkins.js
Created July 9, 2015 19:55
Jenkins builder thing
var request = require('https').request;
var querystring = require('querystring');
// logging
var format = require('util').format;
var log = require('util').log;
var _ = require('lodash');
var Promise = require('bluebird');
#!/usr/bin/env python
import serial # pyserial
import fileinput
serial_opts = {
# built-in serial port is "COM1"
# USB serial port is "COM4"
"port": "COM1",
"baudrate": 9600,
"parity": serial.PARITY_EVEN,
/* Runs Conway's Life cellular automata simulation on an 8x8 LED matrix.
6 January 2012 - neckro@gmail.com - No license. Do what thou wilt.
Requires a Maxim MAX7221 or MAX7219 LED controller IC.
Also requires LedControl library: http://www.arduino.cc/playground/Main/LedControl
*/
#include <LedControl.h>
// Number of ms to wait between frames
#define DELAY 45
@neckro
neckro / 0_reuse_code.js
Created August 9, 2016 21:58
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@neckro
neckro / reclaimWindows10.ps1
Last active November 7, 2016 22:00 — forked from alirobe/reclaimWindows10.ps1
"Reclaim Windows 10" turns off a bunch of unnecessary Windows 10 telemetery, removes bloatware, and privacy invasions. Review and tweak before running. Scripts for reversing are included and commented. Forked from http://pastebin.com/gQxCUkLP
##########
# Tweaked Win10 Initial Setup Script
# Primary Author: Disassembler <disassembler@dasm.cz>
# Original Version: 1.4, 2016-01-16
# Tweaked based on personal preferences for @alirobe 2016-03-23 - v1.4.1
# NOTE: MAKE SURE YOU READ THIS SCRIPT CAREFULLY BEFORE RUNNING IT + ADJUST COMMENTING AS APPROPRIATE
# This script will reboot your machine when completed.
##########
# Ask for elevated permissions if required
#!/usr/bin/env node
'use strict'
const path = require('path')
const replace = require('replace')
const semver = require('semver')
const Git = require('nodegit')
const buildCompiler = require('./build-prod.js')
const buildConfig = require('./build-config')

Keybase proof

I hereby claim:

  • I am neckro on github.
  • I am neckro (https://keybase.io/neckro) on keybase.
  • I have a public key ASCWRmKZ-yO7R0Fc1BYzhzLnjxg_bVAmcaO57C4KLBJ4FQo

To claim this, I am signing this object: