Sunday, April 6, 2014

Install the Flash plugin in Linux (ubuntu) to view videos, animations and games

Adobe Flash Player is a plugin that allows browsers such as Firefox to display Flash media on web pages. Flash is often used for animations, videos and games. This article explains how to install Flash.

Installing the Flash plugin manually

  1. Go to the Flash Player download page at Adobe.com.
  2. When prompted, save the file (i.e. install_flash_player_"version"_linux."processor".tar.gz).
  3. At the top of the Firefox window, click on the File menu and select Quit
  4. Open a Terminal window (in Gnome, click on the Applications menu, select Accessories, and then select Terminal.)
  5. In the Terminal window, change to the directory where you saved the file you downloaded (e.g. cd /home/user/Downloads).
  6. Extract libflashplayer.so from the file you downloaded with the command tar -zxvf install_flash_player_"version"_linux."processor".tar.gz.
  7. As the super user, copy the extracted file, libflashplayer.so, to your Firefox installation directory's plugins sub-directory. For example, if Firefox is installed in /usr/lib/mozilla, use the command sudo cp libflashplayer.so /usr/lib/mozilla/plugins and then enter your super user password when prompted. 


Saturday, April 5, 2014

My Message

I had sent a message to all of my colleagues today that was just only about advice how to get successful in life.

That message is:

"Success is never gotten easily. Therefore, that tough road is your challenge."

By: Han4U

Friday, March 28, 2014

Billionaire Jack Ma teaches you how to be successful in life and business

Billionaire Jack Ma, the founder and ex-CEO of Alibaba Group, as well as one of the most successful Chinese Internet entrepreneurs, shares his wealth of experiences.

Jack Ma: The mistake I regretted the most

Wednesday, March 26, 2014

Uploading directly to Amazon S3 from a Rails application

The use cases for Superhug are heavy on uploading and downloading large(ish) files. Rails itself isn’t so well suited to this sort of task, and it’s best to keep state away from application servers wherever possible. We chose to use Amazon S3 and CloudFront to bypass Rails for all of the uploading, downloading and image processing grunt work. This is a rundown of the approach we took.

Source: http://blog.andrewbruce.net/upload-direct-to-amazon-s3-from-rails

Managing Assets on Amazon CloudFront

Martin Streicher provides a practical example of how to use Amazon CloudFront and Amazon S3 to manage files for a sample Rails application.

If your web site is flourishing, you've probably realized that success is both a blessing and a curse. On the one hand, a growing audience and increased traffic furthers your goal—be it communication, commerce, or community. On the other hand, the additional page views and the incumbent demands on bandwidth, processor cycles, and storage may seem daunting. Ironically, mushrooming traffic can torpedo a burgeoning site.

But before you run off to lease more bandwidth or purchase additional rack-mount servers, consider delegating some of the busy work your servers currently contend with to Amazon Simple Storage Service (Amazon S3) and the Amazon CloudFront content-delivery network. In particular, Amazon S3 and Amazon CloudFront can unburden your servers from the chore of serving static content. Delivering assets from a specialized network reserves compute power for computation.

Source: https://aws.amazon.com/articles/Ruby/2331

How to find your AWS Access Key ID and Secret Access Key

How to Find Out AWS Access Key ID and Secret Access Key

2. Click on the User Name on the top right corner of the screen. In our case User Name is Alexander.

Source: http://www.cloudberrylab.com/blog/how-to-find-your-aws-access-key-id-and-secret-access-key-and-register-with-cloudberry-s3-explorer/

Improving Page Speed with Amazon Web Services - A Beginner's Guide

After the fantastic tips in edbaxter's post on Optimizing Page Speed, I decided it was time for a beginner's guide on one of the most effective methods to increase speed that was only mentioned in that post: a Content Delivery Network (CDN). The purpose of a CDN is to put your website's static or unchanging files on very fast servers all over the world, so that requests to view the content by visitors to your site have the shorter possible trip to get your data. An example of these static files are images, css, and javascript files.

Think about it like a bowl of candy in your kitchen. When you want a piece of candy, you have to make the trip from somewhere in your home to the kitchen, and that may take longer than you would like. You can instead put multiple bowls of that same candy in every room of your home. This would make the trip to receive the candy much faster, though it would do nothing for your waistline.

This post will specifically concentrate on using two services that are under the label of Amazon Web Services (AWS): Amazon Simple Storage Service (S3) and Amazon CloudFront. CloudFront is the CDN, and S3 is a fast location used to store your static files, where CloudFront goes to get the most up-to-date file. While these services do have costs associated, there is a free usage tier which will cover much of the costs of S3. CloudFront costs will vary, but for some perspective, I have a site that has 450,000 pageviews per month, and the costs involved are $3/month. This was $4 last month, but I reduced HTTP Requests by removing unnecessary images, combining files, using sprites, etc.

Source: http://moz.com/ugc/improving-page-speed-with-amazon-web-services-a-beginners-guide

Monday, March 10, 2014

730days Is Going So Fast

730 days is over so fast. 2 Years is going very fast.

My mother left far away from my life and she never come back again, 730 days = 2years already and tomorrow is her 2nd Anniversary. :'(

----------------

A Message For Colleagues After Wonderful Trip (08 March 2014)

DEAR TEAMWOKR,

On behalf of Company, I would like to say thank for all of you guys to join the trip to Kampong Som last week.

That was a unforgettable memory, it made us to understand each other more and more.

We had a smiling, laughing, eating and drinking especially we had a guitar music since started till ended our time, I can say that it was really wonderful trip ever.

That time was refreshed our feeling and remove all stresses but it created a amazing relationship between one to another.

Even though, there were some conflicts or lack of something a little bit but I believe that everyone will tolerate and continue a such strong friendship forever.

For other staffs that missed this trip, I wish that all of  you will join and enjoy such wonderful one later which will be more bigger,  more fun, more different and more music.

After back from happy time, I hope that you guys will commit the works and complete the project successfully.

Again, I would thank you all very much. Good luck!

Best Regards,

Monday, February 10, 2014

We love what we are doing!!!

We focus on one thing, and we do it better than anyone. Let's talk about what we can do for you.

Sunday, February 2, 2014

ទឹកចិត្តអ្នកម្តាយ (Khmer Buddhist Hymn: Mother's Heart)

When I have a boring in my life!
When there is someone to make my feeling down!
When I am upset!
When I have a stress!
When I get some thing failure!
When I miss my mother!
When I stay very far away from my parents!
When I have done something successfully!
When I get exciting with what I have done!
When I have much money on some days!
When I did something wrongly!
 ....

I always listen to  Khmer Buddhist Hymn: Mother's Heart


It helps to encourage me and motivate myself.

I MISS MY MOTHER SO MUCH, IT IS OVER 600 DAYS ALREADY SHE PASSED AWAY FROM MY LIFE :'(

Friday, January 10, 2014

How to use bitBucket with EGit in Eclipse

Git is becoming more and more popular these days, and when we really use version control systems like Git or SVN, we actually want to share our codes with other developers. Thus, we do need a Git server to host the codes, like www.bitBucket.org, which is a Git server offering free limited use.

To set up a project in Eclipse, and push the project to bitBucket, you need to do the following steps:

Tuesday, January 7, 2014

I Love My Mother

Today is 666 days that mother left me. :'(

How to increase disk space on existing AWS EC2 Linux (Ubuntu) Instance without losing data

Let’s say you have a Linux Amazon Web Services (AWS) EC2 Instance up and running and you start running out of space. I’ll show you how to quickly clone its disk (EBS volume) onto a bigger disk (also EBS), replace the smaller disk with the bigger one and boot off the bigger (new) disk. No need for any third party tools like Acronis or Ghost or even rsync.

Create Snapshot of the original disk:

First thing we’ll do is to create a Snapshot of the original disk so that we can then create a new, bigger volume out of that Snapshot. There are a couple of things we have to note down first: the Instance number and then the volume attached to that Instance. The easiest way to fine the Instance number is in the Instances part of the AWS Management Console. It will start with “i” and be under the “Instance” column. Now navigate to the Volumes section (Elastic Block Store section) and locate the volume that is attached to your Instance. You can see the Instance number under the “Attachment Information” column. The first half of that string will be the Instance number. Please see the images below for an example.

Talent - ស្នេហ៍បរិសុទ្ឋ By Chey Sovath-S2 On 21-Dec 2013