Penn State finds 120,000 year old bacteria
This is fascinating: http://www.eurekalert.org/pub_releases/2008-06/ps-asi052708.php
I live fairly close to Penn State main, so it’s more interesting to me I guess. Very neat.
This is fascinating: http://www.eurekalert.org/pub_releases/2008-06/ps-asi052708.php
I live fairly close to Penn State main, so it’s more interesting to me I guess. Very neat.
#pstree –help
I didn’t realize this before, but you can get an SELinux security context listing based on running processes with the Linux pstree command.
# pstree -n -p -Z
init(1,`system_u:system_r:init_t')
├─httpd(5396,`user_u:system_r:initrc_t')
│ ├─httpd(5398,`user_u:system_r:initrc_t')
│ ├─httpd(5399,`user_u:system_r:initrc_t')
│ ├─httpd(5400,`user_u:system_r:initrc_t')
│ ├─httpd(5401,`user_u:system_r:initrc_t')
│ ├─httpd(5402,`user_u:system_r:initrc_t')
│ ├─httpd(5403,`user_u:system_r:initrc_t')
│ ├─httpd(5404,`user_u:system_r:initrc_t')
│ └─httpd(5405,`user_u:system_r:initrc_t')
├─sunbird(7502,`user_u:system_r:unconfined_t')
│ └─run-mozilla.sh(7516,`user_u:system_r:unconfined_t')
│ └─sunbird-bin(7521,`user_u:system_r:unconfined_t')
│ ├─{sunbird-bin}(7524,`user_u:system_r:unconfined_t')
│ ├─{sunbird-bin}(7525,`user_u:system_r:unconfined_t')
│ ├─{sunbird-bin}(7526,`user_u:system_r:unconfined_t')
│ ├─{sunbird-bin}(7530,`user_u:system_r:unconfined_t')
│ └─{sunbird-bin}(7531,`user_u:system_r:unconfined_t')
Obviously I snipped a ton output, but in that last command you’d get output sorted by PID, displayed with the process ID, and then the SELinux security context applied. Sweet. SELinux still makes me scratch my head sometimes.
I found a new piece of open source software for Windows today. You can burn CD and DVD projects with InfraRecorder which is licensed under GPL v2.
Download from their website: InfraRecorder
Unpack the zip files to a place like C:\Program Files\InfraRecorder and then launch InfraRecorder.exe. That’s it, there’s no software to really “install” the Windows way. Enjoy.
This is exactly why I would never EVER let these kinds of places touch any kind of hardware that had data on it.
I refuse to even send a hard drive back to the manufacturer without first wiping it with DBAN. Call me paranoid, but it’s entirely too easy for others to get personal information from you.
I found a cool keyboard shortcut utility today for Fedora. For some reason the mute shortcut of CTRL + T on the Gnome volume applet wasn’t working. I like to stream news or music sometimes outside of my usual Amarok music collection, but I wasn’t able to mute the volume when I received a phone call or someone popped in the office. I found xbindkeys to do the trick.
As root:
# yum install xbindkeys
As your user:
# xbindkeys --defaults > $HOME/.xbindkeys
You can then open up the default file and read all the fun stuff in there. To add something custom, just put the lines in like below. I’ll show you adding my command to use amixer to mute the sound.
# vim $HOME/.xbindkeysrc
“amixer set Master mute”
Control + m
“amixer set Master unmute”
Control + n
Next, you’ll need to save the file and then actually start xbindkeys in the background for it to run. Check to make sure it’s running then.
# xbindkeys # ps uxa | grep xbindkeys 500 16610 0.0 0.2 5720 2080 ? S 15:21 0:00 xbindkeys
Whenever you make a change to the configuration file, you’ll have to kill this process and restart it.
# killall xbindkeys # xbindkeys
Lastly, it’s a pain to have to start it from the command line every time you log into your session, so add it to the Gnome (find your KDE instructions if you use KDE) session manager.
Menu -> System -> Preferences -> Personal -> Sessions
Go to the Startup Programs tab and click Add.
Name: xbindkeys
Command: /usr/bin/xbindkeys
Comment: Custom key commands utility
Click OK and you’re ready to go.
In this example, when I hit CTRL + M it will mute my sound and when I hit CTRL + N it will unmute my sound. You can add whatever you want, it’s pretty cool. You can even add mouse click commands.
If you want to install on RHEL or CentOS, just download the source.
If you don’t know what the key code is for adding something like a number, from the command line do the following.
# xbindkeys -k
You’ll see a box popup asking you to press a key. Go ahead and hit something, I’ll hit the number 8 key and you can see what the output is.
# xbindkeys -k
Press combination of keys or/and click under the window.
You can use one of the two lines after "NoCommand"
in $HOME/.xbindkeysrc to bind a key.
"(Scheme function)"
m:0x10 + c:17
Mode2 + 8