script to get hard disk health in fedora/ubuntu
First, put this in a script.
|
|
and then put this in cron:
Continue readingFirst, put this in a script.
|
|
and then put this in cron:
Continue readingDescription : Whaaw! Media Player is a lightweight media player that supports fullscreen
: mode, seeking, changing video colour settings and more. It will play any audio
: or video files that GStreamer can play. It is intended to be a basic media
: player without any GNOME dependencies.
So, this is light weight media player with not too many features but does good as a simple media player.
To install:
Continue readingnefte is a lightweight programmers editor. Here is descriptioin:
Description : eFTE is an advanced programmers editor with goals of being lightweight, yet
: totally configurable. Support for user defined programming languages, menu
: systems and key bindings are provided with many common defaults already
: defined. eFTE is still a new project, however, we extend from the FTE editor
: which was first released in 1995, so eFTE is tried and true with many features
: for the programmer/text editor.
:
: This package contains nefte, the ncurses version of the editor.
And to install:
Continue readingTo install:
|
1
|
nomacs is a very light weight viewer for images with some fetures that you find useful (rotate image,
crop and see in 1:1. Not too much features but definately very light weight and good for daily use.
- Description : nomacs is image viewer based on Qt4 library.
- nomacs is small, fast and able to handle the most common image formats.
- Additionally it is possible to synchronize multiple viewers
- running on the same computer or via LAN is possible.
- It allows to compare images and spot the differences
- e.g. schemes of architects to show the progress).
So, last few weeks have been very busy with lot of security issues, so I thought of having a local CVE Search app. But all I could find on google and github.com were on python and nothing that I could use quickly. So here is link to one that I wrote quickly:
It’s in php. So just download in some folder and access from a web-server and you are done.
Continue readingHere is a link to one post on ssh config file.
However, if you want entries for lot of servers with their IPs or names, then it could be cumbersome to add all the entries in the .ssh/config file. So, here is a shortcut notation:
Host 1 2 3 4 5 6
Hostname 192.168.1.%h
User
Ciphers arcfour
where '%h' denotes the IP that you use in the ssh command.
The following escape character substitutions will be performed:
‘%d’ (local user's home directory), ‘%h’ (remote host name), ‘%l’ (local host name),
‘%n’ (host name as provided on the command line), ‘%p’ (remote port),
‘%r’ (remote user name) or ‘%u’ (local user name).
Here is a nice little handy function that I use very regurlarly.
You can use this function with parameter to just grep for that or just type psa to see all the running processes.
Just put this in your .bashrc file.
You might find it useful:
psa ()
{
if [[ $1 == "" ]]; then
ps -eaf;
else
ps -eaf | grep --color=auto -i $1;
fi
}