As of the recent change in time stamps in rsyslog, you have the following time stamp in your logs:
Now isn’t that hard and complicated?
Seriously, who wants a high precision time stamp? Here’s how you quickly change it to a much more readable and simpler one. Add the following code to the beginning of /etc/rsyslog.conf
# Traditional Output Method
$template TraditionalFormat,"%timegenerated% %HOSTNAME% %syslogtag% %msg%\n"
Restart rsyslog. This is what you will get:
Jun 5 00:22:58
714 wonderful backgrounds!
Yes, in my personal opinion, bing.com is only useful in supplying fresh backgrounds, which are breath taking. These breath taking set of wallpapers, when set to change randomly on your desktop, makes the look and feel more exquisite.
Download the file(see below). The script and the images are inside the tar file. Untar them in your home directory, chmod +x bing_change_wallpaper.sh and place the file in /home/user/bin/ directory. Rename the images folder to .bing_wallpapers and place it in your home. The script by default changes the wallpaper every thirty minutes, you can edit the script to your satisfaction. For GNOME only, click on System -> Preferences -> Startup Applications, with the following entries.
Name: bing backgrounds switcher
Comment: bing backgrounds switcher
Have a great screenshot like this one? Post a comment with the link and I’ll display it here.
What is your CPU being governed by? Should it be governed by it? Why? How?
Here’s an outlook on the various CPU frequency governors, namely conservative, ondemand, powersave, userspace, and performance, that steps up and steps down the CPU:
- very much alike the ondemand governor
- gracefully increases the stepping, unlike ondemand which sets it to maximum when there is any load
- more suitable for battery powered environments
- the best of all
- sets the speed to what is required
- saves power
- doesn’t hinder CPU power, as it scales to what is required
- sets the CPU statically to use the lowest possible frequency supported
- you save power
- if you use resource hungry software, your machine may start to lag
- another application can be used to specify the frequency
- lets you manually specify the frequency your CPU should run on
- mostly useless!
- external application may set it low, you save power, but less performance
- external application may set it high, you consume more power
- statically sticks to the highest possible CPU scaling available, regardless of the available ones
- your system will run as fast as possible
- takes the most power that you CPU is able to consume
- not very suitable for battery powered environments, or even to save more power your machine consumes
Here’s what most, or at least all of you are doing: your upgrading your WordPress blog back-end from time to time as and when releases are out. Most of the articles about this tell you how to upgrade. Well, this one doesn’t. Here are five reasons why not to upgrade WordPress!
- Your present theme(which you are most comfortable with) would probably break
- Your plugins, if the authors are either paralyzed or dead, won’t upgrade them, so you lose out on plugins that you already have installed and then waste your time looking for newer ones which provide the same functionality
- In worse scenarios, you may lose your database(of course, you do have a backup, but restoring it would take time)
- Takes ten minutes of your precious time(as a science student, I really don’t have much time on my hands)
- Why on earth would you want to upgrade?
Then again, “When I upgraded my WordPress, I have new features and increased robustness”. Okay, so what? Let’s stick to one release which doesn’t have any bugs nor any glitches. Recently, around a year back, Automatic released two upgrades for WordPress, one after another within a month or so, because the earlier one had a potential security flaw. So your really not sure if the one your going to updade to would be secure as in “secure”, or would a flaw be discovered after you’ve upgraded, and then have your blog hacked.
There are so many features in the present WordPress which most of us fail to use or make use of properly, so why would you want to upgrade it when your not going to use the new features?
Now, think again,
Do I really want to upgrade my WordPress back-end?
P. S. If anyone knows how to disable that yellow banner that pops up when a new WordPress update is available, and/or know how to disable plugins from showing their updates, please comment how to.
Mumbai University fails to keep up with the ever-evolving C++ syntax. Making Turbo C/C++ as their prescribed IDE, Turbo C/C++ is ancient and will not compile with the present syntax of C++. Here is the simplest example:
cout << "Hello";
The above code, when compiled with g++ 4.3.4, will give the following errors, but with Turbo C/C++ will compile and run just fine:
firstApp.cpp:1:22: error: iostream.h: No such file or directory
firstApp.cpp:2:19: error: conio.h: No such file or directory
firstApp.cpp:4: error: '::main' must return 'int'
firstApp.cpp: In function 'int main()':
firstApp.cpp:6: error: 'cout' was not declared in this scope
Here is the same code, but following the correct syntax:
using namespace std;
cout << "Hello";
will compile and run just fine.
Argggg!!! This never ends! They even introspect on Valid XHTML and CSS standards!
Seasons change as time passes by. What’s more? It’s now 2009 years A.D.! People are joyful, partying all night long. May peace thrive the hearts of men and women as they set out on this new year! Peace to all and a Happy New Year to you and your Family!
How many of you use Windows? Well, it’s a bad……very bad idea to use it. I was using it lately just to find out that the system had a bunch of trojans! The user had no clue of it. Process: “wininit.exe”. If you use Windows Vista, see if you have that app running. It’s a WOLLF.16. Apparently, wininit.exe is a crucial system file in Vista, that if you try to kill it(which you will succeed), what do you see? A blue screen! Your system has just crashed!
What is “wininit.exe” exactly?
It looks for a file called “WinInit.INI”. If its found, it processes the commands found in this file. There is your malware hidden. It’s very dangerous when a filename crosses between legit, malware, etc.
Continue reading “wininit.exe”
All thanks to my sweet brother, Francis, he offered me this blog as a Christmas Gift. Thanks a lot. Visit him at blog.francispereira.com
“I have always thought of Christmas time, when it has come round, as a good time; a kind, forgiving, charitable time; the only time I know of, in the long calendar of the year, when men and women seem by one consent to open their shut-up hearts freely, and to think of people below them as if they really were fellow passengers to the grave, and not another race of creatures bound on other journeys.”
Merry Christmas to you and your Family