Skip to content

Instantly share code, notes, and snippets.

@habdelra
habdelra / gist:6532065
Created September 12, 2013 01:13
crashlog of capybara broken pipe issue
Process: webkit_server [2573]
Path: /Users/USER/*/webkit_server
Identifier: webkit_server
Version: ???
Code Type: X86-64 (Native)
Parent Process: ruby [2564]
User ID: 504
Date/Time: 2013-09-11 21:09:42.473 -0400
OS Version: Mac OS X 10.8.4 (12E3067)
@habdelra
habdelra / gist:01e63724ae9251d01dd7
Last active August 29, 2015 14:10
Debug the container
1. Install xcode, make sure to also install iOS 7.1 support (from Xcode -> Preferences -> Download)
2. In Safari -> Preferences, check the checkbox to "Show Develop menu in menu bar"
3. clone the container github project (ping will or hassan if you need access): https://github.com/mhelabs/connect-container
4. from OSX finder, launch the xcode project located at connect-container/flow/flow-runner/QtByteRunner/ios/flow.xcodeproj
5. agree to the various security popups that appear, and ignore any svn setup prompts
6. set the target device to iPad running on iOS 7 (connect team hasn't dealt with the Ember iOS 8 bug yet)
7. click on the "Play" button in xcode by the top left, this launches the app. note that you can view the app console log from xcode as well.
8. click the "Stop" button next to the play button, and close xcode. You only need to run the app once from xcode in order to install it in the simulator. You can run the app from xcode in the future if you want to view the console output.
9. from the simul
@habdelra
habdelra / gist:9e1d171a05e7ac0d7043
Created December 3, 2014 15:01
Successful EZTest UI App startup log
[
"starting adapter injection ",
"finishing adapter injection ",
"starting container-api injection ",
"finishing container-api injection ",
"starting external tool api injection ",
"finishing external tool api injection ",
"starting flush service injection ",
"finishing flush service injection ",
"starting hide loading spinner ",
@habdelra
habdelra / gist:038db5799af6615f39e0
Created December 3, 2014 18:49
Unsuccessful EZTest UI App startup log from DEMO env
[
"starting adapter injection ",
"finishing adapter injection ",
"starting container-api injection ",
"finishing container-api injection ",
"starting external tool api injection ",
"finishing external tool api injection ",
"starting flush service injection ",
"finishing flush service injection ",
"starting hide loading spinner ",
import Ember from 'ember';
const { cast } = Ember.RSVP;
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
init() {
this._super(...arguments);
var ObjectPromiseProxy = Ember.ObjectProxy.extend(Ember.PromiseProxyMixin);
import Ember from 'ember';
const { computed } = Ember;
export default Ember.Component.extend({
tagName: 'server-uptime',
upDays: computed('days', function() {
return this.get('days').reduce((upDays, day) => {
return upDays += (day.up ? 1 : 0);
}, 0);
@habdelra
habdelra / model-girlboss.json
Created May 8, 2017 15:41 — forked from bagby/model-girlboss.json
Girlboss mCast model
{
"activeRoute": "index",
"auth": "somelongstringtopreventrandompeoplefromfuckingupourshitx",
"fontUrl": "https://fonts.googleapis.com/css?family=Roboto:400,700",
"id": "6d257b33-ff17-40cc-a93c-ff41d5b1da57",
"models": {
"index": {
"backgroundImage": "./images/girlboss_rally_logo.png",
"backgroundRevealPercentage": 0.13,
"carouselImage": "./images/girlboss_logo_small.png",
0x1E65F71b024937b988fdba09814d60049e0Fc59d
0x1E65F71b024937b988fdba09814d60049e0Fc59d
0xd481B3eBD3B8109778631f6d276E3Ae47EcE9B5F