- “Chained (Producer of the Month Club – May)” uploaded over 3 years ago
-
“Cat 5 – Week 3 – Producer Comp – Winner” uploaded almost 3 years ago
-
“GodFather” uploaded over 3 years ago
-
“Go Hyphy” uploaded over 3 years ago
-
“Chiropractor – Clox on the beat” uploaded over 3 years ago
-
“Whore Bitch” uploaded over 3 years ago
-
“Headache” uploaded over 3 years ago
-
“You’ll Never Take Me Alive – whos that tupac guy everyones…” uploaded almost 3 years ago
- “45 to the face” uploaded over 3 years ago
Aug
19
L.A. Proper Music via Dopetracks.com
Aug
17
Amazon EC2 + RightScale Ubuntu 10.04 LTS AMI + TinyDNS + DNSCache for internal/private name resolution
After reading tons of things on the intarwebs, i wasn’t able to find anything specific on running TinyDNS on an EC2 instance. after getting it configured and working. I decided to blog my steps victory. This write up assumes that you have a basic understanding of TinyDNS, Ubuntu and EC2. If you do not, there are plenty of docs out there. just use google
After creating the EC2 instance with port 22 open to all and port 53 open to your private network (10.0.0.0/24,) you will need to download daemontools and djbdns, compile and config them, and lastly test to make sure they are working.
First off we will need to download and install daemon tools.
cd /usr/local/src wget http://cr.yp.to/daemontools/daemontools-0.76.tar.gz tar -xzvf daemontools-0.76.tar.gz mv admin daemontools cd daemontools/daemontools-0.76 sed -i 's/^gcc.*/& -include \/usr\/include\/errno.h/' src/conf-cc ./package/install
Most of this is self explanatory, except for the second to last line which uses sed to append a path to the header file. after the install is complete, we will remove the tarball to clean up.
rm –f /usr/local/src/daemontools-0.76.tar.gz
and we have to add a start up script to /etc/init/ so that svscanboot actually starts on boot. please create the file ‘/etc/init/svscanboot.conf’ and add the below entries to it.
#svscanboot - daemontools description "regular background program processing daemon" start on runlevel [2345] stop on runlevel [!2345] respawn exec /usr/local/bin/svscanboot
Next we will download and compile djbdns, as well as create users for the software to run as.
to create the users for tinydns / dnscache run:
useradd -d /var/tinydns -s /bin/false tinydns useradd -d /var/tinydns -s /bin/false dnslog /usr/local/bin/tinydns-conf tinydns dnslog /var/tinydns 127.0.0.1
useradd -d /var/dnscache -s /bin/false dnscache useradd -d /var/dnscache -s /bin/false dnslog /usr/local/bin/dnscache-conf dnscache dnslog /var/dnscache/tinydns YOUR_EC2_Internal_IP
Now we will download and compile the source.
cd /usr/local/src wget http://cr.yp.to/djbdns/djbdns-1.05.tar.gz tar -xzvf djbdns-1.05.tar.gz cd djbdns-1.05 sed -i 's/^gcc.*/& -include \/usr\/include\/errno.h/' conf-cc make && make setup check
and then remove the tarball / source.
rm –f /usr/local/src/djbdns-1.05.tar.gz rm –rf /usr/local/src/djbdns-1.05
Now we will touch and edit some files in the /var/dnscache directory so that other computers can make requests to the host. the first file is ‘/var/dnscache/env/IP’
this should have your ip address already in it, please append ‘,127.0.0.1′ to this file so that dnscache will answer queries to both addresses. after that we will touch some files to grant access from specific IP address ranges.
echo ',127.0.0.1' > /var/dnscache/env/IP
touch /var/dnscache/root/ip/10 touch /var/dnscache/root/ip/127
Now we will need to add in specific entries so that your dnscache can query your tinydns service. The first entry is a reverse lookup entry while the last two are for the domain and TLD internal.
echo '127.0.0.1' > /var/dnscache/root/servers/10.in-addr.arpa echo '127.0.0.1' > /var/dnscache/root/servers/example.internal echo '127.0.0.1' > /var/dnscache/root/servers/internal
Now we will create some basic entries for our new TinyDNS service. our data file lives in ‘/var/tinydns/root/data’ after you make any modifications to this file, you must run make in this directory to compile the data and make your changes live.
cd /var/tinydns/root/ vi data
here is an example data file to get you started. just replace the 10.0.0.0 with your EC2 internal address and the domain example.internal with your domain name of choice
# default nameserver and domain lookup for example.internal and the TLD .internal ..:10.0.0.0:a:259200 .example.internal::ns.example.internal .internal:10.0.0.0:a:259200 # # REVERSE ZONE # # (reverse) dns servers: primary just add a second entry for a secondary server Z0.0.10.in-addr.arpa:ns.example.internal:hostmaster.example.internal:::::::: # NS records &0.0.10.in-addr.arpa::ns.example.internal::: # MX handlers @0.0.10.in-addr.arpa::relay.example.internal:10 # # FORWARD ZONE: # # SOA record: primary nameserver is ns.example.internal and hostmaster # mail address is hostmaster@example.internal Zexample.internal:ns.example.internal:hostmaster.example.internal:::::::: # NS records: primary &example.internal::ns.example.internal::: # MX records: relay.example.internal, distance = 10 @example.internal::relay.example.internal:10 # A records: ns.example.internal =ns.example.internal:10.0.0.0::: # PTR records: relays are in the same hosts as dns servers +relay.example.internal:10.0.0.0::: # more A records: gateway.example.internal =gateway.example.internal:10.0.0.1::: =www.example.internal:10.0.0.2::: =db.example.internal:10.0.0.3:::
Now save the data file and run make:
cd /var/tinydns/root/ && make
now that we have a compiled data file, we can symlink tinydns and dnscache to the /service directory so that daemontools can supervise these processes.
ln -sf /var/tinydns /service ln -sf /var/dnscache /service
So now that you have a running set of DNS services, we want to have our EC2 clients use these services.
For all client machines and the DNS host itself, you just need to modify your DHClient scripts to prepend your new domain and its related nameserver(s). In /etc/dhcp3/dhclient.conf will will be adding 3 lines above the ‘request’ entry. please replace 10.0.0.0 with your new Nameserver’s internal ec2 address, also replace the example.internal with your domain name.
prepend domain-name-servers 10.0.0.0; prepend domain-name "example.internal"; prepend domain-search "example.internal";
You should be setup correctly now. to confirm and test perform the below:
dig ns.example.internal
if this worked you should see that the server returning the results is the 127.0.0.1 loopback address.
e.g.:
;; SERVER: 127.0.0.1#53(127.0.0.1)
you can also use nslookup to confirm the server is working. (anything prefixed with ‘>’ is to represent the nslookup prompt.)
nslookup
> server _TinyDNS_EC2_internal_address_ > ns.example.internal
if all is working you will recieve output like this:
> ns.example.internal Server: 10.0.0.0 Address: 10.0.0.0#53 Non-authoritative answer: Name: ns.external.internal Address: 10.0.0.0 >
if you receive any other messages you more than likely have a configuration issue. Check your TinyDNS and DNScache configs first, then check your networking config. Make sure that your DNScache is replying to queries via the internal interface, while TinyDNS replies via 127.0.0.1.
thats all for now.
Enjoy.
-Austin
Mar
27
Multi TEMPerHUM Reading
First off the gz-tarball of the source
link to the original source before i added in the multi reader hack.
(https://github.com/jeixav/HID-TEMPerHUM)
And you will need this lib for compiling
(http://www.libusb.org/)
Basically, I already setup a single usb device reading and started logging it with cacti. I decided since this worked, I would need one for the ambient temp as well as room (veg, flower, etc.) specific temp and humidity reading. So i took the source from Jeixav and added in the ability to change which device you are reading, if you have more than one.
First install libusb and extract the src run make to compile the binary. Once the binary is compiled, then you can run it like so:
[root@theape TEMPerHUM]# ./temper 1 24.49 48.49 [root@theape TEMPerHUM]# ./temper 0 25.01 49.40./temper [device starting from zero]
the results are in Centigrade and Percentage of humidity.
Feb
28
Monitor Temp and Humidity via usb adapter and Cacti
Using Ubuntu 10.10, Cacti monitoring software, and a deal extreme USB Powered Thermometer + Hygrometer I am able to remotely monitor my indoor grow environment.
I am not going to cover how to install and setup ubnutu/cacti, but i will post my cacti templates as well as the custom c-binaries to read the usb stick. Also, please note the www-data (or cacti user) will need sudoers access to the hardware to run these c-binaries. In my configuration i have put the binaries in ‘/usr/bin/’.
You can download the gzipped tarball with xml templates and binaries here.
Centigrade Weekly (30 Minute Average)
Fahrenheit Daily (5 Minute Average)
Humidity Monthly (2 Hour Average)
Feb
28
Hot Teriyaki Beef Jerky Recipe v1
Hello All, this is a recipe I tinkered with for my first batch of beef jerky. I used carne asada (flap steak/meat) and had a lot of positive comments.
You will need the below ingredients, a dehydrator and oven for this recipe.
1 pound of your choice of beef (*note* thicker takes longer to cook/cure/prep)
2/3cup teriyaki
1/2 cup soy sauce
1/2 cup of no-pulp orange juice
1/4 cup water
2 tablespoons Worcestershire sauce
2 tablespoons brown sugar
1.5 teaspoons sea salt
1.5 teaspoons Tony’s creole
1 tablespoon honey
1 tablespoon fresh minced & then crushed garlic
1 tablespoon freshly ground black pepper
2 teaspoons onion powder (not salt)
These can be swapped with your favorite brand(s) of hot sauce.
2 tablespoons XXX Habenero hot sauce by El Yucateco
2 tablespoons Verde Habenero hot sauce by El Yucateco
1 tablespoons Tapatio Salsa / hot sauce
- slice beef into evenly portioned thin strips the thicker, the longer to cook/cure
- remove / trim large pieces of fat as they will not dry properly.
- marinade for 24-36 hours (i did 36)
- veg oil dehydrator drying trays
- put in dehydrator for 4-15 hours @ 160 degrees
- bake at (a min of 165 to) 200 degrees for 30 minutes (to kill any salmonella)
- let cool and you can enjoy! =D
Feb
23
This is a blog about…
Welcome to my blog, i thought i should start sharing things that I am successful with to the rest of the world. The question is, will I be loud enough?
I plan to write about cooking (amateur), horticulture (pro-am), computers (profession and hobby), audio, music (profession, hobby and addiction) and more.




