Skip to content

Instantly share code, notes, and snippets.

View RandomEtc's full-sized avatar
🦕

Tom Carden RandomEtc

🦕
View GitHub Profile
import Ember from 'ember';
export default Ember.Component.extend({
actions: {
hi() {
this.sendAction();
}
}
});
@RandomEtc
RandomEtc / components.dd-content.js
Created October 19, 2016 17:33
Contextual Components for Drop Downs?
import Ember from 'ember';
export default Ember.Component.extend({
isClosed: false,
classNameBindings: [ 'isClosed' ],
classNames: [ 'drop-down__content' ]
});
@RandomEtc
RandomEtc / index.html
Created February 11, 2016 16:52 — forked from anonymous/index.html
Ember Virtual List Component // source http://emberjs.jsbin.com/qehexubaru
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Ember Virtual List Component</title>
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.1/normalize.css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="http://builds.emberjs.com/tags/v1.13.5/ember-template-compiler.js"></script>
<script src="http://builds.emberjs.com/tags/v1.13.5/ember.debug.js"></script>
<style id="jsbin-css">
@RandomEtc
RandomEtc / index.html
Created January 21, 2016 16:39 — forked from anonymous/index.html
Ember Virtual List Component // source http://emberjs.jsbin.com/qutevisabu
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Ember Virtual List Component</title>
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.1/normalize.css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="http://builds.emberjs.com/tags/v1.13.5/ember-template-compiler.js"></script>
<script src="http://builds.emberjs.com/tags/v1.13.5/ember.debug.js"></script>
<style id="jsbin-css">
@RandomEtc
RandomEtc / index.html
Created January 21, 2016 06:21 — forked from anonymous/index.html
Ember Virtual List Component // source http://emberjs.jsbin.com/jorisuquze
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Ember Virtual List Component</title>
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.1/normalize.css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="http://builds.emberjs.com/tags/v1.13.5/ember-template-compiler.js"></script>
<script src="http://builds.emberjs.com/tags/v1.13.5/ember.debug.js"></script>
<style id="jsbin-css">
@RandomEtc
RandomEtc / index.html
Created January 21, 2016 05:54 — forked from anonymous/index.html
Ember Virtual List Component // source http://emberjs.jsbin.com/talejerova
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Ember Virtual List Component</title>
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.1/normalize.css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="http://builds.emberjs.com/tags/v1.13.5/ember-template-compiler.js"></script>
<script src="http://builds.emberjs.com/tags/v1.13.5/ember.debug.js"></script>
<style id="jsbin-css">
@RandomEtc
RandomEtc / index.html
Created January 21, 2016 05:45 — forked from anonymous/index.html
Ember Starter Kit // source http://emberjs.jsbin.com/nibosocevi
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Ember Starter Kit</title>
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.1/normalize.css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="http://builds.emberjs.com/tags/v1.13.5/ember-template-compiler.js"></script>
<script src="http://builds.emberjs.com/tags/v1.13.5/ember.debug.js"></script>
<style id="jsbin-css">
@RandomEtc
RandomEtc / .gitignore
Last active July 11, 2018 04:42
D3 Australia Conformal Conic
australian-states.json
ne_10m_admin_1_states_provinces_lakes.geojson
ne_10m_admin_1_states_provinces_lakes.geojson.gz
@RandomEtc
RandomEtc / index.html
Created January 29, 2015 19:37
Line graph noodling
<!DOCTYPE html>
<meta charset="utf-8">
<style>
html, body { margin: 0; }
.line {
fill: none;
stroke-width: 2.0;
}
.axis .tick line, .axis path.domain {
@RandomEtc
RandomEtc / README.md
Last active May 9, 2017 19:24
D3 Bar Chart Update Pattern