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
#! /bin/sh | |
if test "$2" = ""; then | |
echo "usage: $0 basedir depth" | |
exit 1 | |
fi | |
if test "$2" = "0"; then | |
exit 0 | |
fi |
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 obtainXmlHttp() | |
{ | |
var xmlhttp = false; | |
/*@cc_on @*/ | |
/*@if (@_jscript_version >= 5) | |
// JScript gives us Conditional compilation, we can cope with old IE versions. | |
// and security blocked creation of the objects. | |
try { | |
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); | |
} catch (e) { |
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 fs = require('fs'); | |
/** | |
* Offers functionality similar to mkdir -p | |
* | |
* Asynchronous operation. No arguments other than a possible exception | |
* are given to the completion callback. | |
*/ | |
function mkdir_p(path, mode, callback, position) { | |
mode = mode || 0777; |
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
#!/bin/sh | |
if [ "$#" -eq 0 ]; then | |
echo "" | |
echo "Find today's SVN entries from <username>" | |
echo "" | |
echo "Usage:" | |
echo "svn_log_user.sh <username>" | |
echo "" | |
else |
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
#!/bin/sh | |
if [ "$#" -eq 0 ]; then | |
echo "" | |
echo "Find yesterday's git entries from <username>" | |
echo "" | |
echo "Usage:" | |
echo "git_log_user.sh <username>" | |
echo "" | |
else |
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 importio = require('import-io').client, | |
fs = require('fs'), | |
sha1 = require('sha1'), | |
http = require('http-get'); | |
// importio configuration | |
var userGuid = 'YOUR_USER_GUID'; | |
var apiKey = 'YOUR_API_KEY'; | |
var io = new importio(userGuid, | |
apiKey, |
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 | |
var fs = require('fs') | |
, url = require('url'); | |
if (process.argv.length < 3) { | |
console.log('Usage:\n', process.argv[1] + ' <postman collection JSON file>\n\n'); | |
process.exit(); | |
} |