One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
#!/bin/bash | |
. /etc/sysconfig/kernel | |
for i in $INITRD_MODULES $DOMU_INITRD_MODULES $MODULES_LOADED_ON_BOOT | |
do | |
if ! lsmod | grep"^$i[[:space:]]"&>/dev/null; then | |
echo $i | |
fi | |
done; echo |
stop_services() { | |
echo "Stopping services, it's probably safe to ignore any errors..." | |
for service in `chkconfig -list | awk '{print$1}' | grep -v ':\|ssh\syslog\|network\|mdadm\|dbus\|cron\|ccproc\|dnsmasq\|kbd'`; do | |
chkconfig $service off | |
/etc/init.d/$service stop | |
echo -n "Disabling and Stoping $service" | |
done | |
} |
#!/usr/bin/env bash | |
# Setup JAIL location | |
J=${JAIL:-/var/chroot/jaildir} | |
# For continuity define JAIL var. | |
JAIL=$J | |
mkdir -p $J/{bin,lib64,lib} | |
ls $J | |
cp -afv /bin/{bash,ls,rpm} $J/bin |
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
Interactive Beginners Tutorial: http://try.github.io/
- Install XCode | |
- Make your user an admin | |
- Create SSH keys | |
$ ssh-keygen | |
- Upload public key to Assembla & Github | |
$ cat ~/.ssh/id_rsa.pub | pbcopy |
Install SVN
$ brew options subversion
--universal
Build a universal binary
--with-gpg-agent
Build with support for GPG Agent
--with-java
Build Java bindings
--with-perl
#!/usr/bin/env bash | |
# This bootstraps installing ssh-keys to github | |
# set colors | |
if tput setaf 1 &> /dev/null; then | |
tput sgr0 | |
if [[ $(tput colors) -ge 256 ]] 2>/dev/null; then | |
ORANGE="$(tput setaf 172)" | |
else |
# --------------------------------------------------------------------------- | |
# | |
# 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 | |
# 5. Process Management |