Archive for the ‘English’ Category
Debian 4.0 out
A few months ago Etch was freezed now it has been officially released as Debian 4.0
These are the release notes and among the new changes I found:
- PHP5.x
- MySQL 5.x
- Apache 2.2.x
- GCC v4.1
- from XFree86 to X.org v7.1
Updating
Fist of all install aptitude
apt-get install aptitude
I used to have Debian Sarge 64 that is a semi official backport , now Etch is shipped with amd64 architecture too so the backport is not needed anymore. Updating is not difficult , one should change all “sarge” to “etch” in /etc/apt/sources.list, mine look like this
deb ftp://mirror.switch.ch/mirror/debian/ etch main contrib non-free
#deb http://www.backports.org/debian sarge-backports main contrib non-free
deb http://security.debian.org/ stable/updates main contrib non-free
deb-src http://http.us.debian.org/debian stable main contrib non-free
deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
# TOR
deb http://mirror.noreply.org/pub/tor etch main
deb-src http://mirror.noreply.org/pub/tor etch main
the “www.backports” line is comments out because etch hit stable just today. Backports are binaries compiled for etch and shipped for sarge, sometime you can’t install a package because it misses a dependency but you can run it because it doesn’t miss any dependency while it runs, hence that backports that let me use the latest mldonkey with sarge for example.
Then
apt-get update
aptitude -f --with-recommends dist-upgrade
Note that aptitude was used rather that apt-get dist upgrade because is known to be more strict on dependencies that apt-get dist-upgrade, installing aptitude here as docs say will bring in lots of other packages.
I hope that etch will be as good as sarge , for me sarge never hanged once in its life, the only problem I had was a that a couple of deamons used to exit silently after a couple of weeks running . Hopefully etch comes with a version of shorewall that is able to handle traffic shaping.
2 cents about gentoo : I love gentoo and I have no intention to change my desktop distro …but debian management is damn faster… I remeber last Gcc major upgrade , rebuilding the the system and then the world , emerge breaking during night, a couple of days compiling vs 20 min of debs fetching in debian.
Edit: Squid and Shorewall have new configurations:
- Squid: ( ola ola Christian )delete these lines
httpd_accel_host virtualand add this
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header onalways_direct allow all.Now look for http_port X.X.X.X and add “transparent” the result should be something like this:http_port 192.168.1.2:8080 transparent
- Shorewall: have a look at /usr/share/doc/shorewall/examples . Now the file “zones” must contain the firewall zone, there are no comments and no display any more so in the end you should find something like this:
net ipv4
loc ipv4
fw firewall
ipv4 is the default for normail traffic
The worst Captcha EVER !!!!!
Sometime things are so badly made that it seems a joke…
Here I am , asking myself why mldonkey doesn’t load a local ipfilter if its download fails. So I went on their forums to ask and since I’ve never done that I had to register first …. I found no solutions but a I got myself a new question : Am I visually impaired or plain stupid?



Kiss WordPress Upgrade Script
Description
This is a KISS ( Keep It Simple Stupid ) script to backup and upgrade to the latest version your wordpress blog.You will need a shell / ssh to run this script ( tested on standard linux bash ).
Features
- No configuration needed
- Full Database Backup
- Full blog root backup excluding the backup directory
- Automagic blog upgrade
- Easily written and hence easily adaptable
Installation
open a shell and “cd” to your wordpress blog root path ( the one that contains wp-admin directory or wp-config.php for example)
wget http://www.lucagasperini.com/wpautoupgrade.sh
chmod u+x wpautoupgrade.sh
Usage
open a shell and “cd” to your wordpress blog root path
sh wpautoupgrade.sh
Now point your browser to http://www.example.com/wp-admin/upgrade.php
Restore
I have an idea for doing things the KISS way but no time for now so you have to do things manually . The backup performed is standard so you can simply follow the codex.
Notes
- Two different backups are made , content and sql table, they are stored in /pathtoblog/backup.
- To download your blog backup file point your browser to http://www.example.com/backup/files.tar.gz.
- To download your sql table backup point your browser to http://www.example.com/backup/sql.gz
- All backups are kept and are not backed-up ( buckups don’t contain older backups). This mean that over time the backup directory can potentially become huge.Check it and delete older ones
- I didn’t want this script to call the upgrade.php autamatically cause it means no feedback at all.
- If you don’t have a standard wordpress install don’t use this script. For example if you use a Debian package to install wordpress this script won’t work because the deb has been debianized and all config have been moved to /etc/wordpress rather than standard /blogroot
- If it doesn’t work is your fault
Italian anti-Microsoft Terrorism
aka: Google hates Microsoft or Google loves me?
Weird …..the page rank misteries.
A few weeks ago I wrote a post concerning how much vista is expansive compared to computers shipped with linux where you just pay the hardware and you get a bunch of good free software.
Nowadays when you go to a computer shop you find a lot of laptops with big “Ready for Vista” stickers so i called my article “Get Ready for Windows Vista” that is in italian “Preparati a Windows Vista”, just for the sake of joking .
It happens that if you search for “Preparati per Windows Vista” instead of seeing results from shops, newspapers, magazines that actually talk about getting ready for vista you see the first result from Microsoft and the second one is from my blog where I actually tell people that buying Vista is stupid, expensive and in the case you still want it I left there a link to a financial institute that make loans and I called it “Preparati a Windows Vista”.
Here you are , “Get Ready for” or “Preparati a ” Windows Vista” using google.
P.S. What happens when you don’t know this stuff and you look for “Get ready for Linux”? And mostly “How the hell is possible?”
Delle belle strade
Strada della morte in Bolivia




Strada Siberiana per Yakutsk



The Sound of RAM
I just read a crazy article and I wanted to try it. Here’s how you can enconde in ogg the sound of your machine’s RAM.
To listen it:
sudo cat /dev/mem >> /dev/audio
To record it:
sudo cat /dev/mem | oggenc -rq 1 -o mem.ogg -
Here’s mine
I used ogg2mp3 in portage for the transcoding.
Original aricle: mogrify » Blog Archive » 33 seconds of RAM
Eztvefnet Regular Expressions
For the shows I watch ( 350MB)
Scrubs.S06@http://www.eztvefnet.org/rss.xml
Lost.S[0-9]+E[0-9]+.(HDTV|.*PROPER)V@http://www.eztvefnet.org/rss.xml
24.S[0-9]+E[0-9]+.(HDTV|.*PROPER)@http://www.eztvefnet.org/rss.xml
Greys.Anatomy.S[0-9]+E[0-9]+.(HDTV.PROPER)@http://www.eztvefnet.org/rss.xml
Battlestar.Galactica.S[0-9]*E[0-9]*.*(WS.DSR|PROPER)@http://www.eztvefnet.org/rss.xml
American.Dad.S[0-9]*E[0-9]*.*(PDTV|PROPER)@http://www.eztvefnet.org/rss.xml
Dirt.S[0-9]*E[0-9]*@http://www.eztvefnet.org/rss.xml
Doctor.Who.*S[0][0-9]E[0-9]*@http://www.eztvefnet.org/rss.xml
Drawn.Together.S[0-9]*E[0-9]*@http://www.eztvefnet.org/rss.xml
Eureka.S[0-9]*E[0-9]*@http://www.eztvefnet.org/rss.xml
Heroes.S[0-9]*E[0-9]*.(HDTV|.*PROPER)@http://www.eztvefnet.org/rss.xml
House.S[0-9][3-9]E[0-9]*.(HDTV|.*PROPER)@http://www.eztvefnet.org/rss.xml
Jericho.*S[0][0-9]E[0-9]*.(HDTV|.*PROPER)@http://www.eztvefnet.org/rss.xml
Nip.Tuck.*S[0][0-9]E[0-9]*.(WS|DSR|.*PROPER)@http://www.eztvefnet.org/rss.xml
The.Office.*S[0][0-9]E[0-9]*.*(HDTV)@http://www.eztvefnet.org/rss.xml
Prison.Break.*S[0][0-9]E[0-9]*.(HDTV|.*PROPER)@http://www.eztvefnet.org/rss.xml
Rome.*S[0][0-9]E[0-9]*.(HDTV|.*PROPER)@http://www.eztvefnet.org/rss.xml
Shark.*S[0][0-9]E[0-9]*.(HDTV|.*PROPER)@http://www.eztvefnet.org/rss.xml
The.Sopranos.*S[0][0-9]E[0-9]*.(HDTV|.*PROPER)@http://www.eztvefnet.org/rss.xml
Standoff.*S[0][0-9]E[0-9]*.(HDTV|.*PROPER)@http://www.eztvefnet.org/rss.xml
Top.Gear.*S[0-9][0-9]E[0-9]*.*(PDTV)@http://www.eztvefnet.org/rss.xml
Weeds.*S[0][0-9]E[0-9]*.(HDTV|.*PROPER)@http://www.eztvefnet.org/rss.xml
Nano Syntax Highlighting
I stumbleupon an old post on gentoo forums , it’s dated 2003 but it doesn’t seem to be dead. I ‘ve never thinked about the fact that nano doesn’t provide a syntax highlighting and this actually means that I’ve never read the documentation.
Nano without highlighting
Nano with syntax highlighting
The Best getacoder
This is the best getacoder.com offer ever
Hi,
So I’m posting for a rather large project. I need someone to program me a new OS (Operasting System) that looks different than Ms Windows XP etc. but has the same style. It does not need to run on a mac but all the other PCs. It’s supposed to have a stylish look with clear edges etc. And ITS NOT SUPPOSED TO BE JUST A REDESIGNED WINDOWS as I’m going to sell that operating system later on. It’s going to be called BlueOrb.These are some important points :
It should have ALL THE FEATURES that Windows Xp Professional has.
ALL the files that run on Windows XP ust also run on the BlueOrb OS.
It must have a very user-friendly interface (like MS WINDOWS XP)
When it gets Installed, the user needs to insert a serial number.
It HAS to be HACKER SAFE!
It must be quick and good looking.Note that I only accept quality work and do not want any quickly done BS.
greetz,
M.Reinhardt
And here’s the best answer :
Hi. I can do this for you next week, when I plan on taking a break from a nonotech based / atomic fission driven search engine thats going to make larry page wet his pants. 6 days to code, 1 to rest. It will be written from scratch and completely original in design, so don’t worry about copyright bs. I plan to write the entire OS in C, and blindfolded, if its all the same to you. 100% secure will not be a problem either…In fact the OS will be designed to leverage jedi mind tricks to kill anyone that even thinks about breaking in. (i was thinking maybe make them chop off their feet and jump up and down until their empty would be fair). Anyways, I’m gonna smoke some more crack, maybe you should do the same. Thanks!
Quote
“You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy,the tallest guy in the NBA is Chinese, the Swiss hold the America’s Cup, France is accusing the U.S. of arrogance, Germany doesn’t want to go to war, and the three most powerful men in America are named Bush, Dick, and Colon. –Comedian Chris Rock


