Similar Posts
How to add Google Custom Search to Question2answer?
How to add Google Custom Search to Question2answer? I do not want to create / edit / use a advanced theme. What I prefer is a plugin to replace the default search module with Google Custom Search. Thanks! Check out the Google Custom Search plugin: Google Custom Search plugin This site use it and it…
How to use ibus for inputting Chinese in Cinnamon on Fedora
How to use ibus for inputting Chinese in Cinnamon on Fedora 19? By default, ibus is not started. If I manually start it by run $ ibus-daemon The ibus daemon is started and an icon appears in the tray area. However, no Chinese is inputted to the programs even it is turned on in the…
How to print out text with line numbers in Linux
How to print out a plain text file with line numbers in Linux? Use the nl command: nl text-file Find options in the nl manual. Read more: How to add a space between the line numbers and text content in Emacs? Deleting a Specific Line From a Text File in Command Line in Linux How…
How to Wrap and NOT Wrap Lines in vim
How to Wrap and NOT Wrap Lines in vim? Make vim wrap lines: :set wrap For not wrap which will be useful when reading some data result such as logs: :set nowrap It can also be written into the .vimrc config files Read more: Making Evolution Not Wrap Lines in Composed Emails How to make…
NVIDIA Driver in Linux not Displaying Logo During Booting
The NVIDIA video card driver in Linux will display the NVIDIA logo by default during booting the X server after we successfully installed the driver. If we don’t like to see the logo every time we start X server, we can disable it. We need to edit the Xorg configuration file /etc/X11/xorg.conf with root permission….
How to print a line to STDERR and STDOUT in OCaml?
In OCaml, how to print a string as a line to STDOUT? That is, the string and the newline character, nicely? And similarly, how to print the line to STDERR? In OCaml, you may print a string with the end line character to STDOUT using the function in the Pervasives module: val print_endline : string…