This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Creating directory structure" | |
mkdir -p ./tmproot/opt | |
mkdir -p ./tmproot/usr/local/bin | |
mkdir -p ./tmproot/usr/share/applications | |
mkdir -p ./tmproot/usr/share/icons/{hicolor,gnome} | |
echo "Downloading archive" | |
wget http://fritzing.org/download/0.8.7b/linux-64bit/fritzing-0.8.7b.linux.AMD64.tar.bz2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"builders": [ | |
{ | |
"type": "virtualbox-iso", | |
"guest_os_type": "RedHat_64", | |
"iso_url": "/home/kenny/Downloads/CentOS-6.5-x86_64-bin-DVD1.iso", | |
"iso_checksum_type": "none", | |
"ssh_username": "vagrant", | |
"ssh_password": "vagrant", | |
"guest_additions_mode": "attach", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO global: Vagrant version: 1.6.0 | |
INFO global: Ruby version: 2.0.0 | |
INFO global: RubyGems version: 2.0.14 | |
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.0/bin/vagrant" | |
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/bin/../embedded" | |
INFO global: VAGRANT_INSTALLER_VERSION="2" | |
INFO global: VAGRANT_DETECTED_OS="Linux" | |
INFO global: VAGRANT_INSTALLER_ENV="1" | |
INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1" | |
INFO global: VAGRANT_LOG="debug" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2ping_|-noarch | |
389-admin_|-i686 | |
389-admin_|-x86_64 | |
389-admin-console_|-noarch | |
389-admin-console-doc_|-noarch | |
389-adminutil_|-i686 | |
389-adminutil_|-x86_64 | |
389-adminutil-devel_|-i686 | |
389-adminutil-devel_|-x86_64 | |
389-console_|-noarch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global_config] | |
title_transmit_fg_color = "#f2f0ec" | |
title_inactive_fg_color = "#2d2d2d" | |
title_receive_bg_color = "#6699cc" | |
title_transmit_bg_color = "#f2777a" | |
title_receive_fg_color = "#f2f0ec" | |
title_inactive_bg_color = "#d3d0c8" | |
[keybindings] | |
[profiles] | |
[[default]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Creating directory structure" | |
mkdir -p ./tmproot/usr/local/bin | |
mkdir -p ./tmproot/usr/share/applications | |
mkdir -p ./tmproot/usr/share/icons/hicolor/256x256/apps | |
mkdir -p ./tmproot/usr/share/icons/gnome/256x256/apps | |
mkdir -p ./tmproot/opt/ | |
cd ./tmproot/opt | |
echo "Downloading tarball" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
bootstrapper_dialog() { | |
DIALOG_RESULT=$(dialog --clear --stdout --backtitle "Arch bootstrapper" --no-shadow "$@" 2>/dev/null) | |
} | |
################# | |
#### Welcome #### | |
################# | |
bootstrapper_dialog --title "Welcome" --msgbox "Welcome to Kenny's Arch Linux bootstrapper.\n" 6 60 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [[ -z $1 ]]; then | |
echo "Usage: $(basename $0) start|stop" >&2 | |
exit 1 | |
fi | |
if [[ $1 == "start" ]]; then | |
echo "starting container" | |
docker run -d -p 9000:9000 --privileged -v /var/run/docker.sock:/var/run/docker.sock --name dockerui dockerui/dockerui | |
echo "dockerui is now listening on localhost:9000" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [[ -z $1 ]]; then | |
echo "Usage: $(basename $0) HOSTNAME" >&2 | |
exit 1 | |
fi | |
ssh-copy-id $@ | |
ssh-copy-rsub $@ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
command="curl -s $1 2>/dev/null" | |
prev_output=$(eval "$command") | |
echo "$prev_output" | |
while :; do | |
curr_output=$(eval "$command") | |
curr_wc=$(echo "$curr_output" | wc -l) | |
prev_wc=$(echo "$prev_output" | wc -l) | |
wc_diff=$((curr_wc - prev_wc)) |