View check-outdated-yarn.rb
require 'json'
output = `yarn outdated --json`
json = JSON.parse(output)
items = if json['type'] == 'table'
keys = json['data']['head']
json['data']['body'].map do |row|
Hash[*{|v,i| [keys[i], v] }.flatten]
View Makefile
# Fail if piped commands fail
SHELL=bash -o pipefail
# Absolute root of the project
ROOT := $(shell cd $(dir $(firstword $(MAKEFILE_LIST))) && pwd)
include $(ROOT)/mk/*.mk
RUST_VERSION := $(shell cat $(ROOT)/.rust-version)
RUSTUP = rustup run $(RUST_VERSION)

glibc Versions

List of oldest supported version of top 10 Linux Distros and their glibc version according to


Out of all versions with published EOLs, 2.12 is the oldest glibc still active, found in CentOS 6.8.

Not all versions include EOLs, but going back to 2011 releases everything else is at least 2.12.

View skylight_dlopen.c
#include "skylight_dlopen.h"
#include "dlfcn.h"
sky_main_fn sky_main = 0;
sky_init_fn sky_init = 0;
sky_hrtime_fn sky_hrtime = 0;
sky_instrumenter_new_fn sky_instrumenter_new = 0;
sky_instrumenter_start_fn sky_instrumenter_start = 0;
sky_instrumenter_stop_fn sky_instrumenter_stop = 0;
sky_instrumenter_submit_trace_fn sky_instrumenter_submit_trace = 0;
View controllers.application.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
View ember-intellisense.js
"use strict";
* - Generate definitions for prototype extensions
* - Handle additional JSDoc properties (@param, @return)
* - Define types of arrays where possible
* - Review situations where multiple types are possible
* - Review var-args
* - JSDoc for classes and namespaces if supported
View comments.js
// This file is valid, if contrived.
// Without nested block comments, the middle alert will get run.
// With nested block comments it would not.
alert("Don't run this anymore.");
alert("I'm in a double nested comment!");
View controllers.application.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle',
values: null,
sum: Ember.computed.sum("values")
View gist:808b6f18591db402487d vendor/ember-cli/vendor-prefix.js:0 /* jshint ignore:start */ | /* jshint ignore:start */
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ vendor/ember-cli/vendor-prefix.js:1 | vendor/ember-cli/vendor-prefix.js:2 window.EmberENV = {"LOG_STACKTRACE_ON_DEPRECATION":false,... |
View ember-cli-i18n-testing.js
import Stream from 'ember-cli-i18n/utils/stream';
import t from 'ember-cli-i18n/utils/t';
import Ember from 'ember';
// tHelper without the container and application dependencies, sigh...
function tHelper(params /*, hash, options, env */) {
var path = params.shift();
var stream = new Stream(function() {
return t(path, params);