January
16
2008
8:31 pm
Tags:
Post Meta :
You Diggin?

Author: Hussam Al-Tayebmetacitycompositejm21.png

Metacity is the default window manager for the Gnome desktop. The next major version of metacity (2.22) to be released later this year, will have a built in composite manager that will be enabled by default if libxcomposite is installed.

First you need to have ‘glx’ module enabled in the system’s xorg.conf file.

Section “Module”

……….

Load “glx”

……….

EndSection

and the xorg composite extension enabled. This should be enabled by default in xorg-server 1.4.x but for older releases, you need to add the following changes to your xorg config file.

(more…)

September
23
2007
11:15 pm
Tags:
Post Meta :
You Diggin?

Squid LogoAuthor: Hussam Al-Tayeb

The following tutorial illustrates how to install and run a Squid proxy server.

First off, a little info about Squid, Squid is a fully-featured HTTP/1.0 proxy which is almost (in progress) HTTP/1.1 compliant. Squid offers a rich access control, authorization and logging environment to develop web proxy and content serving applications.

You will need the following programs installed. ‘openssl’ ‘pam’ ‘perl’ and any ‘cron’ daemon preferably dcron. A recent gcc version is also needed.

Installing Squid:

First you need to download the following source tarball.
Open a terminal window and cd to the folder where you downloaded the file
run: tar -jxvf squid-2.6.STABLE14.tar.bz2 && cd squid-2.6.STABLE14

The next step is to run the configure script.

./configure –prefix=/usr –datadir=/usr/share/squid \
–sysconfdir=/etc/squid –libexecdir=/usr/lib/squid \
–localstatedir=/var –enable-auth=”basic,digest,ntlm” \
–enable-removal-policies=”lru,heap” \
–enable-digest-auth-helpers=”password” \
–enable-storeio=”aufs,ufs,diskd,coss,null” \
–enable-basic-auth-helpers=”getpwnam,YP,NCSA,SMB,MSNT,PAM, multi-domain-NTLM” \
–enable-external-acl-helpers=”ip_user,unix_group,wbinfo_group” \
–enable-ntlm-auth-helpers=”SMB,fakeauth,no_check” \
–enable-delay-pools –enable-arp-acl –enable-ssl \
–enable-linux-netfilter –enable-ident-lookups \
–enable-useragent-log –enable-cache-digests –enable-referer-log \
–enable-async-io –enable-truncate –enable-arp-acl \
–enable-htcp –enable-carp –enable-poll –with-maxfd=4096
Then run ‘make’ and hope for the best.
After it is done compiling, type ’su’ then enter your root password and run ‘make install’
(more…)

September
22
2007
10:08 pm
Tags:
Post Meta :
You Diggin?

Author: Raymond AbdallahGmail Logo

It’s been a long while since I’ve been thinking to change my Windows Live Messenger account from my old Hotmail account to my Gmail one! I wanted to migrate totally from the Microsoft Corp (not totally since in the end I’m still using WLM)! I searched the net over and over to know how to export my Hotmail contacts to import them into Gmail, but none of the sites had a clue about what the new Windows Live Mail was hiding since you can find many sites on how to export contacts from the old Hotmail service!

(more…)

September
22
2007
5:17 pm
Tags:
Post Meta :
You Diggin?

Author: Johny Baliandeposit-box-3-edit-1.png

Sorry guys for nothing new lately, it’s been a hectic month therefore I decided to write this post to update my readers of what is really going on so that you won’t think the site is dead :)

First off, Johny.org is now on the first page of google for the keyword “Johny”, that was the main reason I registered this domain, I mainly owe this to the great people who are linking to this site, especially to John from onemansblog.com who added a link in one of his posts just because I sent him a couple of pictures related to his post “13 billboards, (I laughed, I cried, I posted)“, something I thought was not necessary yet I’m very thankful for it (pr8 link), he has an amazing blog and I recommend all my readers to take a look!

Second, Johny.org now has a forum! The forum is about World War II, it is being managed by Raymond (a World War II fanatic), so far the forum has 56 posts and 11 World War II experts, all the posts are professional as are the members. Therefore if you want to have interesting and in depth discussions about the matter, feel free to join us! (http://Johny.org/forum)

Last but not least, Mr. Husam Al-Tayeb and I have started a new project, the project is to start a new linux distribution called CedarLinux, you can read about it on CedarLinux.com (help us with a logo :P). We decided to raise money for the project by writing linux tutorials, this way the users will see we have deep knowledge in the matter and hopefully will have confidence in what we have to offer, the tutorials will be free and those who are willing to help can donate, whether funding or servers for hosting (or sponsor), we’re excited about this and hope we can get the help needed! :)

The first tutorial is already written, it teaches how to install and setup a proxy server, Squid, the tutorial will be posted tomorrow.

To all my readers who have a Wordpress blog, its almost time to upgrade! Wordpress 2.3 is almost out, it seems it will have some amazing additions, can’t wait, hope the updates will go smoothly!

Now you know what we’ve been busy with :)

September
13
2007
11:06 pm
Tags:
Post Meta :
You Diggin?

GM logoThis is a nice email I received from Raymond, I don’t know who the real author is, email me and i’ll give them full credit.

“-For all of us who feel only the deepest love and affection for the way computers have enhanced our lives, read on. At a recent computer expo (COMDEX), Bill Gates reportedly compared the computer industry with the auto industry and stated, “If GM had kept up with technology like the computer industry has, we would all be driving $25.00 cars that got 1,000 miles to the gallon.”

In response to Bill’s comments, General Motors issued a press release stating: “If GM had developed technology like Microsoft, we would all be driving cars with the following characteristics:

(more…)

September
1
2007
2:18 am
Tags:
Post Meta :
You Diggin?

Just watch the video, words are not enough to describe it, but in short, you got a bunch of guys and girls on bikes in Lebanon, driving the Lebanese way!

What are your thoughts on such careless driving?

August
20
2007
11:10 pm
Tags:
Post Meta :
You Diggin?

SecondLife Logo

The usual and common phrase: “Go, get a life” has another meaning these days. With the new fast speed internet connections and large servers with almost limitless capacity for data, games and all sorts of applications have headed towards the online world, seeking a larger audience.

This brings us to a so called “game” in which you can make your own character from head to toe, dress him/her up (from head to toe), and call him/her as you wish. It’s like having your alter-ego showing as a virtual person in a virtual world. This Virtual World is known as Linden which has its own currency known as Linden Dollars. The name of the game, Second Life.

(more…)

August
17
2007
6:13 pm
Tags:
Post Meta :
You Diggin?

JAMinI recently changed my home network configuration, because of some weak wifi spots and I was amazed to see that my Jamin was going nuts from the change! Although I was able to ping it from within the network, I wasn’t able to access the internet from the pocket pc. At first I thought the board might be going bad, but the fact that the I was able to ping it from my laptop gave me some hope. Therefore I started to mess around with the settings of the router, I removed wep, the problem still remained, I removed dhcp, again nothing, then I searched for the latest firmware, installed and nothing… The last thing that popped in my mind was to make the network only work on G mode instead of mixed mode, and that finally got it working again. I’m not sure if the imate Jamin is only compatible with G mode, since it clearly states that it supports B and G modes, but if you own a D-Link Wireless Router (mine is DI-524) and you’re having problems connecting to the internet, try this and it might work!


August
16
2007
5:55 pm
Tags:
Post Meta :
You Diggin?

I’ve been cleaning my laptop today, and came along a project I did for my Parallel Programming course, I’ve never published this because the code was never completed as I lost interest, the challenge was the idea and the concept, anyone can write a piece of code :) but few people can come up with innovative ideas!

I came up with the idea of writing a PHP library which will make my multiple servers work together in running a certain job, back then I had access to around 5 shared servers, 3 were mine, and 2 were from friends… As an example, I ran Monte Carlo using this concept. One server was the master, the other 4 were slaves. The master sent the jobs to the slaves, the slaves got random numbers from random.org, calculated the integral, and sent the results back to the master. Once the master received all the results, it calculated the average and outputted the result. This was just a simple example I did to prove that my idea worked…

(more…)

August
14
2007
1:23 pm
Tags:
Post Meta :
You Diggin?

Level: Beginner (coder)

This is a small tutorial which will teach you how to upload files using a C# client application to a server running PHP.

We’ll call the PHP script “upload.php”, this is what it should contain:

<?php
$uploaddir
= ‘upload/’; // Relative Upload Location of data file

if (is_uploaded_file($_FILES[‘file’][‘tmp_name’])) {
$uploadfile = $uploaddir . basename($_FILES[‘file’][‘name’]);
echo
“File “. $_FILES[‘file’][‘name’] .” uploaded successfully. “;


if (move_uploaded_file($_FILES[‘file’][‘tmp_name’], $uploadfile)) {
echo
“File is valid, and was successfully moved. “;
}

else
print_r($_FILES);
}

else {
echo “Upload Failed!!!”;
print_r($_FILES);
}
?>

(more…)

« newer | older »