Another Internet Blog -- but this one's written by Techlicity members!

4 Functions for Textarea inputs

By Subhas Fagu on 14-Jan-10 15:58. View Comments
The first two functions were solutions to a requirement where I had to convert the text within a textarea box to render within a div or span element. At first I thought it would be easy, a simple div.innerHTML = textarea.value but then another problem showed up. All text were rendered by the browser as one paragraph. Thus I needed a new line to
converter. The last two function automatically grows a textarea box vertically as a user inputs content larger than the original size, it also takes a second argument that limits the amount of characters, good for client side validation.

Monitor progress bar update via taskbar on Windows 7

By Subhas Fagu on 02-Dec-09 23:03. View Comments
Tags:
Article photo I've just noticed that Windows 7 displays a progress bar update within the taskbar

Change SVN repository in Eclipse

By Subhas Fagu on 28-Nov-09 12:26. View Comments
Tags: ,
Article photo We recently moved our SVN repositories to a bigger and better server. Long story short, we were not able to keep the same address, which didn't seem like such a big deal. One would think that a simple right click on the project->properties would be the simple fix, however it wasn't. After spending some time on it, I finally figured it out and decided to share. While I found several solutions on the net, I think this is the easiest of them all.

Static page in CakePHP

By Subhas Fagu on 21-Sep-09 09:39. View Comments
In every dynamicly driving project there must exist some static content. While there are dozens of ways of doing this, we here at Techlicity do it in one of 2 ways. If your looking to serve up strictly static html pages such as privacy policy, AUP or just simple static description pages then you might want to skip all of CakePHP preprocessing to realize that your content is static.

CakePHP: controller without model

By Subhas Fagu on 21-Sep-09 09:16. View Comments
Tags:
Sometimes you just want to make a simple controller without an associated model or table. CakePHP makes this very easy while showing it's flexibility. CakePHP uses the variable $uses to associate a controller to a model, by default it uses the singular name of the controller or the $name variable.

Internet Explorer Crashes When Oracle Forms Is Launched

By Utkarsh Patel on 19-Aug-09 11:16. View Comments
When running oracle form modules using Internet Explorer and JInitiator 1.3.1.x, the browser window opens and crashes before the applet starts. When using Firefox, there’s no problem at all.

Ignore files or folders on svn update

By Subhas Fagu on 30-May-09 15:01. View Comments
This article covers the simple task of ignoring files on svn update. In our case, we needed to exclude our applications config files. This way we can have a DEV, QA and LIVE environment, all easily updated with svn while maintaining there respective config files.

C# .NET - Hash Algorithms - MD5, SHA1, SHA256, SHA512

By Utkarsh Patel on 11-May-09 23:42. View Comments
Tags: ,
One of the great problems I have had with OO languages such as .NET and Java is that some tasks, that are as simple as calling a function in other languages, are complicated to no end. One such problem is with the different hash functions in .NET available via System.Security.Cryptography. In PHP if I need to get the MD5 of a string I simply call the built in MD5 function. In .NET I need to build my own MD5 function using System.Security.Cryptography and that, even though I understand why it is the way it is, can get a little annoying after a while. I have taken the liberty of simplifying this process by creating a HASH class that can be plugged into your programs as either a new class or by creating a hash.dll of out of it. The code lets you call MD5, SHA1, SHA256 and SHA512 functions and takes care of the process for you.

Always stay in sync with NTP

By Subhas Fagu on 09-May-09 12:08. View Comments
NTP is the Network Time Protocol. It is a standard way to keep system clocks synced. This post will go through the easy steps of getting you linux box configured to always follow the correct time based on NTP servers.

Preserving Line Breaks in <textarea>

By Utkarsh Patel on 06-May-09 14:28. View Comments
A common problem many first time developers come across is preserving line breaks in a textarea after a form is submitted. This article will show you how to fix this problem in PHP and JavaScript. The code can also be easily converted to any other server side language you maybe using.

Showing 1 - 10 of 42 Articles

< Previous 12345 Next >

Archives


Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License.