How to change iPhone screen to gray scale display #iOS10

Thai people are on the period of the greatest loss and despair.
Since now we are in sorrow and tears are in our faces, we can be in mourning in different ways.

This article will show how to change your iPhone with #iOS10 screen to grayscale tone.

  1. First go to setting > Accessibility


2. Under the Vision > Display Accommodations 


3. Select Color Filters > Grayscale


4. Done! now you can see the world in Grayscale.


Changing URL for WordPress

Recently, I have to change a URL for one of my WordPress websites. After a new domain name was pointed to the location of WP directory on my server, my website didn’t correctly show due to some elements still linked to the old URL. To fix this, I have to tell WordPress a new URL by putting these two lines in wp-config.php


ATOM as my favourite editor for Thai LaTeX document

From Github, Atom is an open source text editor that I’m interested for quite sometimes. In fact, I’ve been using SublimeText for a very long time because I love its speed and functions. The big problem of SublimeText for me is it can’t render Thai character correctly. This is a big deal for me since I once in a while need to write in Thai.

When I first tried out Atom, I really impressed that it can properly show Thai character. After a while, I come to love its community of developers behind it. I have to work with tons of LaTeX documents and I think now Atom is the answer for me.

Here is how I set up the packages to work with LaTex (especially for Thai). Big Thanks to MATTEO MEROLA blog for this guidance of setting LaTex for Atom.

  1. Download and install Atom , of course.
  2. Go to Atom > Preferences and install these packages.
    • language-latex
    • linter-chktex
    • spell-check
    • latexer
    • latex-plus
    • dictionary
    • zen
    • wordcount
    • git-plus
    • project-manager
    • minimap


  3. You’ll need to put the TeX path in the latex-plus setting.
  4. Done! now you can write and compile your LaTeX document.
  5. In order to use Thai, you’ll need to use XeLaTeX.
  6. Set up a new project and create a simple LaTeX document as follow:

  7. \documentclass[a4paper]{book}
    \usepackage[top=25mm, bottom=20mm, left=25mm, right=25mm]{geometry}
    \setmainfont{TH SarabunPSK}
    \newfontfamily{\thaifont}[Script=thai]{TH SarabunPSK}

  8. Now go to Atom menu > Packages > LaTex-Plus > Edit
  9. Thai_pdf_—__Users_Arm_Desktop_testProject

  10. In the program, change to “xelatex”
  11. Thai_tex_—__Users_Arm_Desktop_testProject

  12. Viola! now you can enjoy, writing LaTeX document in Thai ^_^

DIY bedside table

I got the inspiration from SANDHOG of Ikea bedside table for this DIY table.

What I want?

A bed side table for my iPhone and Apple Watch with the charging cable hide inside this table.

What you need:

  1. Paper Bucket: I got this bucket for $3 USD10224822_0 faad9711430acba5166dd16b23052057


2. Paper Clippaperclip2

3. Extension Power BoardBEBSV804AU_belkin_8_outlet_with_2_usb_ports_2_4a_and_2m_cord

4. Plastic Mat variera-drawer-mat-white__23132_PE099993_S4

So, the total budget is around $10 USD.

How I made it?


  1. Cut two holes with scissors on the near top and bottom of paper bucket for the power cable.

Screenshot_3_24_2559_BE__9_42_AM Screenshot_3_24_2559_BE__9_44_AM

2. Use the paper clip to hang the extension power board inside the bucket.

Screenshot_3_24_2559_BE__9_45_AM Screenshot_3_24_2559_BE__9_46_AM

3. Done! I put a round plastic mat on the top of the table to prevent a scratch for my devices. Enjoy ^_^

My Korean Series List

Updated 17-04-2016: from now on, I’ll update my list at

I’d like to keep a list of K-series that I’ve watched. This list is ranked by my favourite of romantic comedy.

using Thai with LaTeX on Mac OS X

Here the thing, while I was writhing my thesis using LaTeX with the template that Dr. Gordon created, I have to write a long research report for my work.
So I have a though of using LaTeX to create that report since I already fond of the way LaTeX writing can help me organize and create beautiful PDF report.

Screen Shot 2014-07-27 at 10.19.03 AM

However, it’s not easy as I thought since I have to write that report in Thai and Thai language is designed to be difficult to use in the digital world. I have to dig around for a couple days in order to use Thai with LaTeX especially on OS X.
Here is how I did it:

1. First we’ll need to install TeX Live, for Mac we need to install MacTex
2. Once you install the MacTex then you’re ready to use international language with LaTeX using XeTeX typesetting engine.
3. Then you’ll need a tool with XeTeX engine to write LaTeX. I recommend Texmaker because it’s free and super powerful.
Screen Shot 2014-07-27 at 10.38.42 AM
4. After installing you will have to set up the typesetting by go to Texmaker > Preferences > Quick Build > XeLaTex + View PDF
5. Finally test your environment by creating new document with this code

\usepackage[top=25mm, bottom=20mm, left=25mm, right=25mm]{geometry}
\XeTeXlinebreaklocale "th"
\XeTeXlinebreakskip = 0pt plus 1pt
\setmainfont{TH SarabunPSK}
\newfontfamily{\thaifont}[Script=thai]{TH SarabunPSK}
ป้า กะ ปู่ กู้อีจู้ ตัวปกติ\\
{\itshape ป้า กะ ปู่ กู้อีจู้ ตัวเอียง} \\
{\bfseries ป้า กะ ปู่ กู้อีจู้ ตัวหนา } \\
{\bfseries\itshape ป้า กะ ปู่ กู้อีจู้ ตัวหนาเอียง} \\
ทดสอบใช้คำสั่ง \LaTeXe{}\\
ป้า กะ ปู่ กู้อีจู้ ไฟฟ้า ปัญญา ตัวปกติ\\
\textbf{ป้า กะ ปู่ กู้อีจู้ ไฟฟ้า ปัญญา ตัวหนา}\\
\textit{ป้า กะ ปู่ กู้อีจู้ ไฟฟ้า ปัญญา ตัวเอียง}\\
\textsl{ป้า กะ ปู่ กู้อีจู้ ไฟฟ้า ปัญญา ตัวเอน}\\
\textbf{\textit{ป้า กะ ปู่ กู้อีจู้ ตัวหนาเอียง}}\\
%%\texttt{ป้า กะ ปู่ กู้อีจู้ ไฟฟ้า ปัญญา ตัวพิมพ์}
xxxx xxxxx xxxxx
xxxx xxxxx xxxxx
%% \backmatter %% ใช้ไม่ได้ หายหมด
%% ยังไม่ดีมาก แต่ก็ได้ ก ข ค
\chapter{ทดสอบภาคผนวก} %% ---------------------
\chapter{ทดสอบภาคผนวกอีกที} %% ---------------------

You should see Thai language is working correctly, if not check if you system has Thai Sarabun font installed? You can download this official Thai font from SIPA

The main point is you’ll need to tell LaTeX to use Thai font
\usepackage{font spec} % To enable non-standard font selections
\setmainfont{TH SarabunPSK} % A font with Thai glyphs
\XeTeXlinebreaklocale ’th_TH’ % Thai-style word-breakings and line-wrappings

Enjoy Thai LaTeXing ^_^

DIY: Jot Pro Stylus clip

Jot Pro in my thought is by far the best stylus for capacitive screen like iPad. I am using it all the time and even bought the iPad case that can carry this Jot Pro. However, the only draw back is the lack of pen clip. It’s difficult to put in your pocket without worrying about losing it. Here is what I did to make DIY clip for Jot Pro.

1. Buy a pen with a big clip (my pen is 25c)

2. Take the clip out and make a cut on the outer ring

3. Done ^__^

photo 1photo 2photo 4photo 3photo 5

How to view .XPS on Mac OS X

XPS format is a Microsoft standard format to use in MS Office. From MS Office you can print any document into XPS format (*.xps). However, I got a difficulty to read this format in Mac. The best way I found out is open with Google Doc. Here is how I did it:

1. Mail the XPS file with Gmail

2. Instead of download the file, choose to view file

3. The file will open with Google Doc and then later you can convert to PDF ^__^

How to install Graphviz on Mountain Lion

Graphviz is open source graph visualization software. Graph visualization is a way of representing structural information as diagrams of abstract graphs and networks. It has important applications in networking, bioinformatics, software engineering, database and web design, machine learning, and in visual interfaces for other technical domains.

However there are some issues between Mountain Lion and X11, Graphviz 2.28 can’t run properly on Mountain Lion. Here is how I make it work.

* Install Homebrew by using this command in Terminal

$ brew install wget

* Then brew Libtool by typing this code in Terminal

$ brew install libtool

* Finally, install Graphviz at (I am using version 2.29 dev snapshot)

* Done now you should be able to run Graphviz on Mountain Lion