About: codeshift.net
- This is a Geebaby website by a Slovenian guy Jure Vrščaj, currently a freelance programmer and self-proclaimed truth seeker. Also, a fan of evolution.
- Get in contact via email: jure.vrscaj@gmail.com

- Follow his journey on twitter: radicalmojo
- Flame him on reddit: realmojo
- Peek at his delicious links: jure_vrscaj
- Pretend you are friends on facebook: stalkingmojo
- Dive into the source on github: jurev
2010-11-20 15:33 | comments
My idea for talk at #wwwh
AVTOR: Jure Vrščaj
VSEBINA:
Za razvoj aplikacij na Google App Engine obstaja veliko različnih ogrodij. Avtor bo predstavil produkt svojega dela v zadnjem mesecu, Geebaby web framework, ki se osredotoča na tri elemente posameznega spletnega zahtevka: Tags, Entities, Actions. Omogoča urejanje vsebine direktno preko tega kar vidiš na zaslonu, hrambo templateov v bazi, kot tudi hrambo same Python izvorne kode preko modula Knockout.
2010-11-03 07:02 | comments
The Cure For The LAZY PROGRAMMER
1. WAKE UP
You can sleep till noon, and be the cool lazy programmer. Or... you can do this:
A wake up calendar. If you manage to do this
EVERY DAY
for
3 MONTHS,
you will grow a new HABBIT.
2. REMOVE PROCRASTINATION TOOLS
Go ahead, open up reddit. I'm sure there's a SHITLOAD of new stuff you'd enjoy. Check your facebook... your ex is still with that DOUCHEBAG (Hey, I might be the guy, haha). Go to gmail, read those mails.
OR... you can use your LEET PROGRAMMING SKILLZ and do yourself a favor. Make a script that will ban all the sites that aren't making you productive. Only allow yourself to visit reddit, facebook, gmail for 1 hour in the morning. IF YOU WAKE UP, you can procrastinate from 7:00 to 8:00, providing your machine was turned on at 7:00, so that the cronjob could trigger.
3. CREATE A MORNING RITUAL
You are very smart. Very intelligent. Nobody F*CKS with you mentally. There is absolutely no way you would want to practice a ritual, something which is completely out of the mind and exists only in the domain of the reptilian brain. Well, punk, think again. If you do the ritual right, it will give you focus, and energy for the rest of the day. If you spend the whole year hacking, that morning ritual will keep you sane.
A sample ritual goes like this:
- wake up, the first thing you do, drink 1/2 liter of water (body needs it after the whole night it spent without)
- go do your stuff in the bathroom
- run for 10 minutes, lift weights for 10 or 20 minutes
- meditate (if you can)
- shower
- eat
4. GET TO WORK
Do it.
2010-11-02 14:29 | comments
Doctor and a gypsy
There were once a gypsy and a doctor. They were neighbours.
One day, the gypsy says: "My house is worth twice as much as your house."
Doctor, surprised, asks: "Why is that so?"
And the gypsy explains: "My house is just next to a doctor's house, and your house is next to a gypsy's."
2010-10-30 13:45 | comments
Flask with Werkzeug debugger on Google Appengine
Flask is a sweet little framework. It comes bundled with jinja2, werkzeug and nothing else. It works on GAE out-of-the box, but has a problem with werkzeug's awesome interactive debugger on the development server.
To fix the problem, you need this patch: werkzeug-debugger-appengine
Put it somewhere on the path, and then use it like this:
from werkzeug_debugger_appengine import get_debugged_app app.debug=True app = get_debugged_app(app)
So, the whole main.py file might look like this:
from wsgiref.handlers import CGIHandler
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello_world():
#foo
return "Hello World!"
if __name__ == '__main__':
from werkzeug_debugger_appengine import get_debugged_app
app.debug=True
app = get_debugged_app(app)
CGIHandler().run(app)
2010-10-26 15:30 | comments
The Way of the Lazy Blogger
I want to blog, and I am lazy. The process should be simple, the tools should be powerful.
Edit directly in browser using browser’s “edit-mode”
Writing content for the web sucks. To make it suck less, we’ll create and update content by manipulating HTML directly in browser, using edit-mode.Submit new content via AJAX to the server
When we’re done editing, the system submits the entire HTML to the server. The server parses the data (we’ll discuss this in the next section) and saves the new post to the database.Parsing the HTML on the server side
When the server receives the content, it does some magic. Using BeautifulSoup, it parses the title, body, tags(which are saved in the html as special class attributes), and possibly other metadata.Support for images
There are some options. We can always upload an image to an image hosting provider (like Photobucket, Picasa). If that takes too much time, there should be a way to automatically embed an image (either from disk or from the web). The solution that comes to mind is a special on-demand form, that lets you select an image, crop it, and let it be ...Zemanta on-demand, everywhere
I'm thinking Ubiquity or just a simple script bookmarklet, have to check what's already out there.
2010-10-23 19:19 | comments