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
Build CSS of project CSS with configuration Release | |
PhaseScriptExecution "Run Script" build/CSS.build/Release/CSS.build/Script-3AA91CF412C8FE8000132A25.sh | |
cd /Users/Swizec/Documents/opensauce/kod/deps/libcss/cocoa-framework | |
setenv ACTION build | |
setenv ALTERNATE_GROUP Swizec | |
setenv ALTERNATE_MODE u+w,go-w,a+rX | |
setenv ALTERNATE_OWNER Swizec | |
setenv ALWAYS_SEARCH_USER_PATHS NO |
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
my test: | |
'new track event': function (done) { | |
dispatcher.on('track new', function (url) { | |
// this fails with a mismatch | |
assert.equal(url, 'http://jc.is/lXFpfE'); | |
done(); | |
}); | |
counter.track(3, 'http://jc.is/lXFpfE', function () { |
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
(function ($) { | |
$.waypoints.settings.scrollThrottle = 30; | |
try { | |
mpmetrics = new MixpanelLib("<api_key>"); | |
} catch(err) { | |
var null_fn = function () {}; | |
mpmetrics = { | |
track: null_fn, | |
track_funnel: null_fn, |
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
var _ = require('underscore'), states = {}; | |
var tm = function(S, step, end){ | |
if (_.keys(s).indexOf(end)>=0) return true; | |
var _step = {}; | |
for(var k in step){ | |
var i = step[k][0], | |
tape = step[k][1], |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
body { | |
min-height: 100%; | |
} | |
#main { | |
display: box; |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
#body { | |
min-height: 100%; | |
background: beige; | |
width: 100%; | |
} | |
#main { |
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
AttributeError at /admin/ | |
'Settings' object has no attribute 'DATABASE_ENGINE' | |
Request Method: GET | |
Request URL: http://localhost:8000/admin/ | |
Django Version: 1.4 | |
Exception Type: AttributeError | |
Exception Value: | |
'Settings' object has no attribute 'DATABASE_ENGINE' | |
Exception Location: /usr/local/lib/python2.7/dist-packages/django/utils/functional.py in inner, line 185 | |
Python Executable: /usr/bin/python |
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
/** | |
* boilerpipe | |
* | |
* Copyright (c) 2009 Christian Kohlschütter | |
* | |
* The author licenses this file to You under the Apache License, Version 2.0 | |
* (the "License"); you may not use this file except in compliance with | |
* the License. You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 |
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
def limits(base=None, row=None): | |
if base: | |
row = base.find('table', {'class': 'CLPTable'})\ | |
.find('tr', {'class': 'results-row'}) | |
regex = ur"(.+); (H[0-9]+): (C (≥|>) ([0-9,]+)%|([0-9,]+)% (≤|<|<) C (≤|<|<) ([0-9,]+)%)([ *]*)" | |
else: | |
regex = ur"(.+)(): (C (≥|>) ([0-9,]+)%|([0-9,]+)% (≤|<|<) C (≤|<|<) ([0-9,]+)%)([ *]*)" | |
raw = row.find_all('td', {'rowspan': re.compile('[0-9]+')})[2]\ |
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
Couldn't match expected type `([Char], [Char])' | |
with actual type `[[Char]]' | |
Expected type: [([Char], [Char])] | |
Actual type: [[[Char]]] |
OlderNewer