#Moncmd
moncmd is a wrapper for mon
##Usage
moncmd start
moncmd status
moncmd restart
tell application "System Events" | |
set frontApp to name of first application process whose frontmost is true | |
if frontApp is "Google Chrome" then | |
tell application "iTerm" | |
activate | |
end tell | |
else | |
tell application "Google Chrome" | |
activate | |
end tell |
#Moncmd
moncmd is a wrapper for mon
##Usage
moncmd start
moncmd status
moncmd restart
server.pid |
wget https://gist.github.com/raw/1552359/82565cd875067cc6ac4250daaeeb151d41f8b9a7/setup.sh && chmod +x setup.sh | |
sudo ./setup.sh |
javascript:var addTask=function(a,b,c,d,e){window.location="thehitlist:///"+c+"/tasks?method=POST&title="+encodeURIComponent(a)+"&url="+encodeURIComponent(b)+"&startDate="+d+"&priority="+e};addTask(document.title,window.location,"inbox","t") |
express = require "express" | |
app = express.createServer() | |
app.configure () -> | |
app.use express.methodOverride() | |
app.use express.bodyParser() | |
app.use app.router | |
app.set "views", "#{ __dirname }/templates" | |
app.set "view engine", "ejs" | |
app.register ".html", require "ejs" |
console.log = function() { document.write([].splice.call(arguments,0).join(' ')+"<br/>"); }; |
var startWeinre = function() { | |
var setServer = localStorage['weinre'] || ""; | |
var server = prompt("Weinre Server:", setServer); | |
if (!server) | |
return; | |
localStorage['weinre'] = server; | |
var script=document.createElement('script'); | |
script.src = "http://" + server + "/target/target-script.js"; | |
document.getElementsByTagName("head")[0].appendChild(script); | |
} |
<theme> | |
<!-- Window Style --> | |
<color id="foreground" red="0.59" green="0.80" blue="0.99" alpha="1.0" /> | |
<color id="background" red=".1" green=".1" blue=".1" alpha=".95" /> | |
<window foregroundColorID="foreground" backgroundColorID="background" shouldUseHUDScrollers="yes" /> | |
<!-- Text View Style --> | |
<color id="tag" red=".48" green=".48" blue=".48" alpha="1.0" /> | |
<color id="handle" extendsColorID="foreground" /> | |
<color id="insertionPoint" red=".4" green=".4" blue=".4" alpha="1.0" /> |