Thursday, October 29, 2015

Blogger Auto Read more with thumbnail

Link. Edit your blogger template HTML. Add the following code below the </head> tag. <!-- Auto read more script Start --> <script type='text/javascript'> var thumbnail_mode = "yes"; //yes -with thumbnail, no -no thumbnail summary_noimg = 430; //summary length when no image summary_img = 340; //summary length when with image img_thumb_height = 200; img_thumb_width = 200; </script> <script type='text/javascript'> //<![CDATA[ function...
Read more ...

Wednesday, October 28, 2015

Using SyntaxHighlighter in Blogger

SyntaxHighlighter Copy the following code <!-- Syntax Highlighter Additions START --> <link href='http://alexgorbatchev.com/pub/sh/current/styles/shCore.css' rel='stylesheet' type='text/css'/> <link href='http://alexgorbatchev.com/pub/sh/current/styles/shThemeDefault.css' rel='stylesheet' type='text/css'/> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shCore.js' type='text/javascript'/> ...
Read more ...

“Search This Blog” is not Working on Blogger

Link. Solution: Go to your layout page and remove the current (Search This Blog) gadget. Add an Html/Javascript gadget to your page. Paste the following into the gadget content and give a title (e.g. Search This Blog). Make sure you are substituting in your own blogname into the url. <form action="http://yourblogname.blogspot.com/search" name="input" method="get"> <input value=" " name="q" size="20" type="text"/> <input...
Read more ...

Monday, October 26, 2015

Continuous figure/table numbering in LaTeX

Link. In the standard document classes report and book, figure and table counters are reset after every chapter. On the other hand, article does not reset these counters when a new section is started. The chngcntr package provides the \counterwithin and \counterwithout commands to redefine a counter, by adding or removing a dependency. Through these commands, the behavior of the figure and table counters can be changed. Continuous...
Read more ...

Thursday, October 22, 2015

Disable the Dock icon for any Application (MAC OS X)

Link. There are many applications on your Mac that don't need a Dock icon. Having a Dock icon for applications that are accessed through a menu bar item or constantly run in the background would just waste space and clutter up your Dock. Many applications like this automatically hide their Dock icon (Google Notifier, Quicksilver) however some don't (Launchbar, HardwareGrowler). Luckily, if it is a cocoa application, you can...
Read more ...

Thursday, October 8, 2015

gsl-config not found ERROR when install R package

Download gsl latest version from here. ./configure make sudo make install Now you can install the R package without erro...
Read more ...