Skip to content

Instantly share code, notes, and snippets.

View fapestniegd's full-sized avatar

James S White fapestniegd

View GitHub Profile
switch to vmware-hostonly-1
/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A PREROUTING -p tcp -d 192.168.7.70 --dport 3389 -j DNAT --to-destination 10.0.1.128:3389
iptables -t nat -A POSTROUTING -p tcp -d 10.0.1.128/32 --dport 3389 -j SNAT --to-source 10.0.1.1
whitejs@loki:~$ ruby -rresolv -e 'res = Resolv::DNS::new; p res.getaddress("websages.com").to_s'
"65.19.178.149"
whitejs@loki:~$ ruby -rresolv -e 'res = Resolv::DNS::new( { "nameserver" => [ "65.19.178.106" ] } ); p res.getaddress("websages.com").to_s'
/usr/lib/ruby/1.8/resolv.rb:702:in `recv': Connection refused - recvfrom(2) (Errno::ECONNREFUSED)
from /usr/lib/ruby/1.8/resolv.rb:702:in `recv_reply'
from /usr/lib/ruby/1.8/resolv.rb:618:in `request'
from /usr/lib/ruby/1.8/resolv.rb:489:in `each_resource'
from /usr/lib/ruby/1.8/resolv.rb:938:in `resolv'
from /usr/lib/ruby/1.8/resolv.rb:936:in `each'
from /usr/lib/ruby/1.8/resolv.rb:936:in `resolv'
Counting objects: 5, done.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 348 bytes, done.
Total 3 (delta 1), reused 0 (delta 0)
To [email protected]:gitosis-admin.git
0e30dc9..656bab6 master -> master
Counting objects: 5, done.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 348 bytes, done.
Total 3 (delta 1), reused 0 (delta 0)
Country Name (2 letter code) [AU]:US
State or Province Name (full name) [Some-State]:
Locality Name (eg, city) []:
Organization Name (eg, company) [Internet Widgits Pty Ltd]:
Organizational Unit Name (eg, section) []:
Common Name (eg, YOUR name) []:
Email Address []:
We have a client in need of a Senior Systems-SAN Engineer. Our client is willing to train the “SAN” portion if experience is limited in this area. The Focus is IBM/AIX Systems experience that has the capability to learn the SAN portion.
Our Client has two positions open with compensation between 75 and 85k depending on experience. This is a full time position and is located in Franklin area.
If you are not interested in such a position but know of someone that might be please feel free to send their info and or your resume in word format to [email protected]
# APPEND_VERSION='-net5501'
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.35.12
# Tue Jun 19 14:26:11 2012
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
# CONFIG_X86_64 is not set
CONFIG_X86=y
SR IT System Administrator - UNIX
Dollar General Corporation - Goodlettsville, TN
Do you have at least 7 years as a UNIX Systems Administrator, including significant experience with... and develop strategy for UNIX and LINUX servers...
From Dice - 7:38 PM - save job, email, block, more...
for n in `seq 2 253`;do NAME=''; ping -w3 -c3 192.168.7.${n} >/dev/null 2>&1; PINGS=$?; NAME=$(dig +short -x 192.168.7.${n}); if [ "${NAME}" == "" ]; then if [ ${PINGS} -ne 0 ];then echo 192.168.7.${n} is available;fi;fi; done
#!/bin/bash
################################################################################
# using this host's credentials, look up the (yes, plaintext) userpassword for
# cn=LDAP Anonymous,ou=Special,dc=websages,dc=com, to which all members or
# ou=Hosts have read (ACL in /etc/ldap/slapd/domains/${f.q.d.n}_slapd.conf)
# so that we can put it in the global ldap.conf, such that we can disable
# "true" anonymous binds, but getent will work for everyone, because the
# /etc/ldap.secret won't have to exist and be mode 0600
################################################################################
export PATH="/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin"
telnet localhost 6667
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
:172.16.0.1 NOTICE AUTH :*** Looking up your hostname...
:172.16.0.1 NOTICE AUTH :*** Checking Ident
:172.16.0.1 NOTICE AUTH :*** No Ident response
:172.16.0.1 NOTICE AUTH :*** Couldn't look up your hostname