As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
| /** | |
| * An implementation for Quicksort. Doesn't | |
| * perform as well as the native Array.sort | |
| * and also runs the risk of a stack overflow | |
| * | |
| * Tests with: | |
| * | |
| * var array = []; | |
| * for(var i = 0; i < 20; i++) { | |
| * array.push(Math.round(Math.random() * 100)); |
| task classpath << { println sourceSets.main.runtimeClasspath.asPath } |
| { fontWeight: '100' }, // Thin | |
| { fontWeight: '200' }, // Ultra Light | |
| { fontWeight: '300' }, // Light | |
| { fontWeight: '400' }, // Regular | |
| { fontWeight: '500' }, // Medium | |
| { fontWeight: '600' }, // Semibold | |
| { fontWeight: '700' }, // Bold | |
| { fontWeight: '800' }, // Heavy | |
| { fontWeight: '900' }, // Black |
| 100+ different js counter apps... |
| /* | |
| Open console. | |
| (Import https://raw.githubusercontent.com/MikeMcl/decimal.js/master/decimal.js first if you want/need number formatting) | |
| Then copy & paste this + enter, to run this. | |
| Copy console output to a NewFile.js or NewFile.jsx file. | |
| prettier --write NewFile.js | |
| */ | |
| /* eslint no-console: ["error", { allow: ["log"] }] */ | |
| /* global document, Decimal*/ | |
| (() => { |
This is a story about how I tried to use Go for scripting. In this story, I’ll discuss the need for a Go script, how we would expect it to behave and the possible implementations; During the discussion I’ll deep dive to scripts, shells, and shebangs. Finally, we’ll discuss solutions that will make Go scripts work.
While python and bash are popular scripting languages, C, C++ and Java are not used for scripts at all, and some languages are somewhere in between.
| 'use strict'; | |
| var blacklist = require('./node_modules/react-native/packager/blacklist'); | |
| var path = require('path'); | |
| /** | |
| * Default configuration for the CLI. | |
| * | |
| * If you need to override any of this functions do so by defining the file |