#Moncmd
moncmd is a wrapper for mon
##Usage
moncmd start
moncmd status
moncmd restart
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" |
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") |
wget https://gist.github.com/raw/1552359/82565cd875067cc6ac4250daaeeb151d41f8b9a7/setup.sh && chmod +x setup.sh | |
sudo ./setup.sh |
server.pid |
#Moncmd
moncmd is a wrapper for mon
##Usage
moncmd start
moncmd status
moncmd restart
gi() { | |
if [ $# -eq 1 ]; then | |
npm i -D grunt-$* | |
else | |
local IFS=,; | |
eval npm i -D grunt-{"$*"}; | |
fi | |
} |
module.exports = function(grunt) { | |
grunt.initConfig({ | |
connect: { | |
server: { | |
options: { | |
livereload: true, | |
keepalive: true |
MONGO=mongohost node index.js
// prefs.js Template | |
// Petr Hosek(http://petrhosek.name) | |
/* | |
color00="fd/f6/e3" # Base 00 - Black | |
color01="dc/32/2f" # Base 08 - Red | |
color02="85/99/00" # Base 0B - Green | |
color03="b5/89/00" # Base 0A - Yellow | |
color04="26/8b/d2" # Base 0D - Blue | |
color05="6c/71/c4" # Base 0E - Magenta |
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 |