pdftk – fedora – merge pdf files
Pdftk allows to manipulate PDF easily and freely. It does not require Acrobat, and it runs on Windows, Linux, Mac OS X, FreeBSD and Solaris etc. Features: Merge PDF Documents Split…
Resume Builder pdf2txt, word2txt
Reading PDF Files XPDF package includes “pdftotext.” You have to install XPDF/pdftotext then run the following PHP statement to get the PDF text: $txtcontent = exec(‘/usr/local/bin/pdftotext svnlabs.pdf -‘); Reading DOC…
Publish HTML2PDF
HTMLDOC converts HTML files and web pages into HTML, PostScript and PDF files suitable for on-line viewing and printing. HTMLDOC is used for anything that needs to be viewed or…
Configure Amazon EC2
1.Boot 2 linux servers on EC2 2.Assign elastic IP to each of them 3.Register a domain (eg svnlabs.com) 4.On the domain settings – create 2 host records – ns1.svnlabs.com and…
Mysql useful queries
Age: Select DATE_FORMAT (NOW(), ‘%Y’) – DATE_FORMAT(BirthDate, ‘%Y’) – (DATE_FORMAT(NOW(), ’00-%m-%d’) < DATE_FORMAT(BirthDate, ’00-%m-%d’)) AS Age From tbl_member where 1; Change collation: Alter table `tbl_student` convert to character set utf8…
Form’s array element in javascript
How to access form’s array element in javascript? Web Post Mobile Post Application Post Open Source Post Solution: <form action=”<?=$_SERVER[‘PHP_SELF’]?>” method=”post”> <input name=”post[]” type=”checkbox” value=”web” /> Web Post <input name=”post[]”…
HTML WYSIWYG Editor for Fedora
http://kdewebdev.org/ Quanta Plus is a web development tool for the K Desktop Environment. Quanta is designed for quick web development and is rapidly becoming a mature editor with a number…
Mobile Search Engine
Best Search Engines wap.google.com search.yahoo.com m.ask.com surfwap.com www.guruji.com tajonline.com/std-codes indiapost.gov.in Happy Searching…… 🙂
Run C program in Linux
This is the simple C file “svnlabs.c” to execute on linux terminal #include int main() { int i; for(i=0;i<=5;i++) { printf(”n%d %s”,i,”svnlabs.com”); } printf(”n”); return 0; } Output: [root@localhost ~]#…
Run Java program in Linux
This is the sample java file “Svnlabs.java” to be executed on linux command line….. import java.lang.*; import java.io.*; public class Svnlabs { public static void main(String args[]) { System.out.println(”svnlabs.com”); }…
wine – run Windows programs on Linux
wine – run Windows programs on Linux/Unix wine program.exe [arguments …] wine –help wine –version wine loads and runs the given program, where the program is a DOS, Win- dows…
Xmanager
Xmanager is a powerful and easy-to-use PC X server that runs on Windows platforms. It allows you to bring remote Unix/Linux desktops to your Windows PC seamlessly. You can also…
Lab Tips
Database: 1. Delete all information from databse related to, if deleting user or any content from CMS. 2. Use PDO, ADO, Pear, Zend etc. library to connect to database. 3….