I hereby claim:
- I am ryanhirsch on github.
- I am ryanhirsch (https://keybase.io/ryanhirsch) on keybase.
- I have a public key ASAZcYOvPHKaVfGMTo_7dL0AYZW4UBWcdhFu0H0CgOTxrgo
To claim this, I am signing this object:
| // services/clock.js | |
| import Ember from 'ember'; | |
| export default Ember.Object.extend({ | |
| pulse: Ember.computed.oneWay('_seconds').readOnly(), | |
| minutePulse: Ember.computed.oneWay('_minutes').readOnly(), | |
| tick: function () { | |
| var clock = this; | |
| Ember.run.later(function () { | |
| var seconds = clock.get('_seconds'); |
| import Ember from 'ember'; | |
| export default Ember.Component.extend({ | |
| didInsertElement: function() { | |
| var $this = this.$(), | |
| $actions = Ember.$('.actions', $this); | |
| $this.hover(function() { | |
| $actions.slideDown(); | |
| }, function() { | |
| $actions.slideUp(); |
| import { test, moduleForModel } from 'ember-qunit'; | |
| moduleForModel('user-profile', 'UserProfile', { | |
| // Specify the other units that are required for this test. | |
| needs: [] | |
| }); | |
| test('display name works', function() { | |
| var model = this.subject(); | |
| var store = this.store(); |
I hereby claim:
To claim this, I am signing this object:
| { | |
| "servers": [ | |
| { | |
| "port" : 8000, | |
| "labels": ["public"] | |
| } | |
| ], | |
| "plugins": { | |
| "capi-web": { } | |
| } |
| var mongoose = require('mongoose'), | |
| util = require('util'), | |
| config = require('./config.json'); | |
| var connection_string = util.format( | |
| 'mongodb://%s:%s@%s:%d/%s', | |
| config.mongo.user, | |
| config.mongo.password, | |
| config.mongo.hostname, | |
| config.mongo.port, |
| (function() { | |
| var $wrappingDiv = $('div[webpartid]').last(); | |
| //console.log($wrappingDiv.attr('webpartid')); | |
| $(document).ready(function() { | |
| var inDesignMode = null; | |
| if($('#MSOLayout_InDesignMode')) { | |
| inDesignMode = $('#MSOLayout_InDesignMode').val(); | |
| } |
| contents | |
| \posts | |
| \2013 | |
| \first-post.md | |
| \second-post.md | |
| \2014 | |
| \third-post.md | |
| \fourth-post.md |
Expected to live in a parent directory and then operate on files in child directories
PS C:\Releases> .\md5.ps1 .\App_v1\CompiledPackage.zip
| var svn_parse = require('./svn_stream_parser'), | |
| spawn = require('child_process').spawn; | |
| function getLatest(repo) { | |
| var sp = require('./svn_stream_parser'); | |
| var svn = spawn('svn', ['log', '-v', '-l', '1', repo]); | |
| sp(svn.stdout).pipe(process.stdout); | |
| } | |
| getLatest('https://github.com/emberjs/ember.js'); |