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
#!/usr/bin/env python | |
# ct - cURL then (un)tar | |
# for normal use, it replaces | |
# $ curl <tarball url> | tar -z?f - | |
# also has weird zip stuff that acts the same way. | |
# NOW WITH RPM+YUM SUPPORT | |
import posixpath | |
import subprocess |
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
<!doctype html> | |
<script> | |
var get_info = function() { | |
var x = new XMLHttpRequest() | |
x.open("GET", "http://localhost:8080/requests/status.json", true); | |
x.onreadystatechange = function() { | |
if (x.readyState === 4) { | |
var tmp = JSON.parse(x.responseText), | |
L = {} | |
L.title = tmp.information.category.meta.title |
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
player = | |
_: "https://player.me/api" | |
_oauth: | |
clientId: undefined | |
clientSecret: undefined | |
header: undefined | |
__version: "1.0.0" | |
__author: "Katie Skytte <katie@phaser.tv>" |
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
[ 'atm', | |
'binoculars', | |
'breaking_news', | |
'camera_gallery', | |
'cellphone_alert_popup', | |
'cellphone_ifruit', | |
'cellphone_prologue', | |
'countdown', | |
'darts_scoreboard', | |
'digiscanner', |
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 "fmt" | |
import "sync" | |
import "time" | |
func main() { | |
var m sync.WaitGroup | |
fmt.Println("ok it's running boyo") | |
m.Add(1) |