This file contains hidden or 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
"addon x" might slow firefox bar: | |
increase the value of browser.addon-watch.percentage-limit or browser.addon-watch.interval |
This file contains hidden or 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
https://code.google.com/p/android/issues/detail?id=32696#c5 | |
If you have a certificate that is not | |
trusted by Android, when you add it, it goes in the personal cert store. | |
When you add a cert in this personal cert store, the system requires a | |
higher security level to unlock the device. But if you manage to add your | |
cert to the system store then you don't have this requirement. Obviously, | |
root is required to add a certificate to the system store, but it is quiet | |
easy. |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |