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 node | |
// Put this file in the hooks/after_compile folder and give it execution rights | |
var fs = require('fs'); | |
var rootdir = process.argv[2]; | |
if(rootdir) { | |
var platforms = (process.env.CORDOVA_PLATFORMS ? process.env.CORDOVA_PLATFORMS.split(',') : []); | |
for(var x = 0; x < platforms.length; x++) { | |
try { | |
var platform = platforms[x].trim().toLowerCase(); |
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/python | |
import socket | |
import fcntl | |
import struct | |
import httplib | |
import json | |
import sys | |
from base64 import b64encode | |
from urllib import urlencode |
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 | |
import sys | |
import time | |
import telnetlib | |
if len(sys.argv) < 3: | |
print "Usage : "+__file__+" <host> <port> <client to kill>" | |
exit() | |
host = sys.argv[1] |
NewerOlder