Doumenting my journey here for myself and others. Inspired by Rob Hills
urzo@fedora:~$ sudo dmidecode | grep -i mac
Product Name: MacBookPro14,2
Family: MacBook Pro
:root { | |
--ls-primary-background-color: #2d2d2d; /* base00 */ | |
--ls-secondary-background-color: #393939; /* base01 */ | |
--ls-tertiary-background-color: #515151; /* base02 */ | |
--ls-quaternary-background-color: #747369; /* base03 */ | |
--ls-primary-text-color: #d3d0c8; /* base05 */ | |
--ls-secondary-text-color: #a09f93; /* base04 */ | |
--ls-link-text-color: #6699cc; /* base0D */ |
Doumenting my journey here for myself and others. Inspired by Rob Hills
urzo@fedora:~$ sudo dmidecode | grep -i mac
Product Name: MacBookPro14,2
Family: MacBook Pro
// Benchmarking Node Crypto vs XXHash | |
// | |
// Setup/Installation: | |
// mkdir hashbenchmarks && cd hashbenchmarks && npm i xxhash benchmark beautify-benchmark && curl https://gist.githubusercontent.com/JustinBeaudry/45b8ad0c1a36eaf0974f8dc1188e2af3/raw/202dd48b8a2606ad0be99a8261770ddd4dba74b9/benchmarking-hashes.js -o benchmarking-hashes.js | |
// | |
// Running: | |
// node benchmarking-hashes.js | |
const http = require('http'); | |
const crypto = require('crypto'); |
const isPath = str => /^(\/?[^\/ ]*)+\/?\.\w+$/i.test(str); | |
isPath('adsasdasd'); // false | |
isPath('path/to/file'); // false | |
isPath('path/to/file.txt'); // true | |
isPath('/path/to/file.txt'); // true | |
isPath('C:\path\to\file.txt'); // true |
version: '3.3' | |
services: | |
db: | |
image: mysql:5.7 | |
ports: | |
- "3306:3306" | |
volumes: | |
- db_data:/var/lib/mysql | |
restart: always |
using UnityEngine; | |
using Unity.Jobs; | |
using Unity.Burst; | |
using Unity.Collections; | |
using Unity.Mathematics; | |
using static Unity.Mathematics.math; | |
namespace Deform | |
{ | |
public class TwistDeformer : Deformer |
http://www.shmula.com/queueing-theory/
http://ferd.ca/queues-don-t-fix-overload.html
https://news.ycombinator.com/item?id=8632043
https://thetechsolo.wordpress.com/2015/01/25/queueing-theory-explained/
http://people.revoledu.com/kardi/tutorial/Queuing/index.html
http://setosa.io/blog/2014/09/02/gridlock/index.html
function _quickSort(array, left, right) { | |
left = left || 0; | |
right = right || array.length - 1; | |
let pivot = _partitionHoare(array, left, right); | |
if (left < pivot - 1) { | |
_quickSort(array, left, right); | |
} | |
if (right > pivot) { | |
_quickSort(array, pivot, right); |