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[*row.map.with_index{|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)
View glibc.md

glibc Versions

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

Summary

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";
/**
* TODO:
* - 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.
/*
Comment
/*
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
0.0.0.0 vendor/ember-cli/vendor-prefix.js:0 /* jshint ignore:start */ | /* jshint ignore:start */
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
0.0.1.0 vendor/ember-cli/vendor-prefix.js:1 |
0.0.1.0 vendor/ember-cli/vendor-prefix.js:2 window.EmberENV = {"LOG_STACKTRACE_ON_DEPRECATION":false,... |
0.0.1.0
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);