This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defaults write -g com.apple.trackpad.scaling -float 5.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [[ $(pmset -g ps | head -1) =~ "Battery Power" ]]; then | |
osascript -e 'display notification "You are starting Slack while running on battery power" with title "Battery Drain Source Detected" subtitle ""' | |
fi | |
open /Applications/Slack.app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First: Close all other applications, so that they don't interfere with the benchmark. | |
Second: Make sure that your computer is adequately cooled during the benchmark so it doesn't start thermal throttling. | |
Third: clone https://github.com/viktorklang/scala-futures/ | |
Fourth: git checkout wip-optimizations-√ | |
Fifth: start sbt |
I hereby claim:
- I am viktorklang on github.
- I am viktorklang (https://keybase.io/viktorklang) on keybase.
- I have a public key ASD8bMnlRJBBEHVUgA0_fuzExfoV__wn6K6teoI6d3QDKwo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#WARNING: Use at your own risk. No warranties expressed or implied. YMMV. Drive responsibly. Eat healthy. | |
#First, `cd` into the parent dir for all of your `sbt`/`maven` projects (I assume you have one of those) | |
find "$(cd ..; pwd)" -type d -name "target" -print0 | sudo xargs -0 tmutil addexclusion -p |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########## | |
# Win10 Initial Setup Script | |
# Author: Disassembler <[email protected]> | |
# Version: 1.7, 2016-08-15 | |
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/ | |
# THIS IS A PERSONALIZED VERSION | |
# This script leaves more MS defaults on, including MS security features. | |
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Use at your own risk. No warranties expressed or implied. YMMV. Drive responsibly. Eat healthy. | |
#for ZSH, I typically put these in my .zshrc | |
function restart_audio() { | |
command sudo killall coreaudiod && | |
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist && | |
sudo launchctl load /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist && | |
echo 'Audio daemon restarted' | |
} |
A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."
- Does the design expect failures to happen regularly and handle them gracefully?
- Have we kept things as simple as possible?
NewerOlder