A quick tutorial that talks about test driven development using django unit testing.
- All
- How Tos & Tutorials
- Java
- JS & jQuery
- Kannel
- Open Source
- OpenGL
- Other
- Python & Django
- Quick Tips
- Scripts & Plugins
A small script that allows you to filter commit messages on code.google by committer.
A sublime text latex build system that compiles Latex files using pdfLatex and then opens them in a pdf viewer on Ubuntu.
Usually to get a “columns” effect in HTML we usually do the following: For each column create a div Then we give these divs a min-height, padding, margins, borders and make them float left or right. But now with HTML5
This tutorial is intended to be a straight to the point and forward introduction to the python web framework Django. If you do not have Django and Python already setup on your system, please follow this tutorial. Even though it
If you want to detect automatically everytime the contents of a dom element changes. All you have to do is attach the ‘DOMNodeInserted’ and ‘DOMNodeRemoved’ event handlers. $(‘#main’).bind(‘DOMNodeInserted’, function(event) { alert(‘inserted node’); }); $(‘#main’).bind(‘DOMNodeRemoved’,function(event) { alert(‘removed node’); }); So basically
A way to fix this is to boot into recovery mode (Using ClockworkMod). And then from the menu do the following: wipe data/factory reset wipe cache partition advanced > Wipe Dalvik Cache I am not sure if you must re-install
Today I was playing a little with jQuery on a django project, Then I came upon this error “Forbidden (403) CSRF verification failed. Request aborted”. I kept getting this error every time the application made an ajax call. And after
To get apt-get to work behind a proxy all you have to do is the following: Open the terminal Type in: $ sudo gedit /etc/apt/apt.conf Add the following to the file and save. Acquire::http::Proxy “http://username:password@proxyserver:port”; And that’s it!
When I first used Google Plus, the first thing that impressed me the most was the circles feature. And more importantly the way you can select friends and drag them all to a certain circle. So I made a very basic jQuey plugin that mimics the dragging multiple contacts part.
Today while I was playing around with git, I found my self unable to push anything to my newly created repository.
As all Samsung netbook owners may have noticed, the brightness goes crazy (alternates the brightness randomly) on Ubuntu 11.10
I’m a big fan of having my applications run in fullscreen mode, especially firefox. After Googling a little I found out how to disable the auto-hide feature! It’s super simple.
While developing with the Eclipse Graphical Modeling Framework, I’ve come across this one error that made zero sense to me: java.lang.IllegalStateException: Cannot modify resource set without a write transaction. This error means that you’re not allowed to execute a write transaction in a read-only domain, in other words you can’t edit your models from here
Don’t you ever wonder how to click on an element which is behind another element?? Well apparently this is very easy and is done with the CSS property “pointer-events”
This is a short tutorial on how to get delivery reports from kannel.
This is a simple and straightforward tutorial on how to install python and django on windows 7, as well as configure Eclipse to create python and django projects.
There is no excerpt because this is a protected post.
I thought I would start writing a series of tutorials about Eclipse GMF, mostly because I didn’t find MANY online tutorials for it that treated you as a beginner, or maybe I didn’t Google hard enough… Either ways I thought
So this is brief introduction about how to use 2D textures in openGL.
Theoretically If I have a square centered at [x, y, z] and I want to rotate it around itself, then we must apply 3 transformations:
M1 Translate to origin by [-x, -y, -z]
M2 Rotate around origin by 45deg
M3 Translate back by [x, y, z]
So after getting my new HTC, I just loved how everything was synced together, My google contacts with my cell contacts and how those could be linked to their facebook profiles. BUT what sucked thou is that I couldn’t save my facebook phonebook to my cell contacts or download them on my phone. (If you know how to do it please tell me =D)
Here I will describe how to setup a basic 3D scene using glViewPort and not glOrtho. There is basically 1 main thing to do: Setup the reshape function. WHY? Because this is the first thing that is called when the window is created, then the display function is called after-wards. BUT If you put the reshape function contents into the display function, it will work AS LONG AS you don’t resize the window.
There is 3 types of “Mouse Listeners” for OpenGL This detects mouse clicks: glutMouseFunc(); This detects mouse movement while the left button is held down thus “active motion”: glutMotionFunc(); This detects mouse movement while the no button is held down
You must first have Eclipse c++. If you don’t then download it from the Eclipse website. I used the MinGW compiler and the FreeGLUT libraries with Eclipse 3.4 on Windows 7. The Compiler Download the MinGW compiler from [link] Unzip
While playing around with the canvas element, and having more than one object and each object having its specific actions, I thought the best way to manage it would be by using JS objects. At first I thought it was going to be kind of difficult but it’s not! It REAL easy. So far I found 2 approaches on how to create JS objects.
I know css/css3, I know HTML, I know photoshop but I’m not THAT good at actually designing websites… I haven’t actually tried to design a full fledged site/blog, I’ve always wanted to but I never had the reason to? I
In my last post [clickie] I discussed how to implement nested dragging, in this post I’m going to extend it to dynamically loading data with the nested dragging. So you should probably read the other one first. How exactly will this work? There will be a parent node (draggable) which can have an infinite number of child nodes (draggableChild) which in turn can have an infinite number of children and so on. How is this done with nested dragging?
For the new smarter-scrum layout we decided to simulate a semi virtual desktop, which in the end ended up being a melting pot of dragging and dropping, and ALOT of JavaScript. One of the things I had to implement was enabling a draggable element within a draggable element that when dragged out of it’s parent acted independently . Even though it’s not hard to implement using JQuery, I hadn’t come across any web source that explained how to do THAT in particular,which was strange because everything is usually on the web. So I decided to go step by step on how to implement this using JQuery.
How to connect to a database, manipulate the results and adding the results to a JTable
There is no excerpt because this is a protected post.
There is no excerpt because this is a protected post.
There is no excerpt because this is a protected post.
There is no excerpt because this is a protected post.
There is no excerpt because this is a protected post.
There is no excerpt because this is a protected post.