Search the Site
Sponsors
Programming Code Samples
Java
Encrypt a string using SHA encryption
Get files from a directory in the file system using Java
Java hashtable sample usage
Java method to convert a string to proper or initial case
Java method to round a number to specified decimal places
Sort an array of File objects by last modified date in Java
Use Java to generate Word document from XML template
Scripting Code Samples
PHP
Get image width and height with PHP
How to output a string in PHP
Performing 301 Redirect with Apache, IIS, PHP, and others
Update Twitter status programmatically with PHP and cURL
ASP
Performing 301 Redirect with Apache, IIS, PHP, and others
ASP.NET
Performing 301 Redirect with Apache, IIS, PHP, and others
JSP
Performing 301 Redirect with Apache, IIS, PHP, and others
Perl
Performing 301 Redirect with Apache, IIS, PHP, and others
Shorten long URLs with Perl, cURL, and the short.to API
Update Twitter status programmatically with Perl and cURL
Javascript
Convert text to upper or lower case
Custom trim() functions in Javascript
Get current mouse cursor position with Javascript
Javascript delay function
Javascript pause function
Lorem ipsum automatic text generator in Javascript
Using Javascript to manipulate HTML select-dropdown boxes
VBScript
Building an AIM buddy list from your database employee table with VBScript
Checking admin share free space and folder space usage
Checking for unauthorized local Windows administrator group members with VBScript
Generating a report of user password expiration status
Logging Windows events with VBScript
Rollback Oracle transactions in VBScript
Sending emails using VBScript
Writing SQL output to CSV with VBScript
Cold Fusion
Performing 301 Redirect with Apache, IIS, PHP, and others
Ruby on Rails
Performing 301 Redirect with Apache, IIS, PHP, and others
Web Publishing Articles
Cascading Style Sheets (CSS)
Creating a PRE text area with scroll bar
Search Engine Optimization (SEO)
How to get more external links
HTML meta tags guide with focus on SEO
Keyword Research – Why and How
Performing 301 Redirect with Apache, IIS, PHP, and others
SEO 101
Simple HTML tips for better search engine placement
Using canonical tag to avoid duplicate content penalties
Web Analytics
Tracking outgoing links with Google Analytics
Database Code Samples
Oracle
Adding or subtracting months or years for Oracle dates
Building an AIM buddy list from your database employee table with VBScript
Changing Oracle 11g password sensitivity
Cleaning up the listener log
Create an auto-increment field in Oracle
Creating an Oracle table pre-filled with random values
Creating database links
Custom is_number() and is_date() functions in Oracle
Custom split() function in Oracle
Display Oracle instance uptime
Drop columns in an Oracle table
Export Oracle synonyms to text file
Export Oracle users to text file
Generating random numbers, characters, and dates with Oracle SQL
Get dates corresponding to calendar week days in Oracle
How to use the ampersand (&) symbol in SQL statements as a literal value
Identify database locks
Inserting multiple records at once into a database table
Manually deleting an Oracle 11g database
Manually incrementing an Oracle sequence by a defined amount
Oracle 11g Data Guard switchover/failover quick step-by-step guide
Oracle 11g database creation quick step-by-step guide
Oracle database health checks
Oracle SQL case expression
Oracle user management
Pivot table with Oracle SQL
Recover from a bad update statement with Oracle flashback
Remove unwanted line feeds in your data with Oracle SQL
Resolving Oracle large temp tablespace size problem
Rollback Oracle transactions in VBScript
TNS Listener service missing
Updating Oracle table with data from multiple tables using subquery
Using dummy table to select pseudocolumns
Using Oracle Data Pump
Using Oracle RMAN to duplicate a database
Writing SQL output to CSV with VBScript
MySQL
Building an AIM buddy list from your database employee table with VBScript
Inserting multiple records at once into a database table
MySQL backup and recovery
Performing MySQL query with case sensitivity
Recovering from MySQL *.MYI corruption
Writing SQL output to CSV with VBScript
SQL Server
Building an AIM buddy list from your database employee table with VBScript
Crystal Reports Server XI backup and recovery step-by-step
Fixing orphaned users after attaching or restoring a SQL Server database
Inserting multiple records at once into a database table
Writing SQL output to CSV with VBScript
DB2
Calculating the difference between two dates or times in DB2
Using dummy table to select pseudocolumns
System Administration Code Samples
Active Directory
Generating a report of user password expiration status
Apache
Performing 301 Redirect with Apache, IIS, PHP, and others
Using .htaccess file to control web directory access
Windows
Checking admin share free space and folder space usage
Checking for unauthorized local Windows administrator group members with VBScript
Format Windows command line date
Logging Windows events with VBScript
Set up a log off script to do backup
Mac
Change Leopard's login background
Installing fonts on a MacOS X desktop
Linux
Searching for file name or file content in Linux
IIS
Performing 301 Redirect with Apache, IIS, PHP, and others
Mythbuntu
Set a static IP address for Mythbuntu
Turn your Mythbuntu box into a file server
Ubuntu
Set a static IP address for Mythbuntu
Turn your Mythbuntu box into a file server
Crystal Reports Server
Crystal Reports Server XI backup and recovery step-by-step