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'; | |
import Parent from '../models/parent'; | |
const { service } = Ember.inject; | |
export default Ember.Component.extend({ | |
store: service(), | |
parent: undefined, | |
result: undefined, | |
init() { | |
this._super(...arguments); |
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.Controller.extend({ | |
array: [{type: 'a'},{type: 'b'},{type: 'c'}], | |
broken: Ember.computed('array.@each.type', function() { | |
return Ember.get(this, 'array').rejectBy('type', 'a').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
language.name.en': "English" | |
language.name.native': "English" | |
navbar.title.conversations: "Conversations" | |
navbar.title.conversation: "Conversation" | |
actionsheet.message.failed.delivery: "Message could not be delivered" | |
actionsheet.cancel: "Cancel" | |
actionsheet.delete: "Delete" | |
actionsheet.try.again: "Try Again" | |
message.state.sending: "Sending..." | |
facebook.like.us: "Like us on Facebook" |
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
$ brew install -v homebrew-apache/mod_wsgi.rb 2>&1 | |
==> Downloading http://modwsgi.googlecode.com/files/mod_wsgi-3.4.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/mod_wsgi-3.4.tar.gz | |
tar xf /Library/Caches/Homebrew/mod_wsgi-3.4.tar.gz | |
==> ./configure --prefix=/usr/local/Cellar/mod_wsgi/3.4 --disable-debug --disable-dependency-tracking --disable-framework --with-python=/usr/local/bin/python | |
checking for apxs2... no | |
checking for apxs... /usr/sbin/apxs | |
checking Apache version... 2.2.24 | |
configure: creating ./config.status | |
config.status: creating Makefile |
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 pycassa | |
import time | |
import string | |
from pycassa.pool import ConnectionPool | |
from pycassa.columnfamily import ColumnFamily | |
import uuid | |
import random | |
import sys | |
pool = ConnectionPool('testdb') |