Showing entries 29236 to 29245 of 44067
« 10 Newer Entries | 10 Older Entries »
Javascript: Encoding Values in XML Strings for AJAX / Web 2.0

I have written a very simple javascript function to do the job. The function takes a Javascript string (or any value, integer etc.) as input, converts it into a string and then replaces all occurrences of , &, ", and ' with their html values.

Trim whitespaces from both ends of a string, using Javascript

The code uses the two functions discussed in other tutorials.

Removing Whitespaces from Beginning of a String (Left Trim), using Javascript

A very simple function:

Installing & Configuring JSDoc On Windows

This short tutorial will teach you how to install JSDoc on Windows. JSDOC is a Javascript documentation generator tool. You add formatted comments inside your javascript code, JSDOC takes all the commented javascript code as input and generates javadoc style documentation using those comments. For more details on how to use JSDOC visit http://jsdoc.sourceforge.net/.

How to execute a function at regular intervals using Javascript

How to execute a function at regular intervals using Javascript

Starting Apache Web Server at every Reboot (for Ubuntu / Debian Linux)

If you compiled and installed Apache on a Debian/Ubuntu Linux machine and want the Apache service run every time you reboot your machine this short tutorial is for you. I have tried to make it very simple so I am pretty sure you'll be able to follow all steps even if you don't know Unix/Linux shell scripting. In order to run Apache at boot time you have to write a very simple start up script.

Sleep/Pause for specified number of seconds

Function takes number of milliseconds to sleep as argument. So, if you want to pause execution of code for 2 seconds you'll pass 2000 (2 x 1000) as argument to this function.

Installing OpenSSL on Ubuntu Linux

This short tutorial shows you how to install OpenSSL on Ubuntu 12.04. The process is very simple. For this tutorial, I'll be installing openssl version 0.9.8e and the latest 1.0.1g (released Apr 07, 2014). Linux kernel is 3.2.0-23-powerpc-smp. I have used a Mac Mini (powerpc/ppc architecture). GCC version number is 4.6.3. Your configuration may be different from mine but the installation steps below should work fine for most configurations.

Removing Ending Whitespaces from a String (Right Trim), using Javascript

A very simple function:

Giving Apache Web Server A Different Name by changing Source Code Before Installation (very simple instructions)

I am going to show you how to change Apache's source code before compiling and installing so that it always shows a different name while using the technique described here. I have used Apache version 2.0.59 for this tutorial.

Showing entries 29236 to 29245 of 44067
« 10 Newer Entries | 10 Older Entries »