Information Systems
Home Products QA Support Contact

QA tips from Omnicode:

Page 3 of 6: First < 1 2 3 4 5 6 > Last
How do I get a list of triggers in mysql? 08 Mar 2008
SHOW
How do I redirect urls in Tomcat like mod_rewrite? 03 Mar 2008
You can always use response.redirect("url"), but that exposes the redirection to the client. If you don't want that, use a filter. Here's some sample code
How do you properly encode an ampersand in a url with javascript? 24 Feb 2008
The problem is that the ampersand will improperly delimit the url fields within a "get" request. The method is "replace." The regular expression syntax is a little weird, but
How do you add a row in an html table using javascript 22 Feb 2008
function addRow() { var _body = document.getElementById('table1').tBodies[0]; var _row = _body.insertRow(-1); var _cell = _row.insertCell(0); _cell.innerHTML = 'col1'; _cell = _row.insertCell(1); _cell.innerHTML =
MS VC++ 2008 manifest problems 04 Feb 2008
I did a clean install to Windows Vista and downloaded the latest VC++ 2008. It gave me an error every time I wanted to run my application: "The application
How do I clone a linux software raid drive 04 Feb 2008
BE CAREFUL BEFORE MESSING WITH sfdisk! MAKE SURE YOU KNOW WHAT YOU'RE DOING! sfdisk -d /dev/hda | /dev/hdc If above doesn't work, try with hdb SATA
How do I create a case insenstive index in Postgresql 24 Jan 2008
CREATE INDEX tab_index ON tab (lower(col)) Say I had a table users with a username column that I wanted to be unique for both upper and lowercase versions
How do I turn on error displaying in PHP/Apache? 17 Jan 2008
It's supposed to turn on by setting: display_errors = On However, the switch seems to be disabled in some builds of PHP. You'll have to do it locally
How do I exclude dirs from Windows roaming profiles? 22 Dec 2007
Put the folder in: HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System\ExcludeProfileDirs It's a bit weird, though. Sometimes it's not where MS claims it will be. If you
How do I get vsftpd to work with SELinux 18 Nov 2007
If it won't let vsftp change to the user's home directory, try: /usr/sbin/setsebool -P ftp_home_dir
How do I get a backup of an entire postgresql server 18 Nov 2007
Use pg_dumpall. Depending on how you set up your access permissions it would be something like: pg_dumpall -h localhost -U postgres > db.out To restore: psql -f db.out
Rsync ssh with port different than 22 11 Nov 2007
For port 100 use --rsh 'ssh -p 100' for instance rsync -avz --rsh 'ssh -p 100' 192.168.1.32:/home/mydir /home
How do I use snprintf on Windows? 10 Nov 2007
The Windows equivalent is sprintf_s. #if WIN32 #define snprintf sprintf_s
How do I concatenate files using Windows (dos) copy? 09 Nov 2007
It's something trivial, but sometimes you want to do it. copy /b file1+file2 dest Use the /b so windows knows it's a binary file. If you
How do I call a console app from a windows program? 08 Nov 2007
Here's how I call ffmpeg from a windows app. HANDLE read, write; SECURITY_ATTRIBUTES sec; ZeroMemory(&sec,sizeof(sec)); sec.nLength = sizeof(sec); sec.bInheritHandle = TRUE; CreatePipe(&read,&write,
Copyright 2010, Omnicode Inc. Omnicode is a registered trademark of Omnicode Inc.