Fixing the “unix:///var/mysql/mysql.sock” not found error on MAMP

Fixing the “unix:///var/mysql/mysql.sock” not found error on MAMP

I’ve recently been working on a CakePHP project on my Mac, I’ve noticed that when
I tried Baking the project, This error came out:

Read More

Reversing the VFD

Reversing the VFD

Heya,

I had a broken Philips DVD player lying around for sometime, so I decided I’ll take out the LCD panel inside it and play a little.

First of all, I discovered that it was a VFD not a LCD, but programmatically that wasn’t a huge difference !.

Read More

Enabling mod_rewrite on apache2

Enabling mod_rewrite on apache2

If you’re trying to enable mod_rewrite for apache2 on your ubuntu server (or any other distrib) and nothing works, this little writeup might save you a few hours of frustration !

Read More

Changing iPhone’s default password

Changing iPhone’s default password

This is a little post to show you how to reset your default root password after jailbreaking your iPhone/iTouch/iPad !

(This works for any iOS jailbroken device on any iOS version)

There are two ways to do this, first way is to do it via SSH, the second way is via mobile terminal.app

1st method:

  1. You need to have OpenSSH installed on your device, to do this, just install the package “openssh” from Cydia
Read More

Newbie’s guide to Rackspace (Server Creation)

Newbie’s guide to Rackspace (Server Creation)

Hello nerds,

I’m writing this quickie as a tutorial on how to create your first server on rackspace, However, I won’t discuss how to set it up, just the creation part, I’ll show you how to interact and setup the server in another article.

So let’s start with the requirements

Read More

Welcome to my new blog

Hey guys, I’ve been away from my blog for a while, here’s what i’ve been doing

1) My final year in Engineering, so lots of tests and studies ! (1 semester to go !)

2)My scratch&win game has gone big, so I’ve been working on a newer version where players can actually win money :)

3)Working on the apple platform with Cocos2d to make a nice car physics game (It’s still a work in progress, you’ll find it in my lab)

4)I’ve been working on my car for a while, tried to sell it and had to remove all my mods and expensive equipment, but then decided to keep it, so i’ll be busy putting everything back in :)

Keep tuned, there’s going to be some nice tutorials here about web development and iOS development..

Yours,

Mostafa Berg

Read More

Changes !

Hello Everyone !,

I’ve been away from my beautiful blog for a while !
been too busy with lots of troubles,I’m starting to wonder why most of people’s posts always start with “I’ve been away from my blog” hehe, it’s probably just me and my lazy fingers that won’t type !
Well, I’m finishing my finals on the 7th of June =], So afterwards , I’ll do some major changes in my life, digitally !
Some teasers about what will happen:
-mostafaberg.com will be my main blog !! any other ideas ??
-webbstr.com -> will that be my first social project?!
-I’ll blog about cars, other misc stuff !
-I’ll publish videos about hacks, some DIY’s
-Some tutorials about hacking in general, in terms of what i see it !, if you get what i mean.
-Something that has to do with music ! hehe
Those are still some teasters, they might change, they might even increase :)
so if you have any comments, ideas, please just write it down there and i’ll make sure i’ll think of ‘em !:-)
see you soon 
Read More