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:
fullName: Ember.computed 'firstName', 'lastName', -> | |
"#{@get('firstName')} #{@get('lastName')}" | |
### | |
Tends to be less awkward than: | |
fullName: (-> | |
"#{@get('firstName')} #{@get('lastName')}" | |
).property('firstName', 'lastName') | |
### |
I hereby claim:
To claim this, I am signing this object:
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(' '); | |
}, |
[Desktop Entry] | |
Name=Aptana Studio 3 | |
Comment=Integrated development environment (IDE) for building Ajax web applications. | |
Exec=/home/kerrick/Applications/Aptana/AptanaStudio3 -applciation | |
Icon=/home/kerrick/Applications/Aptana/icon.xpm | |
Terminal=false | |
Type=Application | |
StartupNotify=true | |
Categories=Development;RevisionControl; | |
X-GNOME-FullName=Aptana Studio 3 |
# On the server | |
# Assuming you the site is served from ~/www/example.com/ and you want the git directory to live in ~/git/ | |
# Keep in mind that ^C is Control-C, or what ever the command is for your server to halt a program. | |
mkdir ~/git/example.com.git && cd ~/git/example.com.git | |
git init --bare | |
git config core.bare false | |
git config core.worktree ~/www/example.com | |
git config receive.denycurrentbranch ignore | |
cat > hooks/post-receive | |
#!/bin/sh |
[Desktop Entry] | |
Name=Sublime Text Editor | |
Comment="Sublime Text is a sophisticated text editor for code, html and prose. You'll love the slick user interface and extraordinary features." | |
Exec="/home/kerrick/Applications/sublimetext2/sublime_text" %F | |
MimeType=text/plain; | |
Terminal=false | |
Type=Application | |
Icon=/home/kerrick/Applications/sublimetext2/Icon/48x48/sublime_text.png | |
Categories=GNOME;GTK;Utility;TextEditor;Development;Utility; |
{ | |
"auto_indent": true, | |
"caret_style": "phase", | |
"color_scheme": "Packages/Color Scheme - Default/IR_Black.tmTheme", | |
"default_line_ending": "unix", | |
"draw_minimap_border": true, | |
"ensure_newline_at_eof_on_save": true, | |
"font_face": "Bitstream Vera Sans Mono", | |
"font_options": | |
[ |
# 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]) |
perl -pi -e 's/:([\w\d_]+)(\s*)=>/\1:/g' path/to/file.rb |