I hereby claim:
- I am spezd on github.
- I am spezd (https://keybase.io/spezd) on keybase.
- I have a public key ASDefshm-Wule-jCyOFdgzIAKW7p5SGNMlTJXh1zTU8QWgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| /** | |
| * This script prints updates all installed Jenkins Plugins with the latest version. | |
| * | |
| * Run this script using the Script Console (via http://<jenkins-url:port>/script) | |
| */ | |
| import jenkins.model.Jenkins; | |
| pm = Jenkins.instance.pluginManager |
Custom recipe to get macOS 10.12 Sierra running from scratch, setup applications and developer environment. This is very similar (and currently mostly the same) as my 10.11 El Capitan setup recipe and 10.10 Yosemite setup recipe. I am currently tweaking this for 10.12 Sierra and expect to refine this gist over the next few weeks.
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. I generally reinstall each computer from scratch every 6 months, and I do not perform upgrades between releases.
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 o
| #!/bin/bash | |
| ##################################################################### | |
| # Benchmark Script 2 by Hidden Refuge from FreeVPS # | |
| # Copyright(C) 2015 - Hidden Refuge # | |
| # License: GNU General Public License 3.0 # | |
| # Github: https://github.com/hidden-refuge/bench-sh-2 # | |
| ##################################################################### | |
| # Original script by akamaras/camarg # | |
| # Original: http://www.akamaras.com/linux/linux-server-info-script/ # | |
| # Original Copyright (C) 2011 by akamaras/camarg # |
| #!/bin/sh | |
| LOG_FILE="/var/log/freebsd-update.log" | |
| echo "Starting updates: `date`" | tee -a ${LOG_FILE} | |
| echo "***" | |
| echo "*** Checking for FreeBSD patches..." | |
| echo "***" | |
| /usr/sbin/freebsd-update fetch | tee -a ${LOG_FILE} | |
| /usr/sbin/freebsd-update install | tee -a ${LOG_FILE} |
| #!/bin/bash | |
| # ssh-multi | |
| # D.Kovalov | |
| # Based on http://linuxpixies.blogspot.jp/2011/06/tmux-copy-mode-and-how-to-control.html | |
| # a script to ssh multiple servers over multiple tmux panes | |
| starttmux() { | |
| if [ -z "$HOSTS" ]; then |
| Handlebars.registerHelper("prettyDate", function (time) { | |
| var date = new Date((time || "")), | |
| diff = (((new Date()).getTime() - date.getTime()) / 1000), | |
| day_diff = Math.floor(diff / 86400); | |
| // exit now if not a number... | |
| if ( isNaN(day_diff)) return; | |
| if ( day_diff < 0 ){ | |
| // this is in the future... |
| # https://github.com/seebi/tmux-colors-solarized/blob/master/tmuxcolors-256.conf | |
| set-option -g status-bg colour235 #base02 | |
| set-option -g status-fg colour136 #yellow | |
| set-option -g status-attr default | |
| # set window split | |
| bind-key v split-window -h | |
| bind-key b split-window | |
| # default window title colors |