Skip to content

Instantly share code, notes, and snippets.

Avatar
🏁
Racing through work

Robert DeLuca Robdel12

🏁
Racing through work
View GitHub Profile
@cowboyd
cowboyd / dataset.js
Last active August 27, 2015 21:48
An API to put the fun back in rendering an asynchronous, paginated dataset in JavaScript!
View dataset.js
import Dataset from 'dataset';
import getStuff from 'get-stuff';
// Dataset.js is a JavaScript only object for navigating through paged
// data. It understands that rendering a paged dataset in realtime as
// it is incrementally and asynchronously loaded is no mean feat, and
// so it's got your back.
//
// It's goal is to give you as much information about what exactly is
// happening at any give moment so that you can represent it
@gcollazo
gcollazo / emberaddons-data.md
Last active August 29, 2015 14:14
Data for emberaddons.com
View emberaddons-data.md
@cowboyd
cowboyd / mutable-collection.js
Created March 26, 2015 14:59
Present a mutable interface to an immutable array and track changes in realtime
View mutable-collection.js
import Ember from 'ember';
/**
* Presents a mutable interface to an immutable array.
*
* As you make changes to the array, it tracks which objects are new,
* which objects have been removed, and which objects were in the
* original array. To use an instance of this class, set the
* `original` property to an array. This array will not be touched as
* you make changes via the mutable interface. E.g.
View thoughts.md

I agree with Monteiro that folks who act reprehensibly should immediately be removed from our spaces. No question. However, I do—as someone who has struggled with mental illness my entire life—have some additional thoughts.

As much as I want—no NEED—to remove harmful individuals from spaces, I find it harmful using "sociopath" to describe bad behavior. I've personally used this word frequently, along with "crazy" and other ableist language. I want to do better.

Speaking with my friend who is a psychologist, she noted "sociopath" and "psychopath" are meaningless words; no agreed-upon definition. Calling someone a "sociopath" is like calling a woman a "slut"; you are labeling based on behavior you don't like or don't understand. Personally, I think it further stigmatizes mental health for people who've been diagnosed with personality disorders. Most of the people I know personally with personality/disaffective disorders are wonderful, caring people, and it's unfair and unclear for them to be lumped in with

View Extract Images from Word
“Rename *.docx to *.zip and unzip it to get all images from the doc in a folder!”
@lukemelia
lukemelia / note.txt
Created April 8, 2015 04:34
When Error: watch EMFILE strikes (OS X)
View note.txt
This requires `brew install jq` which is a command json query.
I got this from @krisselden
@sir-dunxalot
sir-dunxalot / Ember.js and Disqus Component
Last active December 30, 2017 19:07
An Ember.js Disqus component that loads Disqus comments asyncronously
View Ember.js and Disqus Component
'use strict';
/**
Add your info here to link this blog to your free Disqus account
*/
App.DisqusOptions = Em.Object.create({
shortname: 'someNamehere', // Change this!
});
@jdjkelly
jdjkelly / gist:0bddf2e834b6d6bc2174
Last active December 25, 2021 14:30
Making Accessible Ember Components
View gist:0bddf2e834b6d6bc2174

Making Accessible Ember Components

Making the web accessible is important. We have ethical and, in some cases, legal obligations to ensuring access to all of users.

Luckily for us, it's easy to make an accessible Ember Component.

What are components?

To understand the accessibility story around Ember Components, we have to start by talking about Web Components. Ember Components are designed to be interoperable with the final Web Components API.

@matthewcrist
matthewcrist / 1-100 Select.html
Created June 10, 2011 12:52
A Select Box With Options From 1 - 100
View 1-100 Select.html
<select><option value="0">0</option><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option><option value="18">18</option><option value="19">19</option><option value="20">20</option><option value="21">21</option><option value="22">22</option><option value="23">23</option><option value="24">24</option><option value="25">25</option><option value="26">26</option><option value="27">27</option><option value="28">28</option><option value="29">29</option><option value="30">30</option><option value="31">31</option><option value="32">32</option><option value="33">33</option><option value="3