Skip to content

Instantly share code, notes, and snippets.

dru / upload_progress.dart
Created Dec 26, 2018
Upload progress with Dart and Streams
View upload_progress.dart
import "dart:io";
import "dart:async";
main() async {
HttpClientRequest request =
await HttpClient().post('', 8000, '/upload');
request.headers.contentType = ContentType.binary;
final file = File('/some/big/file');
kevinelliott /
Last active Oct 5, 2021
Mac OS X 10.11 El Capitan Setup

Mac OS X 10.11 El Capitan

Custom recipe to get OS X 10.11 El Capitan running from scratch, setup applications and developer environment. This is very similar (and currently mostly the same) as my 10.10 Yosemite setup recipe (as found on this gist Note that I expect this to change significantly as I install El Capitan several times.

I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.

This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

You are encouraged to fork this and modify it to your heart's content to match your own needs.

g3d / gist:2709563
Last active Sep 15, 2021 — forked from saetia/gist:1623487
Clean Install – OS X 10.11 El Capitan
saetia / gist:1623487
Last active Oct 24, 2021
Clean Install – OS X 10.11 El Capitan
View gist:1623487

OS X Preferences

most of these require logout/restart to take effect

# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false

# Set a shorter Delay until key repeat