As of 2016-02-26, there will be no more posts for this blog. s/blog/pba/
Showing posts with label background. Show all posts

For a long time, I always feel the official SEARCH BLOG button (at the top-left) is kind of confusion. Is that for searching a blog? or for searching a blog posting? or for searching a blog posting in this blog?

Though Blogger.com is one of the biggest blogging platform providers (Is it the biggest?), but that doesn't mean everyone understand each little part of Blogger. Some Blogger bloggers just add their own search box, which is obviously clearly. But why do we reinvent the wheel when there already is one search box?

I decided to make a simple background image to indicate where the search box is. The result looks like:


This background image used Inkscape to render the text, and GIMP to draw the arrow and to mix.

If you want to have same thing on your Blogger blog, you can go to your blog's Dashboard Layout Edit HTML, find body { in CSS section. Just right after that should be background:$bgcolor;, however, this may differ in different blog templates. Make it look like
  background:$bgcolor url(http://sites.google.com/site/livibetter/blog-files/searchthisblogbg-arrow-on-left.png?attredirects=0) top left no-repeat;

Save your template, this should be working now.

If your blog already has background image, then you will need to edit it on your own. This may look terrible in IE6, I only tried this on FF3.

Updated on 2009-10-24: Modified image to match new Blogger navigation bar's layout.

Sometimes, when you are in shell, you need the current process but also want to run another command. Yes, you are running in GNU/screen, but you think you have enough tabs. What can you do? Use the magic!

Put it in background


Simply press Ctrl+Z. You will be back in your shell immediately. But the process has just been put in background is NOT running. You have to use bg to let it run in background. Use jobs to find its number and run bg 1, for example.

Want it back? Just run fg <num>.

Directly Run in Background


Run program &.

Detach it from Shell When exit


After put in background, run disown -a. You can also make directly nohup program &. However, it will show up in jobs, you can run disown -a to remove it.

When you logout, exit or Ctrl+D, the program won't exit.

This a re-post, originally posted on 2008-09-04 on The Tiny Bit blog.