Skip to content

Instantly share code, notes, and snippets.

Terry J Fundak tjsoftworks

View GitHub Profile
@tjsoftworks
tjsoftworks / _readme.md
Created Jan 6, 2017 — forked from maxivak/_readme.md
Vagrant with Ubuntu 16.04 in VirtualBox
View _readme.md

Setup Ubuntu 16.04 to be used with Vagrant and Virtualbox

Prepare Vagrant box with Ubuntu 16.04

We will use official box "ubuntu/xenial64" and modify it to work with Vagrant.

  • Vagrantfile
@tjsoftworks
tjsoftworks / brew-java-and-jenv.md
Created Nov 11, 2016 — forked from tomysmile/brew-java-and-jenv.md
How To Install Java 8 on Mac
View brew-java-and-jenv.md

Install HomeBrew first

brew update
brew tap caskroom/cask
brew install brew-cask

If you get the error "already installed", follow the instructions to unlink it, then install again:

@tjsoftworks
tjsoftworks / APC PDU Monitor Instructions
Created Oct 21, 2016 — forked from bmatherly/APC PDU Monitor Instructions
Script to control an APC MasterSwitch PDU to reset an outlet when the network stops working
View APC PDU Monitor Instructions
sudo cp netmonitor.sh /usr/bin/netmonitor.sh
sudo chmod 755 /usr/bin/netmonitor.sh
sudo crontab -e
Add to crontab:
*/2 * * * * /usr/bin/netmonitor.sh 2>&1 | /usr/bin/logger -t netmonitor
@tjsoftworks
tjsoftworks / .bash_profile
Last active Jul 4, 2016 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
View .bash_profile
# 20160704 - Cloned this gist from natelandau/.bash_profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
@tjsoftworks
tjsoftworks / jdk_download.sh
Last active Feb 11, 2016 — forked from P7h/jdk_download.sh
Script to download JDK / JRE / Java binaries from Oracle website from terminal / shell / command line / command prompt
View jdk_download.sh
##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### #####
### Shell script to download Oracle JDK / JRE / Java binaries from Oracle website using terminal / command / shell prompt using wget.
### You can download all the binaries one-shot by just giving the BASE_URL.
### Script might be useful if you need Oracle JDK on Amazon EC2 env.
### Script is updated for every JDK release.
### Features:-
# 1. Resumes a broken / interrupted [previous] download, if any.
# 2. Renames the file to a proper name with including platform info.
View gist:4bac33d6e26bbef88478
>>vagrant provision
the ffi-yajl and yajl-ruby gems have incompatible C libyajl libs and should not be loaded in the same Ruby VM
falling back to ffi which might work (or might not, no promises)
==> default: Loading Berkshelf datafile...
....
All good...in the run... I think
Is this normal? Same happens on
>>vagrant up.
You can’t perform that action at this time.