Dashing widget to display location based photos from Instagram.
##Dependencies
instagram - Official Ruby Gem
Add the following to your Dashing Gemfile:
var request = require('request'); | |
var fs = require('fs'); | |
var gm = require('gm'); | |
gm(request('http://image.blingee.com/images18/content/output/000/000/000/6d0/652887372_1455186.gif'), 'brabra.png') | |
.resize(240, 240) | |
.write('doodle2.png', function (err) { | |
if (!err) console.log('done'); | |
console.log(err); |
########## | |
### Moved to https://github.com/shesek/callable-klass | |
########## | |
"use strict" | |
# without strict mode, `this` defaults to window, so `(this?obj)` | |
# would always return window. | |
callable = (ctor) -> |
<ezstream> | |
<url>http://127.0.0.1:8042/test</url> | |
<sourcepassword>test</sourcepassword> | |
<sourceuser>test</sourceuser> | |
<format>MP3</format> | |
<filename>b.mp3</filename> | |
<stream_once>0</stream_once> | |
<svrinfoname>test</svrinfoname> | |
<svrinfourl>test</svrinfourl> | |
<svrinfogenre>test</svrinfogenre> |
Perform DNS Lookup:
https://github.com/phallstrom/AlfredDig
WordPress Function Reference:
http://www.alfredforum.com/topic/2153-search-the-wordpress-function-reference/
Send URL:
import networkx as nx | |
import pprint | |
from operator import itemgetter | |
G = nx.read_graphml('metro.graphml') | |
print "graph has %d nodes with %d edges"\ | |
% (nx.number_of_nodes(G), nx.number_of_edges(G)) |
### General List of Reserved Words | |
### Stuart P. Bentley <stuart@testtrack4.com>, June 4, 2013 | |
## This is a general list of words you may want to consider reserving, | |
## in a system where users can pick any name, in a context where the | |
## system may use names as well. One prominent example of a system | |
## where this is the case would be a site that serves pages for users, | |
## at their username, from the site root, like | |
## http://twitter.com/stuartpb . In this system, you would want to | |
## reserve some routes for pages that would commonly be expected to |
ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats
##Description Simple Dashing widget (and associated job) to display current github status.
##Dependencies httparty
Add it to dashing's gemfile:
gem 'httparty'
var auth = { | |
user: "USERNAME", | |
pass: "PASSWORD" | |
}; | |
function ParallelRunner (list, func, runners) { | |
function createSlots(runners) { | |
var slots = []; | |
for (var i = 0; i < runners; i++) { | |
slots.push( objReturner() ); |