Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View max's full-sized avatar
🏔️

Max Schoening max

🏔️
View GitHub Profile

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 BEE2 2B6C 968F 0778 7863 EB66 5315 D96B 3C00 1B7B

To claim this, I am signing this object:

@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 {
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
(function (global){
"use strict";
!(function (e) {
if ("object" == typeof exports) module.exports = e();else if ("function" == typeof define && define.amd) define(e);else {
var f;"undefined" != typeof window ? f = window : "undefined" != typeof global ? f = global : "undefined" != typeof self && (f = self), f.Curse = e();
}
})(function () {
var define, module, exports;return (function e(t, n, r) {
#!/bin/bash
# Mount the installer image
hdiutil attach /Applications/Install\ OS\ X\ Yosemite.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app
# Convert the boot image to a sparse bundle
hdiutil convert /Volumes/install_app/BaseSystem.dmg -format UDSP -o /tmp/Yosemite
# Increase the sparse bundle capacity to accommodate the packages
hdiutil resize -size 8g /tmp/Yosemite.sparseimage