Techy Boy from CDO

A blog maintain by Paul Labis, a Java developer from cagayan de oro city, who love to share his knowledge about technology, softwa..

Already a Member? Log In to Your Account

Encrypt and decrypt files in Ubuntu with ccrypt

Published on 2011-12-28 19:00:00

ccrypt is a utility for encrypting and decrypting files and streams. It was based on Rijndael cipher, which was chosen candidate by U.S. government's for Advance Encryption Standard. This cipher is believed to provide a very strong security.1. Install CCrypt from reposudo apt-get install ccrypt2. To encrypt a file, use one of the following command,ccrypt -e file_name or ccencrypt file_name3. It will prompt you for Encryption Phrase aka Password, enter it. for example,ccrypt -e sample.text&n

How to Backup and Restore PostgreSQL Database

Published on 2011-10-10 11:43:00

There is an easy way to create backup file and restore your current PostgreSQL database using the Linux terminal. I am not sure though if this is the easiest way. As of the moment I am writing this article, I used the following command to backup and restore my database. Using pg_dump and psql will make your life easier. Below are the terminal command I use to backup and restore my database.Backup : pg_dump -U {user_name} {database_name} -f {backup_file_name}Restore : psql -U {user_name

Recover Ubuntu Grub2 After Windows Installation

Published on 2011-10-06 01:42:00

A month ago I decided to dual-boot my laptop with windows 7 and Ubuntu 10.04 version as my main operating system. So I first installed Ubuntu 10.04 then Windows 7 afterwards. After installing Windows 7, ubuntu distribution isn't accessible. I am not sure but I think Windows installation might have wiped out Ubuntu grub.To be able to recover Grub2 menu along with the option to select either which operating system you want to use, I did the following recovery steps below.Boot from U

Install NVIDIA driver manually for Asus K43 SV with Ubuntu Lucid 10.04

Published on 2011-08-20 23:20:00

I just bought a new laptop Asus K43 SV and installed Ubuntu Lucid 10.04 LTS stable release. It has an i5 2nd generation processor with 4Gb of memory and 1 Gb of VRam. So far, I think this is the most affordable laptop I can look for in Philippine market offered free delivery through LBC by www.pccorner.com or www.laptopking.com from your online purchase.Some of you might have difficulties in installing NVIDIA driver on your new bought Asus K43 SV laptop. I started researching online and found th

Commons Email - Examples

Published on 2011-07-26 11:35:00

I found another good apache tool for sending emails. Its easy to use and has good documentation.Below is an example of an easy way to sending an email.It is explained properly on apache user guide page which is embedded on the bottom part of this article.import org.apache.commons.mail.*;... // Create the attachment EmailAttachment attachment = new EmailAttachment(); attachment.setPath("mypictures/john.jpg"); attachment.setDisposition(EmailAttachment.ATTACHMENT); attachment.setDescription("Pictur

Sending Mail with SMTP

Published on 2011-07-26 05:59:00

I was was having problem on sending emails through Java. I researched and found this apache API SMTP for sending email. I just want to share this simple tutorial article on Discursive blog to everyone who needs it.10.16. Sending Mail with SMTP | Discursive

Check Ubuntu laptop temperature

Published on 2011-07-01 02:01:00

I noticed my laptop temperature is getting hotter. I was a bit worried so I made a little research on how to check the temperature via the internal chip sensors and Ubuntu terminal/command line. The quickest way so far is through below:1. Make sure you lm-sensors are already installed. (In latest version as of 2010 - this was already configured) To know more about it goto http://packages.ubuntu.com/lucid/lm-sensors2. Open you terminal/command line and enter the command "sudo sensors-detect". You

April Blogging Comeback

Published on 2011-04-25 18:01:00

Oh yeah! Techieboy is back in sharing his experiences!Its been a while since I created an article on my experiences with technology. It was around October last year since I stopped due to busy schedules and work. I was also sent to Chicago, Illinois to assist our company client.It had a wonderful experience though. I was able to see and experience what politics was in software industry. I was exposed to high-end technologies such as Spring Roo and JQuery. Learn a lot on how to deal with manageme

DDSteps Testing with Ant Tutorial

Published on 2010-09-24 07:48:00

It has been almost a year that I've been using DDSteps for testing a back-end project module and I haven't been able to share or create an article about it. So to those people reading this article, I hope this helps you get started on DDSteps testing.DDSteps is an integrated tool stack, combining the best open source testing tools for Java and adding the ability to resuse test cases and test data. DataDriven so that when you want to test "sign up" on your site, you can test the same flow with bo

Fix upside-down or inverted webcam on Ubuntu linux

Published on 2010-08-08 10:47:00

I am running Lucid Lynx 64 bit OS version on my Asus i3 K52J Series laptop. Like everyone else, I like using Skype video/chat as well as Cheese camera for taking pictures and videos. Not until then when I had a problem using it.NOTE: Not advisable to do "export LIBV4LCONTROL_FLAGS=3", LIBV4LCONTROL_FLAGS is for debugging purposes only. - by Hans De Goede(libv4l author and maintainer)I was so disappointed that my camera display was inverted! I tried reading several blogs and posting com



© 2006-2012 OnToplist.com, All Rights Reserved