Archive for the 'Programming' Category
Monday, November 6th, 2006
I found out a good tool to make slide shows without having to use a program such as PowerPoint or OpenOffice presentation, called Slidy.
You only have to include a JavaScript file, and optionally, a CSS in order to define different classes. All what you need is a basic [X]HTML/CSS knowledge, and go ahead! It […]
Posted in General, PECL, W3C, CSS, XHTML, SQLite | 3 Comments »
Friday, October 13th, 2006
Please note, this post is only for informational purpose and therefore doesn’t aim to encourage you to use illegal ways in order to increase your rating in “Top Tunisie Blogs“, but to inform the administrator about vulnerabilities and how to fix them. I have never used any of the methods below, and if you […]
Posted in General, PHP | 1 Comment »
Thursday, October 5th, 2006
After some days of talk, I finally could convince a childhood friend, Kaizuko, to set up a blog. Kaizuko was discouraged at first, as had no ideas to talk about, but wrote 5 posts today, all treating interesting topics!!
Feel free to find out about the new blog called “My thoughts are my company“.
Welcome Kaizuko […]
Posted in General, WordPress | No Comments »
Wednesday, October 4th, 2006
Looking for more Google ranking, I updated my permalink structure and set it to the following for posts:
http://swobodin.fedora-tn.org/archive/999
The feature is included within wordpress, but you can handle it manually using mod_rewrite.
Note that old URL structure (/?p=999) still works.
Posted in General, Google, WordPress, Personal, Apache | 3 Comments »
Thursday, September 21st, 2006
With Bash, you can simply remove duplications by typing:
sort file | uniq
With Perl, it’s more funny. I found those pieces of code in Code Snippets.
Simple ‘Uniq’ code
my @uniq = keys %{{ map { $_ => 1 } @list }};
Another one, more efficient
my %u = ();
@uniqed = grep {defined} map {
[…]
Posted in General, Programming, Perl, UNIX | 6 Comments »
Wednesday, August 30th, 2006
During 20 miutes of boredom, I added a more or less complicated captcha to my contact form. It’s based on a 256 bit encryption, session handling and Gd image generation.
Spammers made me sick, they send any carp, link to anywhere, I don’t know what exactly is their objective, to encourage me to buy? I […]
Posted in General, PHP | 1 Comment »
Thursday, July 6th, 2006
Here’s a funny script file that may be ran as a C/C++, PHP, Perl, Python, Tcl and Shell script. It’s a simple “Hello world” file, but a great artwork.
Posted in General, Programming, Fun | No Comments »
Tuesday, July 4th, 2006
A few laws of computer programming:
Any given program, when running, is obsolete.
Any given program costs more and takes longer.
If any program is useful, it will have to be changed.
If a program is useless, it will have to be documented.
Any given program will expand to fill all available memory.
The value of a program is proportional […]
Posted in General, Programming, Fun | 1 Comment »
Saturday, July 1st, 2006
While looking for a Perl script to remove duplications from an array, I found out an interesting resource of snippets.
Code Snippets: Store, sort and share source code, with tag goodness
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them […]
Posted in General, Programming | 2 Comments »
Wednesday, June 14th, 2006
I fell in love with a Wiki platform, DokuWiki.
Never seen such thing! It doesn’t need any SQL database, security policy is excellent, code is strangely XHTML valid (even when I try to screw it up), everything is controlled through admin interface, it has a cool behavior, and hacking on it is very simple and […]
Posted in General, OpenSource Softwares, PHP | 3 Comments »
Tuesday, May 23rd, 2006
After having worked on some billions of lines with Perl, I wanted to have fun with that language, very close to “human” English. A quick Google search gave me some crazy poems written in Perl! Yeah, I told you it’s very close.
Here are some example:
http://www.perlguy.com/contest.html
if ((light eq dark) && (dark eq light)
&& ($blaze_of_night{moon} […]
Posted in General, Perl, Fun, Poetry | 1 Comment »
Wednesday, May 10th, 2006
Disclaimer:
A renunciation of any claim to or connection with
Disavowal
A statement made to save one’s ass
That’s not my definition, I found it at the movie “Dogma”.
Anyway, This post doesn’t aim to encourage you to spam else’s blog, but this is a message to those who underestimate the spam effect that shows how easy and simple […]
Posted in General, Perl, WordPress | 4 Comments »
Thursday, May 4th, 2006
Microsoft Buys Google
Have a look at http://g00gl3.com, enter your license and use google.
I know this joke since more than 2 years, and I can’t stop laughing every time I see it.
Can not find Intelligence
Visit a non-existent link at word press plugins portal; for example
http://wp-plugins.net/zzz ; no, it’s not really as serious as it seems […]
Posted in General, Google, Fun, WordPress, UNIX, Network | No Comments »
Monday, May 1st, 2006
I have just added some plugins to my Word Press:
Related posts (so that old posts won’t be lost)
Subscribe to comments (whether you want to be noticed at a new comment)
Keywords (Useful for Technorati tags and meta tags)
I also added statistics and database backup (That’s for me). Again, welcome everybody to my blog!
Posted in General, WordPress, Personal | No Comments »
Thursday, April 27th, 2006
Spammers made me shit: over 100 spams per day obliged me to install a Captcha plugin that works fine for now; I choosed fonts that can be read by human beings, hope it doesn’t bother you, serious people of course.
Posted in General, WordPress | 1 Comment »