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
// CratejoyIsHiring.js | |
define(['backbone', 'underscore'], function(Backbone, _) { | |
var CratejoyJavascriptJob = { | |
needs: { | |
'Rebuild our website builder': { | |
description: 'Website builder is on v3, you\'ll build v4', | |
requirements: [ | |
'Easy to use for non-technical people', | |
'Powerful enough for design agencies', |
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
"""Display Theano functions in the IPython notebook with pydotprint.""" | |
__author__ = "David Warde-Farley" | |
__copyright__ = "Copyright 2012, Universite de Montreal" | |
__credits__ = ["David Warde-Farley"] | |
__license__ = "3-clause BSD" | |
__email__ = "wardefar@iro" | |
__maintainer__ = "David Warde-Farley" |
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
#See: http://daringfireball.net/2010/07/improved_regex_for_matching_urls | |
import re, urllib | |
GRUBER_URLINTEXT_PAT = re.compile(ur'(?i)\b((?:https?://|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:\'".,<>?\xab\xbb\u201c\u201d\u2018\u2019]))') | |
for line in urllib.urlopen("http://daringfireball.net/misc/2010/07/url-matching-regex-test-data.text"): | |
print [ mgroups[0] for mgroups in GRUBER_URLINTEXT_PAT.findall(line) ] | |