Introduction to Python Modules
If you want to write a somewhat longer program, you are better off using a text editor to prepare the input for the interpreter and running it with that file as input instead. This is known as creating a script. As your program gets longer, you may want to split it into several files for easier maintenance. To support this, Python has a way to put definitions in a file and use them in a script or in an interactive instance of the interpreter. Such a file is called a module.
July 19 2014 - 04:14 • Read More
Android working with Google Maps V2 and Custom Markers
Implementing Google Maps on your Android application is easy. If you have a basic concept of how things works on Android, you will understand fast how to implement Google Maps V2 on your application. In this tutorial you are going to learn how to add Google Maps V2 to your application, also create custom markers and create custom
InfoWindow (those boxes that show up when you click a marker). After that you have a simple example that explains these three features.
April 20 2014 - 03:04 • Read More
Android emulator SQLite database location
It seems a lot of people face this issue when trying to locate the .db database file of their application. Well, there is an easy way to find the database location and even open it. It's explained in this post.
December 18 2013 - 12:51 • Read More
Browsing webpages in Python with Mechanize
Browsing web pages, or making some web-scrapping with python is easy if you have a good tool. The Mechanize module in Python is similar to perl WWW:Mechanize. It gives you a browser like object to interact with web pages. In this post I'll show you how to extract data from a webpage using Mechanize.
November 01 2013 - 14:07 • Read More
GridView with Auto Resized Images on Android
Once I was trying to create a GridView with two columns and auto resized images. I was facing some problems, like the images was being stretched into each view, and being shown wrongly, also I wanted to create a label on bottom of each image but attached to the bottom of the view, and wasn't being able to accomplish that. So after a little research and testing, I've learned a trick, with the help of the android community, that, creating a custom class for the ImageView and doing some other tricks would help.
This post will guide you through this proccess.
November 01 2013 - 00:03 • Read More
Working with Fragments and ViewPager on Android
In this post I'll teach you how to work with Fragments and ViewPager on android. You will learn the steps and process to implement fragments on your application, using Android Support Library. Also you will learn how to make it support older android versions(2.2+). I know fragments might be tough to learn, I've faced many difficults to understand how fragments work, but I'll try to explain to you in the easiest way how it works, and how to implement it. Also you will learn how to integrate it with ViewPager, so you have a fragment per page, and you can scroll horizontally to change pages.
October 20 2013 - 06:21 • Read More
Skinning the Chrome Developer Tools
Back in 2011, +Darcy Clarke wrote a kick-ass post about how to skin the Chrome Developer Tools with your own custom stylesheet. The basic idea was to locate Chrome's user stylesheet directory then drop-in your own Custom.css file.
In this post I'll guide in how to modify the theme of your Chrome Developer Tools.
September 03 2013 - 15:20 • Read More
440Hz – Conspiracy against the human mind?
Most music worldwide has been tuned to 440 hertz since the International Standards Organization (ISO) endorsed it in 1953. The recent rediscoveries of the vibratory / oscillatory nature of the universe indicate that this contemporary international concert pitch standard may generate an unhealthy effect or anti-social behavior in the consciousness of human beings.
August 27 2013 - 16:30 • Read More
Install broadcom bcm43xx wireless driver on slackware
I had a great problem with wireless drivers when I installed slackware on my computer. The only solution I found was building the driver myself. Here i will explain you how to do it.
July 17 2013 - 12:02 • Read More
How to Enable Auto Save Mode on Sublime Text 2
Wonder how to set the auto save mode on sublime text 2? It's pretty easy.