start new:
tmux
start new with session name:
tmux new -s myname
| import os, time, sys, fnmatch | |
| path_to_watch = "D:/Projects/consumer-purchase-webapp/WebContent/js" | |
| def findCoffeeFiles(): | |
| matches = [] | |
| for root, dirnames, filenames in os.walk(path_to_watch): | |
| for filename in fnmatch.filter(filenames, '*.coffee'): | |
| matches.append(os.path.join(root, filename)) | |
| return matches |
| package com.sexifit.android; | |
| import java.io.IOException; | |
| import java.io.StringReader; | |
| import java.io.UnsupportedEncodingException; | |
| import java.util.HashMap; | |
| import javax.xml.parsers.DocumentBuilder; | |
| import javax.xml.parsers.DocumentBuilderFactory; | |
| import javax.xml.parsers.ParserConfigurationException; |
| // Simulating infinite-length leading lookbehind in JavaScript. Uses XRegExp. | |
| // Captures within lookbehind are not included in match results. Lazy | |
| // repetition in lookbehind may lead to unexpected results. | |
| (function (XRegExp) { | |
| function prepareLb(lb) { | |
| // Allow mode modifier before lookbehind | |
| var parts = /^((?:\(\?[\w$]+\))?)\(\?<([=!])([\s\S]*)\)$/.exec(lb); | |
| return { |
| import SimpleHTTPServer | |
| class CORSHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): | |
| def send_head(self): | |
| """Common code for GET and HEAD commands. | |
| This sends the response code and MIME headers. | |
| Return value is either a file object (which has to be copied | |
| to the outputfile by the caller unless the command was HEAD, | |
| and must be closed by the caller under all circumstances), or |
| TEMPLATE = lib | |
| QT += declarative | |
| CONFIG += qt plugin | |
| TARGET = $$qtLibraryTarget($$TARGET) | |
| # for qtcreator | |
| uri = com.example.bootstrap | |
| #DESTDIR = $$replace(uri, \\., /) |
ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats
| window.analyzer = { | |
| init: function (object, id) { | |
| this.functions.appendTable(id); | |
| this.functions.setupHeaders(object); | |
| this.functions.addData(object); | |
| this.functions.addCaption("Analysis of the stylesheets"); | |
| }, | |
| data: {}, | |
| helpers: { | |
| wrapper: function (id) { |