Saturday, October 8, 2016

Convert adf binary to ascii whith GDAL on Mac OS

Link. brew install gdal --with-python brew install homebrew/python/numpy brew install homebrew/python/numpy If you get warnings like: Python modules have been installed and Homebrew's site-packages is not in your Python sys.path, so you will not be able to import the modules this formula installed. If you plan to develop with these modules, please run: ***** Just run the script which is giv...
Read more ...

Thursday, September 22, 2016

How to enable "Create a Windows 7 install disk" option in Boot Camp Assistant

Link. 1. Find Boot Camp Assistant.app in /Applications/Utilities/ and right click "Show Package Contents". 2. Backup the Info.plist in folder Contents and edit Info.plist. 3. Open System Information, copy Model Identifier (e.g. MacBookPro8,2) to the "Info.plist - PreUSBBootSupportedModels" 4. Copy the Boot ROM Version (e.g. MP11.222C.B11)...
Read more ...

Thursday, July 21, 2016

Turn off automatic attachment preview in Mac Mail App

Link. Turn off automatic attachment preview in Mail Mail, by default, provides a preview of attachments in can read, such as graphics and PDF files. However, you can run a command in Terminal to turn this off. Run the following: defaults write com.apple.mail DisableInlineAttachmentViewing -bool yes Quit Mail and relaunch it. When you view a message, all attachments will be shown as icons only. To restore the original functionality,...
Read more ...

Wednesday, June 8, 2016

Mac Word-to-PDF template error: "A footer of section 1 is set outside the printable area of the page. Do you want to continue?"

1. File --> Page Setup... 2. Paper Size --> Manage Custom Sizes... 3. Create a New one with the name "Full A4", set margins to 0 m...
Read more ...

Wednesday, April 6, 2016

NICE PROGRAMMING FONTS

Link1, Lin...
Read more ...

Quick Tip: set-goal-column

Link. On the surface, it might not sound like editing columns of text is something that happens a lot, but I find myself doing it fairly often. A quick way to enter different values on each line down a column is to use set-goal-column (bound to C-x C-n). Let’s say we have a block of text like the following comma-separated list. We’d...
Read more ...

Thursday, March 31, 2016

Access efi partition on windows 10

Link. open cmd as admindisk diskpart list disk select disk 0 "target disk, normally is 0" list partition select partition 1 "EFI partition, default:1" assign letter=b exit Task Manager - File - Run New Task - Browse... Now you can access and change files in EFI partiti...
Read more ...

Tuesday, March 22, 2016

Flash Plugin - Keep it up to date and troubleshoot problems

Link. 1. Download the  Flash Player (*.tar.gz) 2. Extract the libflashplayer.so and also the /usr files 3. Copy files to the corresponding location $ sudo cp libflashplayer.so /usr/lib/mozilla/plugins $ sudo cp -r usr/* /us...
Read more ...

Monday, March 21, 2016

Install Adobe Reader 9 in Debian (also chinese font)

Install Adobe Reader 9 1. Go to FTP download site on Adobe and download the version you wish to install. 2. Install architecture: i386 sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install libgtk2.0-0:i386 libxml2:i386 libstdc++6:i386 3. Install Adobe Reader which you downloaded sudo dpkg -i AdbeRdr9*.deb 4. If the installation doesn’t fully complete, you might need to do sudo apt-get...
Read more ...