This file contains 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
modules.map( | |
plumb( | |
project.add({ | |
lang: plumb( | |
to('readme'), | |
cld.detect, | |
to('code')) | |
}), | |
project({ | |
_id: 1, |
This file contains 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
// which modules is an entity in | |
e.filter(function (e) { | |
return m.filter(function (m) { | |
return m.entities.some(function (me) { | |
return me.entityId.equals(e._id) }) }).length > 1 }) | |
.map(function (x) { | |
return [x._id,'in'] | |
.concat(db.AD_Modules.find({'entities.entityId': x._id, private: {$ne: true}}, {titleShort:1}) | |
.map(I)) }) |
This file contains 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 parse_git_branch { | |
local W="\033[1;37m" | |
local ref=$(git symbolic-ref HEAD 2> /dev/null) | |
if [[ -z $ref ]]; then | |
return | |
fi | |
echo -e $W"/"${ref#refs/heads/}" " | |
} |
This file contains 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 tracery = require('tracery') | |
var minq = require('minq') | |
var ObjectId = require('objectid') | |
var Q = require('q') | |
minq.connect('mongodb://localhost:27017/test_db') | |
var isUser = tracery({ | |
// here, we're using a predicate function ObjectId.isValid which will return true is the value is, in fact, an ObjectId | |
_id: ObjectId.isValid, |
This file contains 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
Dear Counter - | |
I love your burgers, especially your house-made veggie patties and quality | |
topping ingredients. However, I wanted to share a recent experience that | |
made me uncomfortable. | |
I placed an order through your website for pickup, along with some of my | |
co-workers. When I received the order confirmation email, I saw my password | |
repeated to me in plain text (without encryption). As a software developer, | |
this is very concerning to me and makes me feel uncomfortable sharing | |
information like credit card numbers on your website. I know you take customer |
This file contains 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
# DOCKER-VERSION 0.4.8 | |
FROM base:ubuntu-12.10 | |
RUN apt-get -y install mono-devel autoconf pkg-config make git libtool | |
RUN git clone https://github.com/fsharp/fsharp | |
RUN cd fsharp && ./autogen.sh --prefix /usr && make && make install |
This file contains 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
what's the easiest way to be able to observe areas of change - and proposed change - of machine readable code? | |
way to model and capture legislative behavior and change management on bodies of legislation as a service. | |
respect for line numbers, section numbers, section references, range references | |
don't just model legislation as a living document, but capture the actual bills for amending said legislation | |
also capture change process for the bills | |
(basically like working in a feature branch) |
This file contains 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
jden:api /ci * $ cat test.js | |
"use strict" | |
const a | |
a++ | |
jden:api /ci * $ node test | |
/Users/jden/dev/api/test.js:2 | |
const a | |
^^^^^ | |
SyntaxError: Use of const in strict mode. |
This file contains 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
<!-- jden custom --> | |
<dict> | |
<key>name</key> | |
<string>Plaintext</string> | |
<key>scope</key> | |
<string>text.plain</string> | |
<key>settings</key> | |
<dict> | |
<key>foreground</key> | |
<string>#69C835</string> |
This file contains 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
This is not governance. I detest partisan hackery and soft analysis, but - | |
or perhaps ergo - the House leadership's tactics amount to cheap, deplorable | |
posturing. Which would be bad enough on its own, if it weren't for the very | |
real consequences that it now looks like we'll see tomorrow. This kind of | |
scorched earth, my-way-or-to-hell-with-it-all negotiation is not how good | |
policy is made. It is completely disingenuous to engage in this behavior and | |
try to justify it with a means-end argument and say it's "for the good of the | |
country/the people/my donor base." Well, maybe the last one. |