ubuntu: kernelcheck… fresh new kernels automagically!

January 30th, 2008

possibly the coolest application for ubuntu that i’ve found so far!!! kernelcheck can automatically download, compile, and install the latest linux kernel for your ubuntu system. the install is stupid simple…. assuming you can type in an terminal…

if you don’t do cli… do you really want to mess with compiling a kernel?

installation is as easy as a wget, untar, python install command. check out the kernelcheck thread for more info & pictures of the program in work.

kernelcheck_kernel_info.png

ha. gonna go download the latest nvidia driver and give this a go. i’m also going to have to recompile my vmware modules, but eh…. i hope the scheduler is better in 2.6.24.

note: ubuntu kernel master thread. just bookmarking this yet again, cause i always forget about it.

…(once again with the python installs though… i love how simple it is to install something via python. too bad i can’t code worth a damn in python…. simple editing is as far as i get with python. other than some cool use in ubuntu i’ve only ever seen python in redhat’s anaconda/kickstart.)

update: you can find a pre-compiled 2.6.24 [here] and yeah the iwlwifi drivers are annoying. i didn’t compile the module the first time through (kernelcheck pops up an xconfig window where you’re supposed to enable your wireless. step #9 on the kernel master thead. oops)

 

python is sexy

December 17th, 2007

flipp@borked:~/bin/python-twitter-0.5$ sudo python setup.py clean
running clean
flipp@borked:~/bin/python-twitter-0.5$ sudo python setup.py build
running build
running build_py
running egg_info
writing requirements to python_twitter.egg-info/requires.txt
writing python_twitter.egg-info/PKG-INFO
writing top-level names to python_twitter.egg-info/top_level.txt
writing dependency_links to python_twitter.egg-info/dependency_links.txt
reading manifest file ‘python_twitter.egg-info/SOURCES.txt’
writing manifest file ‘python_twitter.egg-info/SOURCES.txt’
flipp@borked:~/bin/python-twitter-0.5$ sudo python setup.py install
running install
running bdist_egg
running egg_info
writing requirements to python_twitter.egg-info/requires.txt
writing python_twitter.egg-info/PKG-INFO
writing top-level names to python_twitter.egg-info/top_level.txt
writing dependency_links to python_twitter.egg-info/dependency_links.txt
reading manifest file ‘python_twitter.egg-info/SOURCES.txt’
writing manifest file ‘python_twitter.egg-info/SOURCES.txt’
installing library code to build/bdist.linux-i686/egg
running install_lib
running build_py
creating build/bdist.linux-i686/egg
copying build/lib/twitter.py -> build/bdist.linux-i686/egg
byte-compiling build/bdist.linux-i686/egg/twitter.py to twitter.pyc
creating build/bdist.linux-i686/egg/EGG-INFO
copying python_twitter.egg-info/PKG-INFO -> build/bdist.linux-i686/egg/EGG-INFO
copying python_twitter.egg-info/SOURCES.txt -> build/bdist.linux-i686/egg/EGG-IN
FO
copying python_twitter.egg-info/dependency_links.txt -> build/bdist.linux-i686/e
gg/EGG-INFO
copying python_twitter.egg-info/requires.txt -> build/bdist.linux-i686/egg/EGG-I
NFO
copying python_twitter.egg-info/top_level.txt -> build/bdist.linux-i686/egg/EGG-
INFO
zip_safe flag not set; analyzing archive contents…
creating ‘dist/python_twitter-0.5-py2.5.egg’ and adding ‘build/bdist.linux-i686/
egg’ to it
removing ‘build/bdist.linux-i686/egg’ (and everything under it)
Processing python_twitter-0.5-py2.5.egg
Removing /usr/lib/python2.5/site-packages/python_twitter-0.5-py2.5.egg
Copying python_twitter-0.5-py2.5.egg to /usr/lib/python2.5/site-packages
python-twitter 0.5 is already the active version in easy-install.pthInstalled /usr/lib/python2.5/site-packages/python_twitter-0.5-py2.5.egg
Processing dependencies for python-twitter==0.5
Finished processing dependencies for python-twitter==0.5
flipp@borked:~/bin/python-twitter-0.5$

it’s even simpler than using cpan for perl. no setup program, not prompts, just some commands and bam stuff gets configured, built, and installed. i’ve played with coding with python before, mostly in dealing with red hat/anaconda installs but this is just too cool. checkout this comment for more info on setting up python.
[ setting up python-twitter for deskbar-twitter for deskbar]

 

coding really does suck!

May 19th, 2005

i finally went over to python challenge and i’m sorry i did. i got to problem #3, and it involves a large string and a pretty specific regexp match.

One small letter, surrounded by EXACTLY three big bodyguards on each of its sides.

so i think it’s something like “[A-Z][A-Z][A-Z][a-z][A-Z][A-Z][A-Z]“. up till this point i could solve each riddle w/ very little coding. just unix utilities like grep and tr. oh well. i’ll just get back to it later. gonna have to go dig up some old perl code, or actually start learning python.

ha! figured it out.
really, what am i supposed to do with an answer of ['qIQNlQSLi', 'eOEKiVEYj', 'aZADnMCZq', 'bZUTkLYNg', 'uCNDeHSBj', 'kOIXdKBFh', 'dXJVlGZVm', 'gZAGiLQZx', 'vCJAsACFl', 'qKWGtIDCj'] i had to hop on the forums to figure it out. i did however write a .py to figure it out. whee.

i’m starting to get a little better at writting python code too. too bad urllib takes so long when it’s doing a urllib.urlopen(). i’m waiting for the solution to 4 to be found. it’s gonna take a little while.

 
other posts [ ]