I hereby claim:
- I am Kerrick on github.
- I am kerrick (https://keybase.io/kerrick) on keybase.
- I have a public key whose fingerprint is 2CA6 BC69 0DFF 54BF DA9B 4F49 08DD E043 06DF CD97
To claim this, I am signing this object:
| import Ember from 'ember'; | |
| export default Ember.Component.extend({ | |
| }); |
| import Ember from 'ember'; | |
| export default Ember.Component.extend({ | |
| tagName: '' | |
| }); |
| import Ember from 'ember'; | |
| export default Ember.Controller.extend({ | |
| }); |
| import Ember from 'ember'; | |
| const { computed, get, set } = Ember; | |
| export default Ember.Controller.extend({ | |
| appName:'Ember Twiddle', | |
| parts: computed('appName', { | |
| get() { | |
| return get(this, 'appName').split(' '); | |
| }, |
I hereby claim:
To claim this, I am signing this object:
| fullName: Ember.computed 'firstName', 'lastName', -> | |
| "#{@get('firstName')} #{@get('lastName')}" | |
| ### | |
| Tends to be less awkward than: | |
| fullName: (-> | |
| "#{@get('firstName')} #{@get('lastName')}" | |
| ).property('firstName', 'lastName') | |
| ### |
| #!/usr/bin/env ruby | |
| # gotta-clone-them-all, to clone all the github repositories of a user | |
| # Copyright (C) 2013 Kerrick Long | |
| # | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # |
| perl -pi -e 's/:([\w\d_]+)(\s*)=>/\1:/g' path/to/file.rb |
| # Override how rails computes asset tags to work in multi-server deployments via git commits | |
| module ActionView | |
| module Helpers | |
| module AssetTagHelper | |
| def rails_asset_id(source) | |
| if asset_id = ENV["RAILS_ASSET_ID"] | |
| asset_id | |
| else | |
| if @@cache_asset_timestamps && (asset_id = @@asset_timestamps_cache[source]) |