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
package com.example.helloworld; | |
import android.os.Bundle; | |
import org.apache.cordova.*; | |
public class HelloActivity extends CordovaActivity | |
{ | |
@Override | |
public void onCreate(Bundle savedInstanceState) | |
{ |
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
<? | |
/** | |
* twitterfeed.php | |
* | |
* A single file script which serves an authenticated personal Twitter timeline as an Atom feed. | |
* | |
* To use: | |
* 1) Go to https://dev.twitter.com/apps and create a new App | |
* 2) Use the Authentication button to create the tokens/secrets needed | |
* 3) Copy the results into the appropriate spots below |
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
/** | |
* Copyright (c) 2014-2015, Facebook, Inc. | |
* All rights reserved. | |
* | |
* This source code is licensed under the BSD-style license found in | |
* https://github.com/facebook/flux/blob/master/LICENSE. An additional grant | |
* of patent rights can be found in the PATENTS file in the same directory. | |
* | |
*/ |
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
var https = require('https'); | |
var http = require('http'); | |
var url = require('url'); | |
var feedUrl = 'http://www.techmeme.com/feed.xml'; | |
main(); | |
function main(){ |
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
http://action.io | |
http://add.io | |
http://adstage.io | |
http://airbrake.io | |
http://animation.io | |
http://ansr.io | |
http://apc.io | |
http://apiary.io | |
http://apis.io | |
http://appetite.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
# works on my machine... OS X 10.8.2, Python v2.7.3 | |
import sys | |
import subprocess | |
wordlist = 'words.txt' | |
if len(sys.argv) > 1: | |
wordlist = sys.argv[1] |
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
# works on my machine... OS X 10.8.2, Python v2.7.3 | |
# use the wordlist here: https://gist.github.com/russellbeattie/4982393#file-words-txt | |
import sys | |
import subprocess | |
import re | |
import urllib2 | |
wordlist = 'words.txt' |
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
function colorOutput(text, color){ | |
color = color.toLowerCase(); | |
var colors = { | |
'black':'0;30', | |
'dgray':'1;30', | |
'lgray':'0;37', | |
'blue':'0;34', | |
'lblue':'1;34', |
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
package main | |
import ( | |
_ "github.com/bmizerany/pq" | |
"database/sql" | |
"net/http" | |
"log" | |
"net" | |
"time" | |
"strconv" |
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
var utils = require('../utils.js'), | |
pg = require('pg').native, | |
http = require('http'), | |
httpreq = require('./httpreq.js'), | |
async = require('async'), | |
events = require('events'), | |
lodash = require('lodash'); | |
var app = new events.EventEmitter(); |
OlderNewer