Showing posts with label python. Show all posts
Showing posts with label python. Show all posts

Monday, March 31, 2014

Compiling Linux Kernel Vanilla - Ubuntu/Debian way

Here is my guide on Compiling x.xx.x Vanilla Final - Ubuntu/Debian using the Debian way

This article is about compiling a kernel on Ubuntu systems. It describes how to build a custom kernel using the latest unmodified kernel sources from www.kernel.org (vanilla kernel) so that you are independent from the kernels supplied by your distribution.
Install the Required packages for building it
 
apt-get install git-core kernel-package fakeroot build-essential ncurses-dev
Then download latest kernel version
cd /usr/src
sudo su 
wget --continue http://www.kernel.org/pub/linux/kernel/v4.x/linux-4.xx.x.tar.bz2
tar jxvf linux-*.*.*.tar.bz2
cd linux-*.*.*

$ cp /boot/config-`uname -r` ./.config
$ make menuconfig

make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=-vanillaice kernel_image kernel_headers
cd ..
dpkg -i linux-image-*.*.*
dpkg -i linux-headers-*.*.*
sudo shutdown -r now

you can install the headers too from /usr/src/linux-headers-3.*.*-*
in my case i can show you how the packages are named
ls *.deb
linux-image-*.*.*-vanillaice_4.4.*-vanillaice-10.00.Custom_amd64.deb
linux-headers-*.*.*-vanillaice_4.4.*-vanillaice-10.00.Custom_amd64.deb

I also created a python script http://github.com/mariuz/kernelcompile

that can be used like this
git clone https://mariuz@github.com/mariuz/kernelcompile.git
cd kernelcompile
sudo ./kernel-compile.py

Tuesday, April 21, 2009

reached to Using the Users Service on google app engine tutorial

well is quite easy to follow the google app engine tutorial
now i'm on step Using the Users Service

Monday, April 13, 2009

installing windmill is easy in ubuntu



$ wget http://peak.telecommunity.com/dist/ez_setup.py
$ sudo python ez_setup.py
$ sudo easy_install windmill
$ windmill shell firefox http://www.google.com

you can start record the test and after that do play
also you can save the source for python test to modify it later


Image


Sunday, April 20, 2008

pytube an useful application for converting all of thouse flashes in ogg or mpeg4 format (or mp3 if you want to )

http://www.ubuntu-unleashed.com/2008/04/introducing-pytube-youtube-leecher.html


Image

Friday, October 26, 2007

Mark Guzdial's Amazon Blog: What is the role of language in learning programming? (Part 2 of "What makes programming so hard?") Permalink

Most computing teachers who have worked over these 20 years will tell you that C++ and Java are clearly harder for students to use than Pascal. Measuring that additional complexity is a significant challenge (see earlier blog posting on the challenge of assessing learning about programming). Part of the problem is syntactic. C++ and Java require more typing and have more syntactic rules than earlier intro languages (Pascal, and also Logo or even Basic). There's another level of complexity, though -- the model of computation that a language requires the programmer to use.
Mark Guzdial's Amazon Blog: What is the role of language in learning programming? (Part 2 of "What makes programming so hard?") Permalink

Blogged with Flock