It’s simple, just run this command $ openssl req -noout -text -in example.csr | grep ‘Signature Algorithm’ Signature Algorithm: sha256WithRSAEncryption If the value is sha256WithRSAEncryption, the certificate is using SHA-256 (also known as SHA-2). Another common value is sha1WithRSAEncryption, that means the certificate is signed with SHA-1.Read More →

Today, i just had interesting case, a client came to me and asked me why she could not insert  page number into her powerpoint slide. Well, i thought it was easy. I sat down at her desk, open the Powerpoint slide, click on Insert -> Slide Number , nothing happened. I checked the Slide Layout, open the Slide Master, yeah, this Layout does not have page number on its footer. I added it to the slide master, go back to my normal view, nothing happened, i selected Reset Slide, the slide became messy, but there was still not page number there. What’s going on here…Read More →

Windows 2003 seems working fine with disk over 2TB, but that’s not entirely right. I had several incidents when using 3TB disk on windows 2003 server. Everything seems working file when your data is less than 2TB, when the data is over 2TB, the partition will be corrupted and your data will be lost. I don’t remember if i use dynamic disk or GPT. Becareful if you need to use disk over 2TB in windows 2003.Read More →

I have some videos that i want other people to download it instead of playing it on the browsers. First, i just try to upload that file to my web document folder and share the link, i found that the user can watch the video directly, this is not what i want, i want the user to download it to their computer, then watch it from their computer later. I did some research and i found that there is a very easy way to accomplish, you just need add the following like to .htaccess file AddType application/octet-stream .mpg AddType application/octet-stream .mov AddType application/octet-stream .mp4 ThisRead More →

Login to your Ubuntu, and run the following command: openssl req -nodes -newkey rsa:2048 -sha256 -keyout myserver.key -out server.csr It then will ask you some information for the certificate, fill them in and complete the process. Country Name (2 letter code) []: (FR in France for example) State or Province Name (full name) [Some-State]: (your state or province name, name of your département in France) Locality Name (eg, city) []: (the name of your city) Organization Name (eg, company) []: (your organization name) Organizational Unit Name (eg, section) []: (do not fill – advised – or enter a generic term such as “IT Department”.) CommonRead More →

When you encounter this error message on your Samsung or any Android device: “Unfortunately, the process com.google.process.gapps has stopped.”. This could be that your Download Manager was disabled. Try to enable it to see if it works. Here are the steps to enable Download Manager on Samsung / Android: Settings -> More -> Application Manager -> All , scroll down and look for Download ManagerRead More →

There was a blog post that I have used multiple times to format a drive at or over 3TB in size. Unfortunately the original blog post recently went offline and I had to use the wayback machine to get it’s contents. The original URL of the post is: here and a link to the wayback machine archive of it is: here. If the original author puts the article back online I would be more than happy to link to it and remove the archived version I have posted below. I hope this helps other people as well but I am posting it here mainly as a guide forRead More →

Long time ago, when i design the database, i never think of the character set for my database. But recently, i have to work on some non-english language like Chinese and Korean. I found that my database does not store the info correctly. So here is my suggestion: No matter if you decide to support multiple language or not, when you design your database, you should use UTF-8 as the character set. If you are using mysql and your database is not not with UTF8 – you should use this query to convert it to UTF8. ALTER TABLE table_name CONVERT TO CHARACTER SET utf8 COLLATERead More →