How to fix PuppetDB SSL error

If you don’t know what PuppetDB is, this post probably will not be any useful to you. But if you wanna find out or learn about it, here is the link: http://docs.puppetlabs.com/puppetdb/latest/index.html. For PuppetDB to work, we need to generate SSL certificates from a Puppet master’s SSL certificate. In my case, I need to re-configure this PuppetDB to a new Puppet mater which sits on the same server. Here’s how it was done:...

August 22, 2013 · 1 min · 133 words · kenno

Playing .ass subtitles with mplayer

$ mplayer -ass -sub subtitle.ass file.avi

August 29, 2010 · 1 min · 6 words · kenno

Change default editor in Debian

` update-alternatives –config editor` There are 7 alternatives which provide `editor’. Selection Alternative ———————————————– 1 /bin/ed 2 /bin/nano 3 /usr/bin/vim.tiny 4 /usr/bin/vim.basic 5 /usr/bin/nedit 6 /usr/bin/emacs21 7 /usr/bin/xemacs21 Press enter to keep the default[*], or type selection number: 6

April 19, 2010 · 1 min · 39 words · kenno

Enable sudo insults

Look for line begins with Defaults, and append insults to the end. Save it, and clear the sudo session (sudo -K), and try sudo with a wrong password. 🙂 Source: Enable sudo insults for some laughs

April 15, 2010 · 1 min · 36 words · kenno

Enable Japanese input on Debian/Ubuntu

Normally, I would install Scim and Anthy for Japanese input method on Debian. Recently, I found an easier way to achieve the same thing, which is to use IBus instead of Scim. Install ibus: sudo apt-get install ibus ibus-anthy ibus-gtk From the menu, System -> Preferences -> IBus Preference IBus Preference should detects that you have run IBus daemon yet, click “Yes” to run it. You’ll be asked to edit your ....

March 14, 2010 · 1 min · 150 words · kenno