get systemd journal entries on web interface.

Just in case you need it, you can get the journalctl entries from systemd in the web page.

First install :

yum install systemd-journal-gateway

Once you have done this you can get the journal entries with wget as well with

wget http://localhost:19531/entries

or if you prefer, you can browse with a browser at http://localhost:19531/. It has a nice little interface for browsing the entries, nothing too fancy but just sufficient.

 

Enhanced by Zemanta

quick notepad in firefox.

If you quickly need to note something and you do not want to leave your browser then just add a bookmark to :

data:text/html, <html contenteditable>

and whenever you need to get the notepad, just open this bookmark. Sorry, I do not remember, where I got this from, but this is something that I did not discover but since I do not remember where I got this from, I am not able to credit the authour.

 

Enhanced by Zemanta

Script to get yourself some conkyrc files

Table of contents for conkyrc

  1. Get yourself some conkyrc files.
  2. Script to get yourself some conkyrc files
  3. Cont: Get yourself some more conkyrc files.

Continuing from where we left, here is a script that can do all this for you 🙂

curl http://ubuntuforums.org/showthread.php?t=281865\&page=$i | sed -n '/\\/pr/ p'| sed '// d'| sed 's##\n-----------------------------------\n\n\n#' >conkyrc
	dos2unix conkyrc
	cp conkyrc .test
	while [ $(wc -l .test|sed 's/[^0-9]//g') != 0 ]
	do
		sed -n '1,/------------------------/ p' .test|sed '$d' >conkyrc.$count
		diff .test conkyrc.$count |sed 's/^<.//'|sed '1, /---------------------/ d;2d'>.test
		((count++))
	done

This will create couple of conkyrc.files in the current directory. Each of these is one from the web-page that I mentioned earlier. So, enjoy….

Enhanced by Zemanta