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
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
tagName: 'video', | |
attributeBindings: ['_muted:muted', 'playsinline', 'autoplay', 'src', 'controls'], | |
_muted: Ember.computed(function(){ | |
return true; | |
}), | |
muted: true, | |
playsinline: true, |
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
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
actions: { | |
openModal(){ | |
this.sendAction('openModal'); | |
} | |
} | |
}); |
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
### Keybase proof | |
I hereby claim: | |
* I am kitsunde on github. | |
* I am kitsunde (https://keybase.io/kitsunde) on keybase. | |
* I have a public key ASDNjRB3ZAPxi1xab21wLv786J5Q_dSF2n3qWeNC0vUtago | |
To claim this, I am signing this object: |
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
# We control the existance of the build-server by setting this to 0 or 1 | |
variable "build_servers" { | |
} | |
provider "aws" { | |
access_key = "<aws_key>" | |
secret_key = "<aws_secret>" | |
region = "us-east-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
class IsAuthenticated(object): | |
def __init__(self, origin): | |
self.origin = origin | |
def __nonzero__(self): | |
raise Exception("lol noob") | |
def __call__(self, *args, **kwargs): | |
return self.origin._noob_is_authenticated() | |
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
(::) failed steps (::) | |
TypeError: Cannot use 'in' operator to search for 'compareDocumentPosition' in null | |
at /Users/kitsunde/Development/flower/src/like/node_modules/zombie/node_modules/jsdom/node_modules/nwmatcher/src/nwmatcher-noqsa.js:306:43 | |
at module.exports (/Users/kitsunde/Development/flower/src/like/node_modules/zombie/node_modules/jsdom/node_modules/nwmatcher/src/nwmatcher-noqsa.js:37:7) | |
at addNwmatcher (/Users/kitsunde/Development/flower/src/like/node_modules/zombie/node_modules/jsdom/lib/jsdom/living/selectors.js:27:27) | |
at HTMLDocument.<anonymous> (/Users/kitsunde/Development/flower/src/like/node_modules/zombie/node_modules/jsdom/lib/jsdom/living/selectors.js:8:14) | |
at HTMLDocument.querySelector (/Users/kitsunde/Development/flower/src/like/node_modules/zombie/node_modules/jsdom/lib/jsdom/utils.js:168:45) | |
at World.isLiked (/Users/kitsunde/Development/flower/src/like/features/support/world.js:14:39) | |
at World.<anonymous> (/Users/kitsunde/Development/flower/src/like/features/step_defi |
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
{ | |
init: function(elevators, floors) { | |
passengersGoingDown = new Set(); | |
passengersGoingUp = new Set(); | |
idleElevators = []; | |
function provisionElevatorOrAdd(queue){ | |
return function(){ | |
if(idleElevators.length){ |
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
#!/usr/bin/env node | |
var exec = require('child_process').exec; | |
var fs = require('fs'); | |
var eslint = require('../node_modules/eslint/lib/cli'); | |
var files; | |
var child = exec("git diff-index --cached --name-only HEAD", function(error, stdout, stderr){ | |
files = stdout.split('\n').filter(function(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
#!/usr/bin/perl -w | |
use strict; | |
use Socket; | |
use IO::Handle; | |
if($#ARGV+1 != 2){ | |
print "$#ARGV $0 Remote_IP Remote_Port \n"; | |
exit 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
git+git://github.com/Celc/facebook-sdk.git@05ef99bbd2eab3dced959cbd913b2719772a1861#egg=facebook-sdk | |
git+git://github.com/bmihelac/django-import-export.git@e3087e4dc7b0a191587c2a890035286c065f4971#egg=import-export |
NewerOlder