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
module.exports = function (a, b) { | |
return a + b | |
} |
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
<?php | |
require_once("Net/SSH2.php"); | |
$passwd='sup3rs3cr3t'; | |
$user='username'; | |
$server='remoteserver.com'; | |
$ssh = new Net_SSH2($server); | |
if (!$ssh->login($user, $passwd)) { | |
exit('Login Failed'); | |
} | |
$who = $ssh->exec('whoami'); |
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/bash | |
# nodejs - Startup script for node.js server | |
# chkconfig: 35 85 15 | |
# description: node is an event-based web server. | |
# processname: node | |
# server: /path/to/your/node/file.js | |
# pidfile: /var/run/nodejs.pid | |
# |
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
require 'yaml' | |
require 'rest_client' | |
require 'json' | |
class Cloudvox | |
def initialize | |
@cv_config = YAML.load_file 'cloudvox_account.yml' | |
#cloudvox_account.yml format | |
# |
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
[ | |
{"name":"Dial","destination":"1","url":"http://llama.fm","timeout":"20"} | |
] |
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
[ | |
{"name":"playback","filename":"vm-theperson"} | |
,{"name":"playback","filename":"vm-isunavail"} | |
,{"name":"playback","filename":"vm-leavemsg"} | |
,{"name":"playback","filename":"beep"} | |
,{"name":"Record","filename":"sounds/voicemail_test.wav","maxduration":"300"} | |
] |
NewerOlder