This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
var path = require("path"); | |
var fs = require("fs"); | |
var Twit = require('twit'); | |
var rateLimiter = {}; | |
var luckyNumber = Math.round(Math.random()*60); | |
var re = /\d+/; | |
var oauth = JSON.parse(fs.readFileSync("./config/twitter_credentials.js", "UTF8")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//----------------------------------------------------------------------------- | |
// C# .NET 4.5 Console Wrapper | |
// | |
// Marc King < [email protected] > | |
// v1.0 2015-04-26 | |
//----------------------------------------------------------------------------- | |
using SysConsole = System.Console; | |
using System; | |
using System.IO; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Suppose you want to do blind reviewing of code (eg for job interview | |
# purposes). Unfortunately, the candidates' names and email addresses are | |
# stored on every commit! You probably want to assess each candidate's version | |
# control practices, so just `rm -rf .git` throws away too much information. | |
# Here's what you can do instead. | |
# Rewrite all commits to hide the author's name and email | |
for branch in `ls .git/refs/heads`; do |