Skip to content

Instantly share code, notes, and snippets.

View max's full-sized avatar
🏔️

Max Schoening max

🏔️
View GitHub Profile
@max
max / gist:6472731
Created September 7, 2013 04:02
Hide inline Twitter conversations and blue lines
.conversation-root + * {
display: none;
}
.conversation-module > li:after, .conversation-module > li:before {
display: none;
}

When Ron told me about the Genius Bar, I asked, "So how big is it?" He said, "Five people in every store." "So you're going to take away 20% of the sales floor?" "Yeah." "What are we going to charge?" "Nothing." Most CFOs would say, "Are you fucking crazy?" But even as a financial guy at Apple, you have to have a reverence for the creative side of the business. You have to figure out ways to say yes.

http://www.fastcodesign.com/3016337/an-oral-history-of-apple-design-2004

## Retrospective (%@-7D%b %d %Y — %@-3D%b %d %Y)
### Good
### Bad
### Ugly
### Learnins'
@max
max / gist:9451566
Last active August 29, 2015 13:57

AngularJS vs Ember.js

I never had data to back up my hypothesis that AngularJS was going to overpower Ember.js despite its perceived inferiority. Here are some numbers:

Github

AngularJS Ember.js
Stars 21,345 9,557
Forks 6,636 2,041
$blue: #00AFED;
$green: #A6FA62;
$yellow: #FFEB45;
$orange: #FFAA3F;
$red: #E65252;
$default-background-color: #1B1B24;
$default-text-color: #7A7A8A;
$highlight-text-color: #B0AEC8;
{
"colors": "https://gist.githubusercontent.com/max/9667173/raw/1726bb4bca38ace12fc005dd2a7a6b055f8942df/gistfile1.txt",
"fonts": "https://www.dropbox.com/sh/a83upqa7gy4low1/Yz3lhrWsvR",
"icons": "https://www.dropbox.com/sh/cbyv0kq5ja3f7lf/zamRZRrIQ8"
}
<!doctype html>
<meta charset="utf-8">
<title>Accordion</title>
<style>
selector.eventlistener {
// styling based on e.event
}
selector.eventlistener + selector {
### Keybase proof
I hereby claim:
* I am max on github.
* I am mschoening (https://keybase.io/mschoening) on keybase.
* I have a public key whose fingerprint is 42D2 2E89 0677 B9CB 4CB4 4616 7083 8D4D A12F EA5A
To claim this, I am signing this object:
bar = 'hello' # => "hello"
foo = bar # => "hello"
foo.upcase # => 5
foo = 'world' # => "world
@max
max / index.html
Last active August 29, 2015 14:06
<!doctype html>
<meta charset="utf-8">
<title>Example</title>
<script src=uilang.js></script>
<style>
h2 {
background: #FAFAFB
}
h2.active {