Bitcoin miners want their newly-found blocks to propagate across the network as quickly as possible, because every millisecond of delay increases the chances that another block, found at about the same time, wins the "block race."
- GitHub Staff
- https://reggi.com
- @[email protected]
- in/thomasreggi
#!/bin/bash | |
# Because WavTap (https://github.com/pje/wavtap) doesn't come with a straightforward way to do it. :\ | |
# Must be run elevated. Mirrors what "make uninstall" does exactly as of June 24, 2014. | |
osascript -e 'tell application "WavTap"' -e 'quit' -e 'end tell' | |
rm -rf /Applications/WavTap.app | |
if [[ "$(kextstat | grep WavTap | grep -v grep)" ]]; then sudo kextunload /System/Library/Extensions/WavTap.kext; fi | |
rm -rf /System/Library/Extensions/WavTap.kext | |
rm -rf /Library/Receipts/WavTap* | |
rm -rf /var/db/receipts/*WavTap.* |
#!/usr/bin/env node | |
var path = require('path') | |
var fs = require('fs') | |
var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib'); | |
require(lib + '/awslambda.js').start_runtime(); | |
After publishing my article on ECMAScript 6, some have reached out to ask how I exactly I make it all work.
I refrained from including these details on the original post because they're subject to immiment obsoletion. These tools are changing and evolving quickly, and some of these instructions are likely to become outdated in the coming months or even weeks.
When evaluating the available transpilers, I decided to use 6to5, which has recently been renamed to Babel. I chose it based on:
# requirement! install imagemagick | |
# brew install imagemagick | |
# or build from source here http://www.imagemagick.org/script/binary-releases.php | |
#navigate to folder of the images | |
cd folderofmyimages/ | |
# take every jpg in the folder and smash into a gif with a frame rate of 0.5 sec | |
convert -delay 50 *.jpg gif_of_my_images.gif |
#!/usr/bin/env bash | |
# | |
# Bootstrap script for setting up a new OSX machine | |
# | |
# This should be idempotent so it can be run multiple times. | |
# | |
# Some apps don't have a cask and so still need to be installed by hand. These | |
# include: | |
# | |
# - Twitter (app store) |
# Version key/value should be on his own line | |
PACKAGE_VERSION=$(cat package.json \ | |
| grep version \ | |
| head -1 \ | |
| awk -F: '{ print $2 }' \ | |
| sed 's/[",]//g') | |
echo $PACKAGE_VERSION |
// https://gist.github.com/edoardocavazza/47246856759f2273e48b | |
(function () { | |
if (typeof Object.setPrototypeOf === 'undefined' && typeof Object.getOwnPropertyNames === 'function') { | |
var _exclude = ['length', 'name', 'arguments', 'caller', 'prototype']; | |
function bindFunction(ctx, fn) { | |
return function() { | |
return fn.apply(this, arguments); | |
} | |
} |
My friend Michael Jackson turned off github issues on one of his smaller projects. It got me thinking...
Maintainers getting burned out is a problem. Not just for the users of a project but the mental health of the maintainer. It's a big deal for both parties. Consumers want great tools, maintainers want to create them, but maintainers don't want to be L1 tech support, that's why they