Skip to content

Instantly share code, notes, and snippets.

View Phineas's full-sized avatar
:octocat:
breaking bgp configs

Phineas

:octocat:
breaking bgp configs
View GitHub Profile
{
"transactions":[
{
"type":"to",
"to":"126857098716905473",
"amount":20
},
{
"type":"to",
"to":"176034265698533378",
var spawn = require('child_process').spawn;
var xml2js = require('xml2js');
/**
* Returns all the system processes
* @param callback {function(err, list)} Called with the list of all processes.
* @remarks Runs only on Windows (uses WMI)
*/
module.exports = function (callback) {
if (!callback) callback = function (err, list) { };
UCj_Y-xJ2DRDGP4ilfzplCOQ,UCCvVpbYRgYjMN7mG7qQN0Pg,UCa10nxShhzNrCE1o2ZOPztg,UCS34YVeqtFViWRB3jc3o2FQ,UC8QfB1wbfrNwNFHQxfyNJsw,UCM9KEEuzacwVlkt9JfJad7g,UCRrCiR_F-olJgMClfsl7YAg&key=AIzaSyDj2umNqDMIMgb81wEp8K5qtruxmYow3Gw
Eiffel 65 - Blue (any remix)
Aero Chord - Surface
@Phineas
Phineas / r4o-imgur.js
Last active January 24, 2017 23:34
Bot command someone on DiscordAPI's guild asked for
const request = require('request'),
bot = require("discord.js");
const baseUrl = 'https://api.imgur.com/3/',
clientID = '';
bot.on("message", msg => {
if(msg.content.startsWith("!img")) {
tagToSeatch = msg.content.split("")[1];
randImg(tagToSearch, function(res) {
@Phineas
Phineas / twitter_user.rb
Created January 16, 2017 21:28
My Smashing Widgets
require 'twitter'
#### Get your twitter keys & secrets:
#### https://dev.twitter.com/docs/auth/tokens-devtwittercom
twitter = Twitter::REST::Client.new do |config|
config.consumer_key = 'YOUR_CONSUMER_KEY'
config.consumer_secret = 'YOUR_CONSUMER_SECRET'
config.oauth_token = 'YOUR_OAUTH_TOKEN'
config.oauth_token_secret = 'YOUR_OAUTH_SECRET'
end

Keybase proof

I hereby claim:

  • I am phineas on github.
  • I am phineas (https://keybase.io/phineas) on keybase.
  • I have a public key whose fingerprint is 359B 13C9 2B2B BB98 14FC 8889 1B35 5238 082D BDA6

To claim this, I am signing this object:

@Phineas
Phineas / djoplist.txt
Last active September 13, 2015 17:00
Hivecraft PlugDJ OP List
AJR - I'm Ready
Alan Walker - Fade
We are Young (any remix)
Mako - Beam
It's Muffin Time
Nightcore - Demons
Ty Dolla $ign - Or Nah ft. The Weeknd, Wiz Khalifa & DJ Mustard