Skip to content

Instantly share code, notes, and snippets.

View fapestniegd's full-sized avatar

James S White fapestniegd

View GitHub Profile
@fapestniegd
fapestniegd / anonymous.conf
Last active December 12, 2015 10:08
/etc/proftpd.d
<Anonymous ~ftp>
User ftp
Group ftp
AccessGrantMsg "Anonymous login ok, restrictions apply."
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
MaxClients 10 "Sorry, max %m users -- try again later"
Sr. IT Systems Administrator - UNIX will architect, design and build complex environments
utilizing processor, memory, cache, storage, software and back up strategies while also
administering system security, backup and recovery. The Sr. IT Systems Administrator -
UNIX will also design and implement SAN configuration and disk storage and monitor and
tune system performance. This role will also support development , testing and production
system environments with the ability to trouble shoot and solve complex issues along with
planning, testing, updating, executing and supporting system disaster recovery processes
as well as administering user access to systems.
Core Competencies
;'sdlafkal;kdf/
al;ksdfj;alksdcm.
;klasdjf;lakdjf.
;klsdajf;lajkdf.
.lsdnkfl;akdfjl;a
afl;kja;dlkjf.
al;ksdfj;alksdcm.
al;sdkfja;ldfjk.
kjasdhfklh,
kl;sdjlkasjf.
#!/bin/bash
export PATH="/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin"
check_state(){
DGW=$(route -n | grep "^0.0.0.0 " | awk '{print $2}')
if [ -z "${DGW}" ]; then
echo 4
return;
fi
SA_COUNT=$(racoonctl show-sa isakmp| grep -v "^Destination" | wc -l)
if [ "${SA_COUNT}" -lt 1 ]; then
download 2012-10-28-wheezy-raspbian.zip
unzip 2012-10-28-wheezy-raspbian.zip into 2012-10-28-wheezy-raspbian.img
dd if=2012-10-28-wheezy-raspbian.img of=/dev/mmcblk0 bs=1M
Put the card into the raspberry pi, attach keyboard/mouse/ethernet/power & boot
It will boot inot raspi-config
in raspi-config
- run expand_rootfs to use your entire SD card
- run change_pass to change the password for the user pi
-----------------------
XBMC built successfully
-----------------------
real 707m19.624s
user 680m7.530s
sys 16m40.810s
root@raspberrypi:/var/cache/git/xbmc-rbp#
class recollections {
file { '/etc/apache2':
path => '/etc/apache2',
ensure => directory,
owner => root,
group => root,
mode => 755,
}
class recollections {
file { '/etc/apache2':
path => '/etc/apache2',
ensure => directory,
owner => root,
group => root,
mode => 755,
}
VERSIONS=$(git branch -r | grep 'aufs2.1-' | sed -e 's/.*origin\///')
for v in $(echo "${VERSIONS}"); do
git checkout ${v} || git checkout -b ${v} origin/${v}
done
~ # ls -la /vmfs/devices/disks
drwxr-xr-x 1 root root 512 Dec 11 02:18 .
drwxr-xr-x 1 root root 512 Dec 11 02:18 ..
-rw------- 1 root root 2199023256064 Dec 11 02:18 naa.60014052e51c25005bad002000000000
-rw------- 1 root root 2199022190592 Dec 11 02:18 naa.60014052e51c25005bad002000000000:1
-rw------- 1 root root 2199023256064 Dec 11 02:18 naa.60014052e51c25005bad003000000000
-rw------- 1 root root 2199022190592 Dec 11 02:18 naa.60014052e51c25005bad003000000000:1
-rw------- 1 root root 500107862016 Dec 11 02:18 t10.ATA_____WDC_WD5000BTKT2D40MD3T0_______________________WD2DWX51A71E1198
-rw------- 1 root root 209715200 Dec 11 02:18 t10.ATA_____WDC_WD5000BTKT2D40MD3T0_______________________WD2DWX51A71E1198:1
-rw------- 1 root root 499248103424 Dec 11 02:18 t10.ATA_____WDC_WD5000BTKT2D40MD3T0_______________________WD2DWX51A71E1198:2