Skip to content

Instantly share code, notes, and snippets.

View kuba-kubula's full-sized avatar

Jakub Korál kuba-kubula

View GitHub Profile
@kuba-kubula
kuba-kubula / github_stacktrace.js
Created September 17, 2019 13:46 — forked from 6174/github_stacktrace.js
stackTracejs
// Domain Public by Eric Wendelin http://eriwen.com/ (2008)
// Luke Smith http://lucassmith.name/ (2008)
// Loic Dachary <[email protected]> (2008)
// Johan Euphrosine <[email protected]> (2008)
// Oyvind Sean Kinsey http://kinsey.no/blog (2010)
// Victor Homyakov <[email protected]> (2010)
/*global module, exports, define, ActiveXObject*/
(function(global, factory) {
if (typeof exports === 'object') {
// Node

Installing Babel

The following are a few important npm packages.

Core Babel and access to Babel:

  • babel-core: the core compilation machinery and plugin infrastructure for Babel. You will rarely need to install this package, because other packages such as babel-cli have it as a dependency, meaning that it will be automatically installed when they are installed.

  • babel-cli: a command line interface to Babel. It includes the following commands:

  • babel-doctor detects common problems with your Babel installation.

#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
green='\033[0;32m'
@kuba-kubula
kuba-kubula / console.sh
Last active December 21, 2015 19:49
Mongoose bench… Hardcoded
for i in {1..100}; do curl http://localhost:8888/; done