This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
loom@desktop [~] kernel-ver.sh | |
mainline 2.6.35-rc3 | |
snapshot 2.6.35-rc2-git6 | |
stable 2.6.34 | |
loom@desktop [~] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set +x | |
# ------------------------------------------------------------------- | |
# | |
# Shell program to check for new nvidia drivers. | |
# | |
# Copyright 2009, Norbert Varzariu <[email protected]> | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License as |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
#==BEGIN | |
#This Script checks for new kernel releases. | |
#written by Norbert Varzariu <[email protected]> | |
#==END | |
require 'net/http' | |
#myDestSrv='www.kernel.org' | |
#myDestPth='/kdist/finger_banner' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#set -x | |
PROGNAME=$(basename $0) | |
function error_exit | |
{ | |
echo "${PROGNAME}: ${1:-"Unknown Error"}" >&2 | |
make_cleanup | |
exit 1 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
## | |
# by Norbert Varzariu <[email protected]> | |
#set -x | |
PROGNAME=$(basename $0) | |
# program starts here | |
awk '/main|snap|stable/ { print $3 " " $11 }' \ | |
<(curl -s http://kernel.org/kdist/finger_banner | head -4 ) \ | |
| column -t | |
exit $? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'net/http' | |
myFoo=[] | |
myFoo=Net::HTTP.get('www.kernel.org','/kdist/finger_banner') | |
myArr=[] | |
myFoo[0].each_line {|y| myArr=y.split(' ') } | |
puts myArr[1][2] + ":\t" + myArr[1][10] | |
puts myArr[2][2] + ":\t" + myArr[2][10] | |
puts myArr[3][2] + ":\t\t" + myArr[3][10] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'net/http' | |
myFoo=[] | |
myFoo<<Net::HTTP.get('www.kernel.org','/kdist/finger_banner') | |
myArr=[] | |
myFoo[0].each_line {|y| myArr<<y.split(' ') } | |
# doIt | |
puts myArr[1][2] + ":\t" + myArr[1][10] | |
puts myArr[2][2] + ":\t" + myArr[2][10] | |
puts myArr[3][2] + ":\t\t" + myArr[3][10] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'net/http' | |
myFoo=[] | |
myFoo<<Net::HTTP.get('www.kernel.org','/kdist/finger_banner') | |
myArr=[] | |
myFoo[0].each_line {|y| myArr<<y.split(' ') } | |
# doIt | |
puts myArr[1][2] + ":\t" + myArr[1][10] | |
puts myArr[2][2] + ":\t" + myArr[2][10] | |
puts myArr[3][2] + ":\t\t" + myArr[3][10] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mal was ganz wild sde |
OlderNewer