Blackhat Trick of the Month

I tell you.. some people are so insanely smart but only thing they do with their God given talent is to commit fraud, steal, and cheat so they can earn a quick few buck.

I noticed this Facebook event (http://www.facebook.com/event.php?eid=257445880943494)

Being the cynical man that I am, i took a look at the URL redirect.

Where does it go?

And what’s on the website?
Yeap.. a HIGH paying adsense ad for insurance (as adsense publisher, i think u can get anywhere between $10-30 a click)

Let’s do the math.

7000+ people fell for this.. which means 7000+ clicks… which means $10-30 per click x 7000 = minimum, well over $70k -$210k in adsense fraud.

Dog Teeth Cleaning Prices for San Jose Veterinarians/Pet Hospitals

For you people, i called them and asked each and everyone..

Enjoy. OH yeah, click on my ads. Thanks.

  1. East Hills Veterinary Clinic,  $160+
  2. VCA Almaden Valley Animal Hospital, free exam w/online coupon, $290 cleaning
  3. Lincoln Avenue Veterinary Clinic, initial $65 + cleaning $300
  4. Burbank Pet Hospital (no health/extractions ), $53 exam, $65 blood, $245 cleaning = 363
  5. Parktown Veterinary Clinic, $50 exam, $195 cleaning, $75 blood ($100 extraction)
  6. Calaveras Veterinary Clinic, $400 + additional
  7. Arroyo Animal Clinic, exam $65, $385 cleaning
  8. The Whole Pet Vet, $68 exam, $200-600
  9. VCA blossom animal hospital – free exam, vaccinations $20-30, $298 cleaning
  10. Evergreen Veterinary Clinic – exam $59, <50 lbs $575
  11. Story Road Animal Hospital – $270 incl. exam + anesthesia, extra for extraction 40-60
  12. East Hills Veterinary Clinic,  $160+
  13. VCA Almaden Valley Animal Hospital, free exam w/online coupon, $290 cleaning
  14. Lincoln Avenue Veterinary Clinic, initial $65 + cleaning $300
  15. Burbank Pet Hospital (no health/extractions ), $53 exam, $65 blood, $245 cleaning = $363
  16. Parktown Veterinary Clinic, $50 exam, $195 cleaning, $75 blood ($100 extraction)
  17. Calaveras Veterinary Clinic, $400 + additional
  18. Arroyo Animal Clinic, exam $65, $385 cleaning
  19. The Whole Pet Vet, $68 exam, $200-600
  20. VCA blossom animal hospital – free exam, vaccinations $20-30, $298 cleaning
  21. Evergreen Veterinary Clinic – exam $59, <50 lbs $575
  22. Story Road Animal Hospital – $270 incl. exam + anesthesia, extra for extraction $40-60/tooth

How to Install Latest Ruby on Rails on Ubuntu Linux

After pulling MUCH of my hair (not that I have much left), finally found out the BEST solution from this blog post

  1. Download and install VirtualBox
  2. Download an ISO of Ubuntu 11.04
  3. Create a VM from the Ubuntu ISO
  4. Launch a terminal and prepare Ubuntu for Ruby (instructions adapted from this site)
    1. sudo -i
    2. apt-get update
    3. apt-get -y install build-essential zlib1g zlib1g-dev libxml2 libxml2-dev libxslt-dev libopenssl-ruby libcurl4-openssl-dev libssl-dev mysql-server
    4. apt-get -y install git-core
    5. apt-get -y install curl wget
  5. Now, build and install Ruby from source (sudo is implied)
    1. cd /usr/local/src
    2. wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p180.tar.gz
    3. tar -xvf ruby-1.9.2-p180.tar.gz
    4. cd ruby-1.9.2-p180
    5. ./configure
    6. make
    7. make install
  6. Install the gems, including Rails and Passenger, as well as the web server, nginx
    1. gem install rails
    2. gem install passenger
    3. passenger-install-nginx-module
  7. If you receive an OpenSSL error, follow these steps:
    1. cd /usr/local/src/ruby-1.9.2-p0/ext/openssl
    2. ruby extconf.rb
    3. make
    4. make install
  8. Configure nginx to run as a service and to start with the vm (instructions adapted from this site)
    1. adduser –system –no-create-home –disabled-login –disabled-password –group nginx
    2. gedit /etc/init.d/nginx (paste the following code in the file and save it)
    3. #! /bin/sh### BEGIN INIT INFO
      # Provides:          nginx
      # Required-Start:    $all
      # Required-Stop:     $all
      # Default-Start:     2 3 4 5
      # Default-Stop:      0 1 6
      # Short-Description: starts the nginx web server
      # Description:       starts nginx using start-stop-daemon
      ### END INIT INFOPATH=/opt/nginx/sbin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
      DAEMON=/opt/nginx/sbin/nginx
      NAME=nginx
      DESC=nginxtest -x $DAEMON || exit 0# Include nginx defaults if available
      if [ -f /etc/default/nginx ] ; then
      . /etc/default/nginx
      fi
      set -e
      . /lib/lsb/init-functions
      case "$1" in
      start)
      echo -n "Starting $DESC: "
      start-stop-daemon --start --quiet --pidfile /opt/nginx/logs/$NAME.pid \
      --exec $DAEMON -- $DAEMON_OPTS || true
      echo "$NAME."
      ;;
      stop)
      echo -n "Stopping $DESC: "
      start-stop-daemon --stop --quiet --pidfile /opt/nginx/logs/$NAME.pid \
      --exec $DAEMON || true
      echo "$NAME."
      ;;
      restart|force-reload)
      echo -n "Restarting $DESC: "
      start-stop-daemon --stop --quiet --pidfile \
      /opt/nginx/logs/$NAME.pid --exec $DAEMON || true
      sleep 1
      start-stop-daemon --start --quiet --pidfile \
      /opt/nginx/logs/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS || true
      echo "$NAME."
      ;;
      reload)
      echo -n "Reloading $DESC configuration: "
      start-stop-daemon --stop --signal HUP --quiet --pidfile /opt/nginx/logs/$NAME.pid \
      --exec $DAEMON || true
      echo "$NAME."
      ;;
      status)
      status_of_proc -p /opt/nginx/logs/$NAME.pid "$DAEMON" nginx && exit 0 || exit $?
      ;;
      *)
      N=/etc/init.d/$NAME
      echo "Usage: $N {start|stop|restart|reload|force-reload|status}" >&2
      exit 1
      ;;
      esac
      exit 0

    4. chmod +x /etc/init.d/nginx
    5. /usr/sbin/update-rc.d -f nginx defaults
    6. /etc/init.d/nginx start
  9. Done

In step 6, command “gem” might not be installed correctly.. in that case, do this

1. Download latest ruby gems (.tgz) from here

2. unzip, then run “ruby setup.rb”

3. VOILA