TODO: Write a project description
TODO: Describe the installation process
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl https://www.npmjs.org/install.sh | sh |
####### Shortcut Hotkeys ############# | |
# open terminal | |
alt - return : open -n /Applications/Alacritty.app | |
# restart Yabi, SpaceBar, and SKHD | |
alt + shift - r : \ | |
launchctl kickstart -k "gui/${UID}/homebrew.mxcl.yabai"; \ | |
skhd --reload | |
You can break these rules if you can talk your pair into agreeing with you.
## Prepare ################################################################### | |
# Remove RVM | |
rvm implode | |
# Ensure your homebrew is working properly and up to date | |
brew doctor | |
brew update | |
## Install ################################################################### |
#!/usr/bin/env node | |
var COMPILED = false; | |
var goog = goog || {}; | |
goog.NODE_JS = true; | |
goog.global = goog.NODE_JS ? eval("global") : this; | |
goog.global.CLOSURE_UNCOMPILED_DEFINES; | |
goog.global.CLOSURE_DEFINES; | |
goog.isDef = function(val) { | |
return val !== void 0; | |
}; |
Dashing widget to display Sonar metrics, connecting to either a secured or unsecured Sonar repository.
I created this widget after originally attempting to use EHadoux's simple Sonar widget, which did not allow access to my company's secured Sonar instance. Additionally, I implemented the ability to set up the widget using an external configuration file.
Please note that this is technically a job versus a widget, in that it periodically requests data from Sonar and pushes that to the list widget as the view.
#!/usr/bin/env ruby | |
#------------------------------------------------------------------------------ | |
# Aggregate Print useful information from /proc/[pid]/smaps | |
# | |
# pss - Roughly the amount of memory that is "really" being used by the pid | |
# swap - Amount of swap this process is currently using | |
# | |
# Reference: | |
# http://www.mjmwired.net/kernel/Documentation/filesystems/proc.txt#361 |
#!/bin/bash | |
# Settings: edit these as needed | |
PROJECT_NAME="test" | |
OUTPUT_DIRECTORY="~/Documents/MapBox/export/" | |
# first change into TileMill code directory | |
cd /Applications/TileMill.app/Contents/Resources/ | |
# hint: use http://bboxfinder.com/ to get bounds in lon/lat |