This gist's comment stream is a collection of webdev apps for OS X. Feel free to add links to apps you like, just make sure you add some context to what it does — either from the creator's website or your own thoughts.
— Erik
TEMPLATE = lib | |
QT += declarative | |
CONFIG += qt plugin | |
TARGET = $$qtLibraryTarget($$TARGET) | |
# for qtcreator | |
uri = com.example.bootstrap | |
#DESTDIR = $$replace(uri, \\., /) |
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 |
// 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 { |
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; |
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 |