VS Code Plugins and configuration tips
https://code.visualstudio.com/docs/setup/setup-overview
defaults write -g com.apple.trackpad.scaling -float 5.0 |
#!/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 |
https://code.visualstudio.com/docs/setup/setup-overview
Future
optimizationsFirst: 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:
To claim this, I am signing this object:
#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 |
########## | |
# Win10 Initial Setup Script | |
# Author: Disassembler <disassembler@dasm.cz> | |
# 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 |
#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."