$5 VPS – Droplets

If you haven’t yet heard about DigitalOcean’s $5 Virtual Private Server, you are missing out. I recently stumbled upon a comment on stack overflow that mentioned it. I created an account, logged in and pretty quickly had my own Virtual Machine up and running – for only $5 / month.

I choose an Ubuntu Server install and the smallest “Droplet” package, consisting of 1,000 GB bandwidth, 20 GB Solid State Hard Drive, “1 CPU” and 512MB RAM. After logging in and changing my password, I couldn’t help but feel impressed. It’s a full linux machine, and I was kind of expecting less. I setup my lamp stack, some of my own software, and away I went! I kind of want to get one for all of my online / server related needs. One for my private GitLab, another for my other websites, one for torrent trackers and other related stuff, misc software projects, VPN hub/PFSense/VPNSense…you name it!

If you are like me, you have been looking for a VPC for a long time but seldom find anything less than $50-$75 /month. But all you want to run is a simple server side application – it’s not like you need a super powerful Dell PowerEdge something or another. You just need something small foot print, powerful enough, and online 24/7. This is it. It’s funny to me because it’s cheaper than my HostGator web hosting account and it’s more capable. That is a Win-Win for you….and not so good for HostGator.

Head on over to DigitalOcean.com and check it out!


Posted in Uncategorized

Python 2.7 Windows Mouse AutoClicker v1

Originally I made this because I was tired of clicking so much in Minecraft when clearing out caves and stuff. I press the left LEFT CTRL key in a Windows system, and as long as that key is held down, your mouse will click ….really fast!

Capturing non-blocking mouse and keyboard events in Python 2.7 hs been a challenge. What a pain in the butt! You would think, of all things, there would already be an open source Auto Clicker out there written for Python, but alas, it must be buried.

So you run this program, it will check for an update and let you know
if I’ve posted any updates. Then you press LEFT CTRL to go click-crazy. Press Right CTRL to close the program. I’ve also taken the liberty of compiling the script down to an exe for windows users with py2exe.

Please, let me know if this works for you, and request some features if you would like!

Note: The program will crash if there isn’t an active internet connection or can’t reach my website for any reason. I’ll fix this in future releases.


Download from Github



import win32api, win32con
import time, sys
import httplib, urllib

def checkforupdates():
  params = urllib.urlencode({'p': 'autoclicker', 'v': 1})
  headers = {"Content-type": "application/x-www-form-urlencoded", "Accept": "text/plain"}
  http = httplib.HTTPConnection("pythonjohn.com", 80, timeout=5 )
  http.request( "POST", "/checkforupdates.php", params, headers )
  response = http.getresponse()
  data = response.read()
  return data

def click(x,y):

def headers():
  print '\n\n\n\n'
  print 'Simple AutoClicker By John Minton cjohnweb@gmail.com\n\n'
  print 'Get more cool Python Scripts from http://pythonjohn.com/\n\n' 
  print '***********************************************************\n'
  sys.stdout.write('Checking for updates: ')
  data = checkforupdates()
  print data + '\n\n***********************************************************'
  print '\n\n'
  print 'Press left CTRL to rapid left-click mouse button\n\n'
  print 'Press right CTRL to close program\n\n' 

def autoclicker():
  while True:
    while win32api.GetAsyncKeyState(win32con.VK_LCONTROL):
      print 'Left CTRL'
      a, b = win32api.GetCursorPos()
      click(a, b)
    if win32api.GetAsyncKeyState(win32con.VK_RCONTROL):

def main():


Posted in Python Tagged with: ,