How to show Tikz figures on the webpage (html)

2014年6月17日 19:40

Consider the fact that I have used Tikz (Tex) to finished drawing some nice graphs. In another words, I have some source files in .tex format. The question is, how do I show these diagrams drawn using Tikz on the html file?

Tags: latex html5
评论(2) 阅读(2662)

Emacs AUCTEX Spell Checking Error: no dictionary ispell [Mac OS]

2014年4月18日 11:40

When using AUCTEX in Emacs, type M-x ispell then hit RET, there is an error saying : no dictionary found for ispell.

I already installed aspell using 

brew install aspell --all

It shows that:

Warning: aspell- already installed

Therefore, in the configure file ~/.emacs.d/init.el, I add 

(setq ispell-program-name "/usr/local/bin/aspell")

since the executable of aspell locates in the path "/usr/local/bin/aspell" for my Mac OS.

Then I type M-x ispell, it works.

评论(0) 阅读(1857)

Using Networkx to draw graph

2014年4月13日 14:51

Draw a directed graph using Networkx 

评论(0) 阅读(7881)

Rails 4.0.4 ActiveModel::ForbiddenAttributesError

2014年3月23日 18:50


When I try the rails example project ''rottenpotatoes'' on the SaaS book by Fox and Petterson,  I had problem running the "create" and "update" methods on the webpage. As figure shows, when I click button "Save Changes", it calls the Movie.update function and throws out an error "ActiveModel::ForbiddenAttributesError"

评论(1) 阅读(2344)

Blank screen after installing nvidia driver (ubunbu安装nvidia显卡驱动后黑屏)

2014年1月30日 11:18

Problem: ubunbu安装nvidia显卡驱动后黑屏



sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install nvidia-current

评论(0) 阅读(1665)