Zobad.net the start!

It is on 25th September 2011 that I was so depressed and frustrated of having so many ideas and no real progress, being one month jobless and stepping into the world of freelancing and being my own boss. Being your own boss is awesome, but it comes bundled with a lot of effort and burden, I have the desire, but I was lacking some feeling of accomplishment. So I paused my whole life, and picked one of my ideas, the smallest one, and decided to launch it as a prototype to venture into the "Geek Entrepreneur Within".

It was on the 25th September 2011 that I grabbed my "FalirBuilder" and drew the first layout of the project, and started developing it.

It was on the 27th September 2011, 48 hours later, that I actually launched it with the help of my partner and co-founder Ali Abdel Moniem Mansour! And Zobad.net came to life :D and boy it was a spiritual boom, I felt every cell in me was excited, and I was back in the game.

On October 5th, just 8 days after launch, I got the first call from a friend saying the Entrepreneur he works with is interested in the project! I was thrilled and my excitement was sky-rocketing! We actually had a meeting with this entrepreneur, and we loved him.

I am not sure if we are supposed to disclose any information yet on the deal we had, but stay tuned, it will clear soon.

A message from heart to all guys there with an idea, JUST START! It feels awesome, I know I am not yet in deep waters, but it really feels awesome.

I think this is what they meant when the first said

"Just build it and they will come"

They didn't mean ignore marketing or good planning, I think they meant

JUST QUIT THE CRAP & GET STARTED!

English

vi/vim cheatsheet

Cursor movement

  • h - move left
  • j - move down
  • k - move up
  • l - move right
  • w - jump by start of words (punctuation considered words)
  • W - jump by words (spaces separate words)
  • e - jump to end of words (punctuation considered words)
  • E - jump to end of words (no punctuation)
  • b - jump backward by words (punctuation considered words)
  • B - jump backward by words (no punctuation)
  • 0 - (zero) start of line
  • ^ - first non-blank character of line
  • $ - end of line
  • G - Go To command (prefix with number - 5G goes to line 5)

Note: Prefix a cursor movement command with a number to repeat it. For example, 4j moves down 4 lines.

Insert Mode - Inserting/Appending text

  • i - start insert mode at cursor
  • I - insert at the beginning of the line
  • a - append after the cursor
  • A - append at the end of the line
  • o - open (append) blank line below current line (no need to press return)
  • O - open blank line above current line
  • ea - append at end of word
  • Esc - exit insert mode

Editing

  • r - replace a single character (does not use insert mode)
  • J - join line below to the current one
  • cc - change (replace) an entire line
  • cw - change (replace) to the end of word
  • c$ - change (replace) to the end of line
  • s - delete character at cursor and subsitute text
  • S - delete line at cursor and substitute text (same as cc)
  • xp - transpose two letters (delete and paste, technically)
  • u - undo
  • . - repeat last command

Marking text (visual mode)

  • v - start visual mode, mark lines, then do command (such as y-yank)
  • V - start Linewise visual mode
  • o - move to other end of marked area
  • Ctrl+v - start visual block mode
  • O - move to Other corner of block
  • aw - mark a word
  • ab - a () block (with braces)
  • aB - a {} block (with brackets)
  • ib - inner () block
  • iB - inner {} block
  • Esc - exit visual mode

Visual commands

  • > - shift right
  • < - shift left
  • y - yank (copy) marked text
  • d - delete marked text
  • ~ - switch case

Cut and Paste

  • yy - yank (copy) a line
  • 2yy - yank 2 lines
  • yw - yank word
  • y$ - yank to end of line
  • p - put (paste) the clipboard after cursor
  • P - put (paste) before cursor
  • dd - delete (cut) a line
  • dw - delete (cut) the current word
  • x - delete (cut) current character

Exiting

  • :w - write (save) the file, but don't exit
  • :wq - write (save) and quit
  • :q - quit (fails if anything has changed)
  • :q! - quit and throw away changes

Search/Replace

  • /pattern - search for pattern
  • ?pattern - search backward for pattern
  • n - repeat search in same direction
  • N - repeat search in opposite direction
  • :%s/old/new/g - replace all old with new throughout file
  • :%s/old/new/gc - replace all old with new throughout file with confirmations

Working with multiple files

  • :e filename - Edit a file in a new buffer
  • :bnext (or :bn) - go to next buffer
  • :bprev (of :bp) - go to previous buffer
  • :bd - delete a buffer (close a file)
  • :sp filename - Open a file in a new buffer and split window
  • ctrl+ws - Split windows
  • ctrl+ww - switch between windows
  • ctrl+wq - Quit a window
  • ctrl+wv - Split windows vertically

Another good vim commands cheatsheet and a vi introduction using the "cheat sheet" method

English

Tags:

A Declaration of the Independence of Cyberspace

by John Perry Barlow <barlow@eff.org>

Governments of the Industrial World, you weary giants of flesh and steel, I come from Cyberspace, the new home of Mind. On behalf of the future, I ask you of the past to leave us alone. You are not welcome among us. You have no sovereignty where we gather.

We have no elected government, nor are we likely to have one, so I address you with no greater authority than that with which liberty itself always speaks. I declare the global social space we are building to be naturally independent of the tyrannies you seek to impose on us. You have no moral right to rule us nor do you possess any methods of enforcement we have true reason to fear.

Governments derive their just powers from the consent of the governed. You have neither solicited nor received ours. We did not invite you. You do not know us, nor do you know our world. Cyberspace does not lie within your borders. Do not think that you can build it, as though it were a public construction project. You cannot. It is an act of nature and it grows itself through our collective actions.

You have not engaged in our great and gathering conversation, nor did you create the wealth of our marketplaces. You do not know our culture, our ethics, or the unwritten codes that already provide our society more order than could be obtained by any of your impositions.

You claim there are problems among us that you need to solve. You use this claim as an excuse to invade our precincts. Many of these problems don't exist. Where there are real conflicts, where there are wrongs, we will identify them and address them by our means. We are forming our own Social Contract . This governance will arise according to the conditions of our world, not yours. Our world is different.

Cyberspace consists of transactions, relationships, and thought itself, arrayed like a standing wave in the web of our communications. Ours is a world that is both everywhere and nowhere, but it is not where bodies live.

We are creating a world that all may enter without privilege or prejudice accorded by race, economic power, military force, or station of birth.

We are creating a world where anyone, anywhere may express his or her beliefs, no matter how singular, without fear of being coerced into silence or conformity.

Your legal concepts of property, expression, identity, movement, and context do not apply to us. They are all based on matter, and there is no matter here.

Our identities have no bodies, so, unlike you, we cannot obtain order by physical coercion. We believe that from ethics, enlightened self-interest, and the commonweal, our governance will emerge . Our identities may be distributed across many of your jurisdictions. The only law that all our constituent cultures would generally recognize is the Golden Rule. We hope we will be able to build our particular solutions on that basis. But we cannot accept the solutions you are attempting to impose.

In the United States, you have today created a law, the Telecommunications Reform Act, which repudiates your own Constitution and insults the dreams of Jefferson, Washington, Mill, Madison, DeToqueville, and Brandeis. These dreams must now be born anew in us.

You are terrified of your own children, since they are natives in a world where you will always be immigrants. Because you fear them, you entrust your bureaucracies with the parental responsibilities you are too cowardly to confront yourselves. In our world, all the sentiments and expressions of humanity, from the debasing to the angelic, are parts of a seamless whole, the global conversation of bits. We cannot separate the air that chokes from the air upon which wings beat.

In China, Germany, France, Russia, Singapore, Italy and the United States, you are trying to ward off the virus of liberty by erecting guard posts at the frontiers of Cyberspace. These may keep out the contagion for a small time, but they will not work in a world that will soon be blanketed in bit-bearing media.

Your increasingly obsolete information industries would perpetuate themselves by proposing laws, in America and elsewhere, that claim to own speech itself throughout the world. These laws would declare ideas to be another industrial product, no more noble than pig iron. In our world, whatever the human mind may create can be reproduced and distributed infinitely at no cost. The global conveyance of thought no longer requires your factories to accomplish.

These increasingly hostile and colonial measures place us in the same position as those previous lovers of freedom and self-determination who had to reject the authorities of distant, uninformed powers. We must declare our virtual selves immune to your sovereignty, even as we continue to consent to your rule over our bodies. We will spread ourselves across the Planet so that no one can arrest our thoughts.

We will create a civilization of the Mind in Cyberspace. May it be more humane and fair than the world your governments have made before.

Davos, Switzerland

February 8, 1996

 

Source : https://projects.eff.org/~barlow/Declaration-Final.html

English

Project : "Cycling to Work" part one.

Trip from home to work.

I have reached an important decision. I will cycle to work everyday, right after Summer ends.

I will start some trials using a friend's bicycle. I went to Google Maps to do an initial trip planning, and Google told me that the distance is 6.8 km in total, and the image above shows the path.

I still need to work on this to avoid all bridges, as they are really dangerous.

I will be posting updates to this project periodically.

English

Master the tools, become a ninja & dominate the World!

The pyramid of Geek Powers

Dear World,

I am sick of many things you have done to me in the past years, and that's it!

I have decided that you no more have control over me, and this is my plan for this year (the year 2011).

Mark my words, World!

My plan is simply:

  • Mastering my trade core and core-related tools
    • Become a PHP ninja (5 books and 2 projects in the list)
    • Conquer the linux world, specially Cloud Computing and Bash Scripting (2 books and 1 project in the list)
    • Revise Computer Science & Engineering stuff (2 books in the list)
    • Revise/Study Maths (3 books in the list)
    • Learn Python (no list yet)
  • Becoming an effective Open Sopurce contributer
    • Contribute modules to Drupal
    • Polish and release the libraries and classes I crafted over time
    • Post more often about tech stuff, and take part in more tech discussions online
  • Find the universe's source code (This is the difficult part, needs a lot of soul searching and the map of the universe's black holes! I wish I could find Yoda!)
  • And finally with the source code I can easily "Dominate The World"! (I won't tell you any details World, but I will give you a hint, I will start in Egypt! I promise you will be surprised)

See ya by the end of the year World!

Bowahahahahahahahaha.

English

Time to revise Drupal, intensivley!

Hello world, again!

I have got 3 drupal books today, first is "Drupal 7 module development", second is "Drupal 6 module development" and the third is "Front End Drupal", the three books total 1205 pages (one thousand, two hundred and five).

I am starting a personal project to finish these three books in the next 20 days, which means I should read about 60 pages eeryday till this month ends. Sound like a good deal, specially I know most of what is written there.

I will post at the end of the month what I have achieved.

Those of you who don't know Drupal owe it to themselves to visit : http://www.drupal.org

English

Tags:

My workspace at home

Installing ubuntu on artie, my dead laptop

Attached are some images of my workspace at home.

English

I got the cryptex!


Although it is old, I saw it hanging in my driver and I remembered the movie "Angels and Demons".

And yeah "I got the Cryptex".

This post is to thank Hana Zain for she is the one who bought me the DVD with its marvelous collection as a birthday present.

English

"Bank Masr" security exposure!

Today I and my colleague Eslam were at Bank Masr because he was doing something there. Not only the bank looks poor, in my opinion, but also the screen on the wall got me stunned!

The screen was displaying a windows desktop with a folder minimized to the task bar and a window of internet exploerer displaying a page containing currency rates.

Apart from the ugliness of that page, the problem was they were showing the internal IP address the browser is using!!!

http://192.168.111.162/currencies/la2yenfa3.htm

The page name itself "la2yenfa3" is the Egyptian Arabic slang to say "no it is possible"! It was obvious two members at the IT were arguing whether they can show this page or not!

I couldn't take a pic with my mobile at the time, but will the next time i go there.

Oh did i mention that there was a warning too on the taskbar?!

English

The email i sent to Microsoft

Ban IE

Yesterday was a day of hell to me, because Internet Explorer deserves to be renamed to "internet Exploder!"...

I was working on the project and everything was going just fine, it looked very neat on firefox, opera and epiphany web browsers, with no errors or annoying distortions of any kind, it even passed the test of the w3c validator.

But when i was giving my client a status report, he told me the project is messed up, i opened an IE installation i have at my linux machine and everything was really upside down, with no obvious reason why it went like this!!

The client was upset, and he has the right to be so. So I spent all today trying to fix what IE destroyed. I really hate their browser, it is even not self-compatible, when you deal with IE the version differs so much that you have to make hacks in your CSS and HTML code for each and every version of them! How stupid that the same broswer renders html in a totally different way just because you are using another version!!

Out of frustration i issued a ticket to Microsoft's customer support as following:

 

Subject : Please stop releasing internet explorer 

Message : Dear Sir/Madam,  you don't know how much i am frustrated and filled with anger now because of your piece of software named Internet Explorer, I am in a very bad situation that is about to cost me a lot in my job because you don't care about web standards, and because of the unpredicted behaviour of your IE.

I please ask you seriously, and really you can't feel how much i feel badly inside, to stop releasing any further versions, stop shipping it, remove it from your websites and ask people not to use it anymore.

Thank you for your time, and your time only, but please stop using that time to make our lives like hell.. 

--------------------

Today came a reply from an employee there :


Dear Mr. Mosab,

Thank you for contacting Microsoft Technical support. Kindly be informed that your complaint has been reported to the responsible team. 

Your feedback is highly appreciated.

----
Notes :
(1) The image is taken from the website "we hate ie".
(2) IE seems to make problems everywhere, read this article about the situation between Microsoft an EU.

English

Pages

Subscribe to Mosab Ahmad RSS