?

Log in

Distant Cousin-in-law

Dec. 5th, 2009 | 08:57 pm

Apparently now I am distantly in-law-related to an onna-yaku (musume-yaku?) in hoshi-gumi. I wonder if this'll make Julie jealous?

Link | Leave a comment {2} | Share

Note to self.

Sep. 2nd, 2009 | 04:24 am

Originally published at My Website. You can comment here or there.

I keep forgetting this keyboard shortcut.

expand all regions in VS: C-m C-p

That is all.

Tags:

Link | Leave a comment | Share

Eclipse CTRL-3

Feb. 15th, 2009 | 09:37 am

Originally published at My Website. You can comment here or there.

I’m using Eclipse a lot in my new job and it took me a month to discover CTRL-3 (Quick Access).  It’s the closest thing it has to Emacs’s M-x.  So I’ve binded Quick Access to Alt-x.  Eclipse is much easier to use now.

Tags:

Link | Leave a comment | Share

Visiting files using SSH in EmacsW32

Nov. 29th, 2008 | 12:26 pm

Originally published at My Website. You can comment here or there.

After much searching I discovered that the way to use ssh-based remote file visiting in emacs with TRAMP is by using the plink: method instead of ssh: while having your putty install directory in your PATH environment variable.

So I’m writing that here in hopes that it might be easier for other people to find it.

Tags:

Link | Leave a comment | Share

Brushing

Apr. 16th, 2008 | 04:05 am

Originally published at My Website. You can comment here or there.

I wonder if TV shows/movies influence our daily routines. Could that be the reason we brush our teeth so quickly compared to Asians? Or should I change that “we” into a me…

Tags:

Link | Leave a comment | Share

Sakura

Apr. 13th, 2008 | 10:31 pm

Originally published at My Website. You can comment here or there.

I thoroughly enjoy watching the Cherry blossoms bloom in the Spring. The first time I saw it in Japan I was awed by how beautiful they are. I thought to myself that I could watch Sakura trees forever and never get tired of watching them. It then dawned on me that since they only show up for a week, it means that a person only gets around 60 chances to see them in full bloom. It saddened me to think that since I’ve lived 20 years before going to Japan, I’d only have about 40 more chances left. I bet many Japanese come to realize just how short life is at a much younger age than 20. It’s a good reminder to make sure that I’m on the right track to were I want to go with my life.

I’m glad there are Cherry Blossom trees in Pittsburgh.

Tags:

Link | Leave a comment | Share

Jott.com is the coolest…

Mar. 29th, 2008 | 10:15 am

Originally published at My Website. You can comment here or there.

Jott.com is the coolest thing ever. listen

Powered by Jott

Tags:

Link | Leave a comment | Share

An Idea

Feb. 23rd, 2008 | 03:56 am

Originally published at My Website. You can comment here or there.

Lately I’ve been dreaming up of a window manager that could help me stay focused on a single thing by keeping me from multi-tasking. In the spirit of programs like writeroom and pyroom.

  • It would always display windows in full screen mode.
  • To do any action it would require you to type in a random string of characters.

The reason for having to type in the specified random string of characters is to give some weight to moving to another window. It might remove my desire to “just check if there’s any e-mail”, which usually turn into big distractions wasting time I don’t have. Yet it still makes switching to a Firefox window with some research possible.

Link | Leave a comment | Share

Valentine’s Day

Feb. 16th, 2008 | 06:12 pm

Originally published at My Website. You can comment here or there.

I got Valentine’s day Chocolate from my Girlfriend!  I’m so happy. :-)  It’s a box from Kobe Morozoff.  The company that brought Valentine’s Day to Japan.

I need to work double hard now to work off the calories.  f^_^;

Link | Leave a comment {2} | Share

LaTex

Feb. 10th, 2008 | 04:17 pm

Originally published at My Website. You can comment here or there.

It’s amazing how far a little LaTeX can take you. Even if you’re just writing an MLA style paper.

Here’s some packages to get you started:

After installing those packages you can learn how to make an MLA style paper by reading the readme file at:

/usr/share/doc/texlive-latex-extra/latex/mla-paper/README

If you are making a regular CS paper/report/dissertation then the example LaTeX file is the best example to go on. Try a Google search for “LaTeX Example” for some good ones.

I use Emacs as my editor which is pretty tough for most people but I think that it’s worth it if you learn how to use org-mode. Then you can C-x 3 (Vertical Split Screen) in Emacs and open a notes.org file right next to the text. Then you can have an outline right at your finger tips, that you can modify/show/hide in various ways.

I also recommend adding the following line to the top of your .tex file:

% -*- mode:latex; mode: flyspell; mode: auto-fill -*-

It’ll turn on flyspell and auto-fill mode for you.

My LaTeX documents are organized into a directory structure like this

~/<class name>/<essay title>/
	essay.tex
	essay.bib
	notes.org
	Makefile

I keep a skeleton folder with those three files in it. And to make a new essay I just copy and paste it with a new name.

Link | Leave a comment | Share