Category Archives: Web Apps

If you’re moving or copying MySQL Binary files be sure to do the following:

Read More »

Here’s an explanation of a desktop setup for Ubuntu Intrepid Ibex.

Read More »

Multi form “http post” with python.

Read More »

The geniuses over at Dreamhost decided to upgrade their Rails without telling anyone and without providing instructions on how to upgrade older apps meaning hundreds of websites crashing and not working for days.
Read More »

Joomla 1.5 has an interesting quirk with Placehere Content Item Module.

Read More »

Drupal does not show the correct $node->path when a user is not authenticated in some drupal pages.

Read More »

Recurring subscription payments in Ubercart are covered by this module.

Read More »

Some nice candidates for Serif siFR Flash Fonts are:

  • Serif Bold (Standard Gimp Linux)
  • Utopia
  • DejaVu Serif Bold
  • Courier 10 Pitch Bold

A nice san-serif font Nimbus Sans L Bold Font.  Be good to use with siFR Flash Fonts.

Deki Wiki is cool but Apache is really too bloated.

Here’s how to get it working on Nginx Ubuntu.

Read More »

Want to bulk delete .svn folders recursively?

Warning: Before you use this command make sure you have changed to the correct directory where you want to apply this. example:

cd /mysvn/path/iwant/to/delete/svn/folders

find -name "\.svn" -exec rm -rf {} \;

If you want to set a limit when you iterate a list in python slice it up by doing this:


for i in list[0:6]:
print i

This will list the first 5 items.

You can’t use ‘tidy’ python binding with App Engine as far as I know so use this for cleaning up your xml and html characters:


import cgi
string = str('I hate monkey & hyena characters')
cgi.escape(string)

Should print out:

I hate monkey & hyena characters

If you want to change the content type or mime type for your Google App Engine template:


self.response.headers['Content-Type'] = "application/xml"

Full example:


class MainPage(webapp.RequestHandler):
def get(self):
greetings_query = databasemodel.all()

template_values = {
'greetings': greetings_query
}
self.response.headers['Content-Type'] = "application/xml"
path = os.path.join(os.path.dirname(__file__), 'templates/index.xml')
self.response.out.write(template.render(path, template_values))

Here’s a quick set up for Google App Engine’s SDK on Nginx.

Read More »

One easy way to compare lists in python is to use Python Sets.

Read More »

Web 2.0 Design Tutorials.

Read More »

A list of cheap web 2.0 logo banner avatar design services.

Read More »

A Beautiful Site is a beautiful site and it shows in this article how to have external PopUp links using Jquery.

Read More »

Here is a nice Google Map API PHP API, class, functions, library etc.

Read More »

The solution:

updatedb
locate CA.sh
locate CA.pl
…./CA.sh –newca

Start an SVNServe Daemon

svnserve -d –listen-port=5555 -r /home/svn/dir

update [table_name] set [field_name] = replace([field_name],’[string_to_find]‘,’[string_to_replace]‘);

If you get the error:

mysqlimport: Error: Table ‘database.mydatabase’ doesn’t exist

Read More »

A simple tutorial on how to obtain geo coordinates with php and the Google Maps API.

Read More »