How to Compress CSS Files Using PHP without RenamingJanuary 5th, 2009 IF you are using a stylish and feature rich environment for your website, then your CSS files must have reached its limit of annoyance for you. So how can you compress CSS files using PHP? You can.
How To Quickly Backup HSQLDB Database...July 31st, 2007 HSQLDB is a high performance RDBMS written in pure Java. It can be used as a in-memory database or regular file based database.
GMail Email Attachment PolicyApril 6th, 2008 As a security measure to prevent potential viruses, Gmail doesn't allow you to send or receive executable files (such as files ending in .exe) that could contain damaging executable code. GMail doesn't clearly define what kind of file extensions fall within this list.
AJAX-Javascript File Upload FormJuly 21st, 2007 Ext extension UploadForm is a new extension to easily upload multiple files from web interface to a server. The files are added to a queue first and then uploaded.
How To Display AdSense & Yahoo Publisher Ads Using AdRotator Plugin for WordPressAugust 30th, 2006 AdRotator is a WordPress plugin which you can used to randomly rotate your ads (including but not limited to AdSense, Yahoo Publisher Network, Clicksor, Chitika etc.) on WordPress blogs. It allows you to display an advertisement (which is randomly selected from a group of advertisements specified in a text file) at your chosen location.
How To Add Trim Functionality To Javascript StringAugust 12th, 2007 Trim is a useful function available in languages like Java & PHP which removes the leading and traling whitespace(s) from a String. Unfortunately Javascript doesn't natively provide trim functionality to the String object.
Developing Clean AJAX / Javascript Driven Websites; Say No To Tag-SoupNovember 13th, 2005 Behaviour promotes itself as "the missing link for your AJAX apps". It allows you to use CSS selectors (like id or class) to apply Javascript behaviors to your HTML elements.
How To: PHP Script To Windows EXE File GenerationMarch 22nd, 2008 PHP files are scripts which are interpreted by php interpreter (php.exe in windows). Converting them to exe files makes it easy to distribute PHP applications to Windows users.
How To trim() in JavascriptMarch 17th, 2006 Javascript doesn't natively support trim on strings. It is however very easy to implement with regular expressions.
Little Painful Javascript QuirkMay 14th, 2006 Why doesn't document.getElementById('location').value work as function parameter in Javascript?
What does work is:
var temp = document.getElementById('location');
temp.value works fine as function parameter. Apparently javascript doesn't like referencing fields directly on functions as in getElementById('location').value as a function parameter.
Sun Offers 3 Free Solaris 10 ExamsJune 13th, 2008 Sun is offering three free assessment tests for Solaris 10 operating system focusing on Unix Essential and System Administration. They are for the following certifications:
UNIX Essentials Featuring the Solaris 10 Operating System
Objectives:
Use command-line features and help resources
Manage and view files and directories and change the directory contents
Create and modify files and use basic file permissions
Create ACLs
Control the user work environment
Use commands within the shell
Perform basic process and job control
Archive files and create archives
Compress, view, and uncompress files
Perform remote file transfers
Sun Certified System Administrator (SCSA) for the Solaris 10 Operating System (Part 1)
Objectives:
Manage file systems
Install software
Perform system boot procedures
Perform user and security administration
Manage network printers and system processes
Perform system backups and restores
Sun Certified System Administrator (SCSA) for the Solaris 10 Operating System (Part 2)
Objectives:
Describe network basics and the client-server model
Describe remote administration with the Solaris Management Console
Manage swap configuration
Manage crash dumps and core files
Configure NFS and AutoFS
Describe RAID and Solaris Volume Manager software concepts
Configure Solaris Volume Manager software
Configure RBAC
Configure system messaging
Configure naming service clients
Configure NIS
Configure a custom JumpStart software installation
Perform a Flash installation
Take the tests and find out how strong you are in Solaris.
Biggest Internet Explorer Problem With JavascriptJuly 26th, 2007 You would be surprised to know that the biggest Internet Explorer issue I am facing while writing rather complex cross-browser javascript code is related to just a comma. In javascript array if you add a comma after the last element in the array then Internet Explorer fails with a variety of undecipherable (Microsoft style) error messages.
How To Use SAJAX (AJAX Framework) from HTMLMay 15th, 2006 Sajax is an useful ajax framework to simplify ajax based development for languages like PHP, Ruby etc. Not many realize Sajax can be used equally well from plain old html pages (as in .html or .htm).
Yahoo UI Library (JavaScript + AJAX) is Worth LookingFebruary 17th, 2006 Yahoo released an UI library for web applications, developed using Javascript and AJAX. It provides some nifty components like dual-calendar, tree, drag-and-drop, slidedrs etc.
Calling Card of Nigerian ScammersJanuary 7th, 2008 You can safely delete any messages contains with:
"correspondence may come to you as a surprise due to the fact that we have not met"
This appears to be an often repeated phrase of nigerian scammers these days and is worth searching for in content of your emails for direct deletion (nuke).
July 4th, 2006 at 6:11 pm
Why do you need to compress javascript - surely gzip does a perfectly good job of this already?
July 4th, 2006 at 10:28 pm
Not all browsers support gzip compression, not all server’s provide them (applicable in shared hosting scenario) as it increases server load and reduces bandwidth usage (hosting providers benefit from increased usage as they can charge you for it).
July 10th, 2006 at 1:50 am
[...] Angsuman discovered two web-based JavaScript compressors. [...]
October 9th, 2008 at 2:06 am
Здравствуйте. Сначала кратко: вот ссылка где можно взять стабильный компрессор:
здесь
Теперь подробнее: Нужно было сжать один .js файл. Стал я пользоваться всеми этими онлайн-компрессорами, котоых так много в сети. Нашел даже один платный!! И во всех них нашел какие-то баги. Вот пример кода, который сжимается неправильно простым компрессором
if(boolean)var varname=smth
else if (boolean) ..
Короче не понравилось мне это и я написал свой собственный компрессор. не удивляйтесь - сайт, на котором лежит дистрибутив посвящен наружной рекламе (хочу помочь другу набрать посетителей)