Agadir (2)
   Computers (13)
   Gadgets (4)
   General (36)
   Howtos (4)
   Japanese (5)
   Linux (12)
   Movies (4)
   Old Blog (90)
   Programming (5)
   Software (6)
   Web & Design (7)

 Subscribe to Posts
 Subscribe to Comments

2eme Film Open-Source

122 views
General, Linux, Movies

big buck bunny fahdos

Enfin il arrive, le 2eme Film open-source, Big Buck Bunny à eu un coût de production de 150000 euros et une durée de réalisation de 6 mois.Ce qui magnifique c’est que les créateurs de ce film ont utilisé juste des logiciels libres genre:

Big Buck Bunny est disponible en plusieurs encodage comme: MP4, H.264, OGG, MSMP4. Ainsi en plusieurs résolutions : 1920×1080, 1280×720, 854×480, et même pour les PSPs 320×240.

Pour le Téléchargee vous n’avez qu’a suivre le lapin blanc Big Buck Bunny

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
11 Comments »

April Fool: Windows-like bash prompt

32,783 views
Linux

Here is a funny trick to mess up with someone’s bash prompt: change it to look like a Windows one :)
To do so, add the following line to his ~/.bashrc file:

export PS1='C:${PWD//\//\\\}>'

See it in action:

Windows Bash Prompt

1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5 out of 5)
7 Comments »

Local root exploit in Linux kernels 2.6.17 to 2.6.24

117 views
Linux

The exploit allow local users to gain root access using a “proof of concept” exploit. The exploit worked on my machine (Kernel 2.6.22-gentoo-r2).
The bug report:

And here’s a working patch:

--- a/fs/splice.c
+++ b/fs/splice.c
@@ -1234,7 +1234,7 @@ static int get_iovec_page_array(const struct iovec __user *iov,
                if (unlikely(!len))
                        break;
                error = -EFAULT;
-                if (unlikely(!base))
+               if (!access_ok(VERIFY_READ, base, len))
                        break;
 
                /*
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
No Comments »

Manga download shell-script

121 views
Japanese, Linux

Tired of browsing you favorite manga download site to get your daily doze?

Here’s a shell-script to help you automatize the process:

1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
if (( $# < 1 )); then
  echo "usage: ${0} NUM [NUM]..."
  exit 1
fi
 
manga="${PWD##*/}"
 
for ep in "$@"; do
  URL="http://stoptazmo.com/downloads/get_file.php?file_category=${manga}&amp;mirror=1&amp;file_name=${manga}_${ep}.zip"
  wget -c -U Links "${URL}"
done

To use it, create a directory named with the exact name from the web site:

$ mkdir slamdunk
$ cd slamdunk
$ getmanga.sh 150 151
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
No Comments »

Maquette Tux ( Linux )

927 views
Linux

Agafix Tux linuxPourquoi pas décorer son bureau?!! si vous êtes des utilisateurs d’une distribution linux, ou des funs de notre Cute tux, voila une maquette que vous pouvez monter vous même, faut juste avoir un ciseau et de la colle et un ti peux du temps libre.

PS: je l’ai pas encore fait car j’ai pas trouvé d la colle chez moi ^^

1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 4.75 out of 5)
5 Comments »

What I Hate About Computers #1: THE CAPS LOCK KEY

146 views
Computers, Linux, Old Blog

That key is just on the way. Whenever you want to use one of its neighbors (Tab, Shift, A, Q), there’s a good chance you’re gonna press that stupid key instead.

Lately I found out that I was not along, and others like me started a war against it.

So I joined them:

The other key I hate is the windows key ^_^

Life is much better now (^_^)

For further reading:

[Edit:] If you care about your keyboard and you are using Linux (Under X) you can disable the caps key by creating a .xmodmap file in your home directory with the following:

remove Lock = Caps_Lock

and insert this line xmodmap ~/.xmodmap into your ~/.bash_profile

This Tip was from this page: http://steve.yegge.googlepages.com/effective-emacs

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
11 Comments »

Howto properly remove a host key from the ~/.ssh/known_hosts file

98 views
Linux, Old Blog

Whenever I want to do that, it’s always the same scenario:

  1. open the ~/.ssh/known_hosts file w/ an editor
  2. go to the line containing the host key
  3. remove it
  4. save

I just found the proper way to do it:

$ ssh-keygen -R remotehost
/home/kakashi/.ssh/known_hosts updated.
Original contents retained as /home/kakashi/.ssh/known_hosts.old
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
4 Comments »

Hacking HP Printers

66 views
Linux, Old Blog

Get the hpunix.c source file and compile it:

$ gcc -o hpunix hpunix.c

Have fun:

$ ./hpunix printer.domain.com 'agafix rocks!'

Credits go to Irongeek.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
No Comments »

Google’s Android Demo

94 views
Gadgets, Linux, Old Blog, Software

Sergey Brin and Steve Horowitz demonstration of the Android, Google’s mobile platform. More videos are available at youtube’s android developers page, and there’s also a blog.


Edit: Steve Ballmer’s response, LOL.


1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
4 Comments »

readline wrapper

68 views
Linux, Old Blog

Some unix tools (MaxDB’s dbmcli for example) don’t have a readline support. It’s quiet annoying when you want to correct a misspelled word.

You can use rlwrap as a work around for this problem.

$ rlwrap command
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
No Comments »
Page 1 of 212»
WP Theme GlossyBlue Modified by Fahdos