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
{ | |
"apps" : [{ | |
"name" : "worker-app", | |
"script" : "worker.js", | |
"args" : ["--toto=heya coco", "-d", "1"], | |
"watch" : true, | |
"node_args" : "--harmony", | |
"merge_logs" : true, | |
"cwd" : "/this/is/a/path/to/start/script", | |
"env": { |
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
set WshShell = WScript.CreateObject("WScript.Shell") | |
sub shell(cmd) | |
dim objShell | |
Set objShell = WScript.CreateObject( "WScript.Shell" ) | |
objShell.Run(cmd) | |
Set objShell = Nothing | |
end sub | |
shell """C:\Program Files\Internet Explorer\iexplore.exe"" https://accounts.google.com/ServiceLogin?service=mail&passive=true&continue=https://mail.google.com/mail/h/html" |
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
@ECHO OFF | |
:: add service | |
"%~dp0erts-5.10.3\erlsrv.exe" add "CouchDB" -workdir "%~dp0bin" -onfail restart_always -args "-sasl errlog_type error -s couch +A 4 +W w" -comment "CouchDB Windows Service Instance" | |
:: remove service | |
"%~dp0erts-5.10.3\erlsrv.exe" remove "CouchDB" | |
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
wget https://freevps.us/downloads/bench.sh -O – -o /dev/null | bash |
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
# -*- shell-script -*- | |
# | |
# Ferm example script | |
# | |
# Firewall configuration for a web server. | |
table filter { | |
chain INPUT { | |
policy DROP; |
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
gconftool-2 -t string -s /desktop/gnome/url-handlers/foo/command 'foo "%s"' | |
gconftool-2 -s /desktop/gnome/url-handlers/foo/needs_terminal false -t bool | |
gconftool-2 -s /desktop/gnome/url-handlers/foo/enabled true -t bool |
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
process.on('uncaughtException', function(err) { | |
console.log('Uncaught node.js Error: ', err); | |
}); |
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
bcdboot c:\windows /s c: | |
================ | |
timeout 5 | |
default 0 | |
title Windows 7 | |
rootnoverify (hd0,1) | |
chainloader +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
mount - /opt/mnt/dir1 -t cifs -o UNC=//192.168.1.2/dir1,username=usert1,password=pass1 |
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
window.onerror = function(message, url, lineNumber) { | |
console.log("Error: "+message+" in "+url+" at line "+lineNumber); | |
} |