Profile cover photo
Profile photo
Andong Zhan
223 followers
223 followers
About
Andong's posts

Post has attachment
A easy way to view binary file in hex in linux
If you use vim, that is pretty easy, you can vim your_binary_file click "Esc", and then type ":%!xxd"; type ":%!xxd -r" to return to normal mode.

Post has attachment
How to convert column labels to numbers in Excel?
Microsoft Excel: Go to: Preferences -> General Uncheck R1C1 Reference Style And then click OK. LibreOffice Calc: Go to: Tools -> Options -> LibeOffice Calc -> Forumula And then change the Formula syntax dropdown to: Excel R1C1

Post has attachment
How to auto mount disk at startup in Linux/Ubuntu
Step0: format your disk to ext4 sudo mkfs.ext4 /dev/yourdisk Step1: find the disk UUID sudo blkid /dev/yourdisk Step2: register the disk in fstab by using any editor, e.g., vim. sudo vim /etc/fstab then add one line into the file #device                    ...

Post has attachment
Two steps to survive and be productive in open office
The open office is used by many companies, especially IT companies like Google and Facebook. Now even our CS department apply an open office layout for PhD students. Staying at such an open office for one year, I realized it is not a good idea to do so. It ...

Post has attachment
When Java Runtime.exec doesn't work
When Java Runtime.exec doesn't work, the first thing to check is was the current path the working path. To make sure your runtime execute on the right path, use "cd yourpath" before running your command.

Post has attachment
How to push a string in to a command's stdin in Linux
It's a small trick but sometimes quite useful, e.g., you want to run a shell script without any interaction after you execute it. You can push a string into your command like this: $ command parameters <<< word

Post has attachment

Post has attachment

Post has attachment

Post has attachment
Wait while more posts are being loaded