attomos

Nattaphoom Ch.

LaTeX first time

Last night, I had been playing with LaTeX. LaTeX is well-known as a typesetting system. I wrote my brand new resume using LaTeX and it’s also my first time with LaTeX.

Written By
Nattaphoom Ch.

Practicing awk

After I’ve read this blog post, I’m so interested in awk programming language and want to learn more about it. Then, I found this wiki, it is just a part of An Awk Primer from wikibooks.

I just finished these questions from Practice part and here is what I got.

  1. Try modifying one of the above programs to calculate and display the total amount (in ounces) of gold and silver, separately but with one program. You will have to use two pairs of pattern/action.

     awk '/gold/ {gold += $2} END {print "total gold = " gold} /silver/ {silver += $2} END {print "total silver = " silver}' coins.txt
    

Written By
Nattaphoom Ch.

Hello World

I’m Atom, wet-behind-the-ears hacker. My interests are web development (both front-end and back-end), high scalability and mobile application development. I graduated from KMUTT (Computer Science program). In uni, professors and friends taught me a lot, but I can’t stop learning.

Written By
Nattaphoom Ch.