With Visual Studio 2010 (VC++), after compiling and linking a project, attempting to run the application using "Start without debugging" will result in the console window opening and closing automatically.
To overcome this problem, the following needs to be done:
Project -> Properties -> Configuration Properties -> Linker -> System, please select Console (/SUBSYSTEM:CONSOLE) in SubSystem dropdown
Tuesday, 12 October 2010
Wednesday, 6 October 2010
Merging and splitting PDF files
If you want to merge multiple PDF files or split a PDF file, an excellent free tool avalable is PDF Split and Merge. It can do more that just split and merge PDF files.
It can be downloaded from the following URL:
http://www.pdfsam.org/
It has a simple and intuitive interface, with which you can:
There is also an enhanced version of this tool, which has all the basic features plus:
It can be downloaded from the following URL:
http://www.pdfsam.org/
It has a simple and intuitive interface, with which you can:
- split your pdf documents (into chapters, single pages, etc.)
- merge many pdf documents or subsections of them
- extract sections of your document into a single pdf document
- mix alternate pages taken from two pdf documents in straight or reverse order into a single document
- rotate pages of the selected pdf documents
- visually reorder pages of a selected pdf document
- visually compose a document dragging pages from selected pdf documents
- save and load your environment to automatize your recurrent jobs
- manage pdfsam settings and set an environment to load at start up
There is also an enhanced version of this tool, which has all the basic features plus:
- encrypt your pdf files (RC40 bits, RC128 bits, AES128 bits) and set permissions on them
- add a pdf frontpage or an addendum (or both) to your pdf documents
- decrypt pdf documents
- extract attachments from your pdf documents
- set viewer options to a document to tell the viewer application how should open the document
- set the metadata of a document (author, title, subject and keywords)
The features available and a comparison between the basic and enhanced version cna be found in the following link:
http://www.pdfsam.org/?page_id=42
Monday, 27 September 2010
Getting the size of a MySQL database
This is the command to get the size of the MySql database
SELECT table_schema "Data Base Name",
sum( data_length + index_length ) / 1024 / 1024 "Data Base Size in MB",
sum( data_free )/ 1024 / 1024 "Free Space in MB"
FROM information_schema.TABLES
GROUP BY table_schema;
SELECT table_schema "Data Base Name",
sum( data_length + index_length ) / 1024 / 1024 "Data Base Size in MB",
sum( data_free )/ 1024 / 1024 "Free Space in MB"
FROM information_schema.TABLES
GROUP BY table_schema;
Saturday, 25 September 2010
Tuesday, 7 September 2010
Manually starting Microsoft File Transfer Manager
Here's how to launch the Microsoft File Transfer Manager manually.
%SystemRoot%\Downloaded Program Files\TransferMgr.exe
%SystemRoot%\Downloaded Program Files\TransferMgr.exe
Monday, 6 September 2010
Removing the OzioGallery footer
When Ozio Gallery is used within Joomla pages, the component displays a footer
OzioGallery2 by Joomla.it
If you search the source, you will not find the text as it is encoded (with base 64) within
“\administrator\components\com_oziogallery2\css\ozio.css”
1. Use http://ostermiller.org/calc/encode.html to decode the encoding in the css file.
2. Then remove the text that is not wanted and encode again.
3. Then paste it back to the css file, replacing the original text.
Note: For OzioGallery3, the folder structure seems to have changed. The ozio.css file for OzioGallery3 is located within the folder "administrator\components\com_oziogallery3\assets\css".
OzioGallery2 by Joomla.it
If you search the source, you will not find the text as it is encoded (with base 64) within
“\administrator\components\com_oziogallery2\css\ozio.css”
1. Use http://ostermiller.org/calc/encode.html to decode the encoding in the css file.
2. Then remove the text that is not wanted and encode again.
3. Then paste it back to the css file, replacing the original text.
Note: For OzioGallery3, the folder structure seems to have changed. The ozio.css file for OzioGallery3 is located within the folder "administrator\components\com_oziogallery3\assets\css".
Labels:
footer,
Ozio,
Ozio Gallery,
OzioGallery2,
OzioGallery3,
remove
Thursday, 2 September 2010
Converting man pages to pdf
Issue this command at a Linux shell to convert the
man -t <manpage_name> ¦ ps2pdf - > <manpage_name>.pdf
Note: The "-t" switch calls in the "groff" utility to convert the man output to Postscript format
e.g. man -t ls ¦ ps2pdf - > ls.pdf
man -t <manpage_name> ¦ ps2pdf - > <manpage_name>.pdf
Note: The "-t" switch calls in the "groff" utility to convert the man output to Postscript format
e.g. man -t ls ¦ ps2pdf - > ls.pdf
Subscribe to:
Posts (Atom)