Set a goal to work on your personal project non-stop for 30 minutes.
If you need to google something, exercise personal restraint in not going to r/all instead. If you fail, sacrifice something in life you enjoy for a day.
If you succeed, increase by 10 minute increments.