Bash Create User Script

This is a very simple script to create users and set them up in a userdir enabled Apache environ. Shell#!/bin/bashif [ "$#" -ne 1 ]; then    echo "Usage: ./ <username>"&#16… more »

Screen Resolution - Web development

I have uses the statcounter for several years to help me adjust page layouts for web development. The mistake I have been making is that the browser does not usually have the entire screen resolution available. Today I took some time checked the windo… more »

eZ Publish - Adding Bootstrap Glyphicons

If you are using Bootstrap with eZ Publish, you can add a custom tag to include glyphicons which will allow editors to add the icons into their content. This is a simple implementation, it allows the user to enter the name of the icon they would like t… more »

eZ Publish - Object Relation Attributes - Reckless Cleanup

This is NOT A FIX for the code, but if you are getting confusing results for queries due to relationships between object relation attributes which were deleted from content classes, you may use this query: Backup your database first This is not for th… more »

Twitter Application Auth Sample - PHP

This is a sample PHP code which can be used to get a Twitter OAuth token for use in making API calls. It includes a trends available request that gets the list of countries for which Twitter trends are available. Be sure to read the documentation at t… more »