Wordpress Setup with Remote MySQL Database

If you are trying to develop on a local machine and use the Database you dispose on Host Server you should: (This is possible only if your Host Allow MySQL Remote Access)

VMWare Tools Easy-Installing

The VMWare Tools Easy-Installing procedure is Enabled for the Following Linux Releases:


Ubuntu 11

Suse 11

Suse 12

OpenSuse 11

OpenSuse 12


For other Releases view the Site:

MySQL Prototype/Syntax to Create a Table for Testing with an Auto-increment ID Field

Some times is Not so easy Starting Out in MySQL Development just because there is Not an High-way Prepared to let you Run Quickly.

Here as my "first stone" to make the Developer Life "one plume" Lighter on MySQL I simply leave here a Ready-Made Table Prototype prepared in Rubish like Style.

This is a very simple "Fac-Simile" of SQL for Testing pourposes Fast Table Creation to execute at MySQL prompt:

Python MySQL Getting-Started on Linux

  1. Installation
  2. Connection
  3. Insertion
  4. Query


Prerequisite: Setuptools and Pip Installed for your Python platform

To Getting-Started working with MySQL in Python you need to have Installed the Module MySQL-python.

Drupal Automatic Running Cron

  1. You need to have Installed something like the Poormanscron Module.
  2. Navigate to this Admin area: admin/settings/site-information
  3. Right to the Bottom you find a Select list to Set the Temporal Interval
  4. Save and you are Done

Python Module Installation "EnvironmentError: mysql_config not found" in Linux

This should due to Missing Development Libraries from your MySQL Installation.

In Debian like in Ubunt you can easily resolve this probleme by installing the Package:

sudo apt-get install libmysqlclient-dev

After you can provide to Successfuly install MySQL Module for Python with:

Prepare to Install Python Modules with Setuptools and Pip


The Requisites to Install New Python Modules are at least to have the Python Setuptools Installed on your System.

To test if Setutools are present on your System, open a Terminal window and exec:

which easy_install

If Not look to this Python Tut -> Installing Setuptools

Download Webpage with Python and Urllib

The Python Urllib Module is present by Default on your System so you can make a little Python Script you call to Read and Save a Local Copy of a Webpage.

Open for Edit a File named for example and insert this code

Python BeautifulSoup Grab All Text Inside Html-Tag-Block

BeautifulSoup Dispose of a very Nice function that permit to Grab all the Text Contained Inside a Tag-Block.

For Example if you have an Html block to Parse like this:

<div class="first">
    <h3 class="second">The Title</h3>
    <a class="second">The Anchor
           <span class="third">The Span</a>

And you need to Get all the simple Text Contained inside of the Block marked by the <div> Tag.

Python Console Import All Modules at Once

When you Work enough on Console you easily are in a Situation of annoying Repeated Import Module Statements...

To make Working on Python Console a little bit Easier and Pleasant you can Pre-dispose an External File Containing the Import Declarations for all the Modules you need.


Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer