Skip to content

Instantly share code, notes, and snippets.

View tomoguisuru's full-sized avatar

Brandon Drake tomoguisuru

  • Orlando, Florida
View GitHub Profile
@tomoguisuru
tomoguisuru / components.user-profile.js
Created October 15, 2018 18:52 — forked from samselikoff/mirage.config.js
Mirage dev boilerplate
import Component from '@ember/component';
import { readOnly } from '@ember/object';
export default Component.extend({
user: readOnly('model')
});
import Ember from 'ember';
import { pipeline, step, CANCEL } from 'ember-pipeline';
import timeout from '../utils/timeout';
export default Ember.Controller.extend({
result: 'Nothing run yet',
value: 10,
fizzBuzz: Ember.computed(function() {
return pipeline(this, [
import Ember from 'ember';
import { task, timeout } from 'ember-concurrency';
const {
Component,
assert,
get,
set,
} = Ember;
#!/bin/bash
#!/usr/local/bin/python
"""
To use this script, you must be in the root directory of a Rails project that
is using git. You should also make sure that your directory does not contain any
uncommitted changes. Then run:
$ python rails_switch_branch.py name_of_another_branch
Running the above will do the following: