"name": "uptime",
"name": "screen_capture",
"name": "location",
"name": "monitor_off",
"name": "monitor_on",
"name": "reboot",
"name": "ipconfig", ** Add wlan0
"name": "sync",
"name": "opkg_update",
# ~/.osx — http://mths.be/osx | |
############################################################################### | |
# General UI/UX # | |
############################################################################### | |
# Set computer name (as done via System Preferences → Sharing) | |
scutil --set ComputerName "Gab-MacBookAir" | |
scutil --set HostName "Gab-MacBookAir" | |
scutil --set LocalHostName "Gab-MacBookAir" |
" ============================================================================ | |
" Netrw Directory Listing (netrw v140) | |
" /Users/gprovencher/Projects/intello/clean_trafficstats | |
" Sorted by name | |
" Sort sequence: [\/]$,\<core\%(\.\d\+\)\=\>,\.h$,\.c$,\.cpp$,*,\.o$,\.obj$,\.info$,\.swp$,\.bak$,\~$ | |
" Quick Help: <F1>:help -:go up dir D:delete R:rename s:sort-by x:exec | |
" ============================================================================ | |
../ | |
clean_trafficstats/ |
#!/usr/bin/env ruby | |
# | |
# This script remotely logs into a Ruckus Zone Director and output sysinfo to json | |
# | |
require 'pty' | |
require 'expect' | |
require 'json' | |
require 'timeout' | |
password = ARGV.shift || 'ihintl' |
#!/usr/bin/env sh | |
# Supervisor Agent Easy install | |
# Execute like this: | |
# curl -k https://gist.githubusercontent.com/gabtastic/aa3efd902d940e4c2c34/raw?sd -s | sh | |
function installpackage { | |
if rpm -q $1 > /dev/null; | |
then | |
echo " $1 package already installed ..." |
#!/usr/bin/env sh | |
# Supervisor Agent Easy install | |
# Execute like this: | |
# curl -k https://gist.githubusercontent.com/gabtastic/910402ed1d027a5be332/raw -s | sh | |
function installpackage { | |
echo "Installing $1" | |
if rpm -q $1 > /dev/null; | |
then |
#!/usr/bin/env sh | |
# Supervisor Agent Easy install | |
# Execute like this: | |
# curl -k https://gist.githubusercontent.com/gabtastic/910402ed1d027a5be332/raw -s | sh | |
function installpackage { | |
echo "Installing $1" | |
if rpm -q $1 > /dev/null; | |
then |
#!/usr/bin/env sh | |
# Supervisor Agent Easy install | |
# Execute like this: | |
# curl -k https://gist.githubusercontent.com/gabtastic/234e0131b331d78c6b16/raw -s | sh | |
function installpackage { | |
echo "Installing $1" | |
if rpm -q $1 > /dev/null; | |
then |
#!/usr/bin/env sh | |
# Supervisor Agent Easy install | |
# Execute like this: | |
# curl -k https://gist.githubusercontent.com/gabtastic/b9bfafc0fbda37f42729/raw -s | sh | |
function installpackage { | |
echo "Installing $1" | |
if rpm -q $1 > /dev/null; | |
then |
#!/bin/bash | |
# Supervisor Agent Easy install | |
# Execute like this: | |
# curl -k https://gist.githubusercontent.com/gabtastic/b9bfafc0fbda37f42729/raw -s | sh | |
hostname=`hostname` | |
function installpackage { | |
echo "Installing $1" |