Skip to content

Instantly share code, notes, and snippets.

View hbrysiewicz's full-sized avatar
💙
All you need is love

Alex Elliott hbrysiewicz

💙
All you need is love
View GitHub Profile
@hbrysiewicz
hbrysiewicz / components.clickable-svg.js
Last active March 31, 2017 22:46
Inline SVG - Part 1
import Ember from 'ember'
const {
Component,
computed: { alias }
} = Ember
export default Ember.Component.extend({
attributeBindings: [
'data',
@hbrysiewicz
hbrysiewicz / lines.js
Created March 14, 2017 19:02
Handy Ember Testing
// check what modules are loaded with regex
Object.keys(requirejs.entries).filter(x => /.+/.test(x))
// ember-cli-mirage check that initializer is loaded
Object.keys(requirejs.entries).filter(x => /initializers\/ember-cli-mirage/.test(x))
// run in debug from cli
node debug `which ember` test
I woke up with the memory of a pretty interesting dream.
An ant space station returned to Earth for repairs because it was falling apart.
People were lined up to get a peek. No one knew this even existed,
it had been kept secret. But the ants were not normal. Apparently this
station was built as an experiment - What would happen if a species lived
with no predators and limitless resources. The ants developed individuality
and acted like humans. They did nothing but sit around and watch TV.
Without fear of death there was no need for groupthink or tunneling.
It was an odd dream.

ember install ember-cli-mirage

git remote add origin https://github.com/DockYard/ember-music.git

git remote update

git checkout origin/master mirage

@hbrysiewicz
hbrysiewicz / attendees.json
Last active December 19, 2016 07:01
SDSW Attendee List 2016
[
[
{
"company":"The Control Group",
"name":"Amanda",
"position":"Designer"
},
{
"company":"Seed GC, LLP",
"name":"Bethany",
import Ember from 'ember';
export default Ember.Component.extend({
foo: false,
didReceiveAttrs() {
this._super(...arguments)
Ember.$.ajax({
url: `//code.highcharts.com/mapdata/countries/us/us-ca-all.js`,
dataType: 'script'
  1. Install Git
  2. Install Node.js
  3. Setup NPM for non-sudo installation
  4. The easiest way to do this is by checking out this awesome shell script that will do it for you
  5. NPM is the node package manager. It will automatically be installed when you install node.
  6. NPM installs packages locally (within the directory it is invoked in) for per-project modules, or globally for packages you want accessible everywhere.
  7. However, by default NPM installs global packages in a root-restricted location, requiring SUDO to install. This creates a huge headache. As an alternative, before you install any packages, follow this guide to configure your NPM to install in your home directory without requiring sudo.
  8. Install Bower: npm i -g bower
  9. Install Ember-CLI: npm i -g ember-cli
  10. And create a new project named 'wor
<VAST version="2.0"></VAST>
@hbrysiewicz
hbrysiewicz / ember_march_2015.md
Last active August 29, 2015 14:16
EmberConf 2015 Recap - March 11, 2015

Opening Announcements

👋. Welcome!

💗. Hosted by EvoNexus, accepting fall applications by August 2015

🚙. Parking Validation, good for 4 hours

🌈. Introduce the organizers

Keybase proof

I hereby claim:

  • I am hbrysiewicz on github.
  • I am caligoanimus (https://keybase.io/caligoanimus) on keybase.
  • I have a public key whose fingerprint is EBE9 AFEA B02E FDB8 3BA2 3910 B4D4 1367 000B 594C

To claim this, I am signing this object: