Save yourself a few keystrokes. Follow the steps below:
-
Run this Bash script on your laptop:
#!/usr/bin/env bash
| box-shadow:inset 0 1px 0 rgba(255,255,255,.6), 0 22px 70px 4px rgba(0,0,0,0.56), 0 0 0 1px rgba(0, 0, 0, 0.3); |
| #!/usr/bin/env node | |
| require(__dirname+"/processor-usage.js").startWatching(); | |
| var shouldRun = true; | |
| var desiredLoadFactor = .5; | |
| function blockCpuFor(ms) { | |
| var now = new Date().getTime(); | |
| var result = 0 |
| var os = require("os"); | |
| //Create function to get CPU information | |
| function cpuAverage() { | |
| //Initialise sum of idle and time of cores and fetch CPU info | |
| var totalIdle = 0, totalTick = 0; | |
| var cpus = os.cpus(); | |
| //Loop through CPU cores |
| -480p - Run tenfoot in 480p rather than 1080p | |
| -720p - Run tenfoot in 720p rather than 1080p | |
| -accesscode - | |
| -all_languages - show longest loc string from any language | |
| -batterytestmode - rapidly cycle battery percentages for testing | |
| -bigpicture - Start in Steam Big Picture mode | |
| -blefw - | |
| -cafeapplaunch - Launch apps in a cyber cafe context | |
| -candidates - Show libjingle candidates for local connection as they are processed | |
| -ccsyntax - Spew details about the localized strings we load |
| -accesscode - | |
| -batterytestmode - rapidly cycle battery percentages for testing | |
| -bigpicture - Start in Steam Big Picture mode | |
| -browser-offline - | |
| -cafeapplaunch - Launch apps in a cyber cafe context | |
| -candidates - Show libjingle candidates for local connection as they are processed | |
| -ccsyntax - Spew details about the localized strings we load | |
| -cef-allow-browser-underlay - Allow webhelper to create BrowserView underlays | |
| -cef-delaypageload - Enable early-out for known page loads | |
| -cef-disable-breakpad - disables breakpad in crash dumps |
| #!/bin/bash | |
| # Set up ssh-agent | |
| SSH_ENV="$HOME/.ssh/environment" | |
| function start_agent { | |
| echo "Initializing new SSH agent..." | |
| touch $SSH_ENV | |
| chmod 600 "${SSH_ENV}" | |
| /usr/bin/ssh-agent | sed 's/^echo/#echo/' >> "${SSH_ENV}" |
| #!/usr/bin/env python | |
| # install imagesize: pip install imagesize pyyaml | |
| __author__ = 'Olivier Pieters' | |
| __author_email__ = '[email protected]' | |
| __license__ = 'BSD-3-Clause' | |
| import yaml, imagesize | |
| from os import listdir, rename |
| #!/bin/bash | |
| set -e | |
| # Building LLVM on OSX CMake setup script | |
| # | |
| # Required: | |
| # - clang by Xcode6 or later | |
| # - cmake | |
| # - ninja | |
| # |
| # Note: not sure who wrote this, but thank you | |
| # Note: ~/.ssh/environment should not be used, as it | |
| # already has a different purpose in SSH. | |
| env=~/.ssh/agent.env | |
| # Note: Don't bother checking SSH_AGENT_PID. It's not used | |
| # by SSH itself, and it might even be incorrect | |
| # (for example, when using agent-forwarding over SSH). |