Pages

Thursday, January 17, 2013

Synchronize MySQL databases between Ubuntu and Windows

Solution 1:  Unify the folder data of XAMPP on Ubuntu and Windows. Both of the operating systems point to the same folder. See more details in the following post:
http://stackoverflow.com/questions/4638981/is-it-possible-to-use-the-same-mysql-database-for-windows-xampp-and-linux-mysql/14368403#14368403

Solution 2:  Install a mini Linux distribution such as Slitaz, Alpine, etc.  that plays a role of a dedicated server. Of course, it will operate like a virtual server using VMWare or Oracle VirtualBox. After that, we set up MySQL server into this server. In the case of using SQL Server, Windows XP is a suitable choose. But we must face to the problem of copyright as well as license. See more details in the following link:
http://ubuntuforums.org/showthread.php?t=776077

Solution 3: Run a portable XAMPP on USB or External HD. The problem is that how can we do the same version.

Synchronize data on computers installed more operating systems

This article posted in 2008 but it's till been employed useful in many cases of our life.
http://lifehacker.com/348858/use-a-single-data-store-when-dual-booting

Nowadays browsers Google Chrome and FireFox equiped this feature helps users to synchronize   history, extensions, apps and bookmarks without taking into account other utilities.

Wednesday, January 16, 2013

Solve "BOOTMGR is missing" error in Windows

Unfortunately, my laptop was not enable to access Windows 7 after merging two partitions in Ubuntu. This was beginning to annoy me a little bit. Although I had have a little bit of worry, I just thought the problem to be repaired in a few of minutes. In contrast, I spent a lot of time to google and find the right way to resolve this problem. I stick here the useful links to some ones have to face this error.

Normally, we immediately think that there are some tools running in Ubuntu for us to diagnose troubleshootings. For instances, it is ntfsprogs. However, this medicine is not enough robust to treat the issue.

I can summarise three essential commands to repair "BOOTMGR is missing" as following:
Step1: Find the way to retrieve the command line of repairing mode in Windows using DVD source or Hiren Boot CD
Step 2: Type three commands in that order
bootrec /FixMbr
bootrec /FixBoot
bootrec /RebuildBcd

References:
http://answers.microsoft.com/thread/8bb148bc-8035-4847-9696-888f7a0a9720
http://www.sevenforums.com/tutorials/104341-bootmgr-missing-fix.html
http://www.sevenforums.com/tutorials/668-system-recovery-options.html
http://www.techsupportalert.com/content/how-fix-bootmgr-missing-error-vista-and-windows-7.htm

Thursday, December 6, 2012

Tập hợp các trình soạn thảo tài liệu TEX

Đi tìm nhiều nơi rồi tập hợp ở đây để tiện theo dõi
Phần mềm Windows Linux
Kile
x
Texmakerx x
TexNicCenterx
texstudiox x
Gedit
x

Tuesday, December 4, 2012

Muốn làm một quyển sổ nháp trực tuyến

Tôi thường hay viết nhăng viết cuội lên giấy nháp rồi để một đống bên cạnh, khi cần lật lại xem những từ mới tiếng anh đã học, hoặc các từ tiếng Pháp vừa tra, cũng như các con số, con chữ xuất hiện trong đầu hàng ngày. Nghĩ đi nghĩ lại nếu mình viết ra những ý tưởng đó và có cách nào để tìm lại nhanh nhất thì hay. Hoặc ít ra cũng không phải ôm đống giấy nháp này về sau khi xong sự nghiệp đèn sách. Nhưng bản chất giấy nháp vẫn là giấy nháp: viết lung lung, viết búa xua những ý tưởng có thể lúc này là dở hơi nhưng vài ngày nhìn lại cũng thấy hay hay. Và cũng có thể ban đầu nghĩ rằng ý tưởng đó hay hay nhưng sau 1 thời gian tung tăng đâu đó trên web thì phát hiện ra đã có người làm rồi.
Từ những thứ vụn vặt đó, tôi cũng đã mày mò và tìm ra cái mình cần. Ít nhất cũng giải quyết cho mong muốn của mình. Cái suy nghĩ làm ra một Online Draft Paper cũng có thể chưa thực hiện được nhưng đã có cái sử dụng trước mắt:

Dùng Quick Note - Một ứng dụng của trình duyệt Chrome có thể đồng bộ hóa với các Notes trên diigo.

Ngoài ra, google một lát ra được một đống:

  1. http://www.mynitor.com/2010/12/12/15-note-taking-applications-for-linux/
  2. http://mashable.com/2008/08/19/online-note-taking-applications/
  3. http://lifehacker.com/5837191/five-best-note-taking-applications

P/S: Cái tôi cần của một Draft là ghi theo ngày, mỗi ngày lật một trang để noter.

Monday, December 3, 2012

Run .deb in Ubuntu

To install package called package.deb type the following command:
Go to directory where package.deb is kept. For example if it is in /tmp directory:
$ cd /tmpType the following command:
$ sudo dpkg -i package.deb