Tamer Sherif

Software Engineer, Cairo - Egypt

Read this first

Share or send files between servers using the command line without SSH or SCP

I wanted to share a file between 2 servers in the simplest and quickest way possible, but I had one problem: these servers do not have their own SSH keys so I couldn’t use scp or rsync unless I create and exchange keys between the servers/machines.

Most if not all linux distributions come with python pre-installed, MacOS too (I think)
So the solution is (using python):

 on the server you want to share from
cd <directory containing file(s)>
python -m SimpleHTTPServer  python 2
python3 -m http.server  python 3

This will serve whatever is in your current working directory on http://0.0.0.0:8000

Then you can use wget or curl to download the file on the server you want to share to.

View →


How to setup GoDaddy mail on iPhone (iOS 7) using IMAP

1) Open ‘Settings’ –> ‘Mail, Contacts, Calendars’ –> ‘Add Account’ –> ‘Other’ –> ‘Add Mail Account’

photo 3 small.PNG

2) Write your name, email and password, and hit ‘Next’

photo 1 small.PNG

3) Choose the ‘IMAP’ tab, and fill in all the fields

  • Incoming Mail Server: imap.secureserver.net
  • Outgoing Mail Server: smtpout.secureserver.net
  • User Name: Your full email address (not just the username before the @)

photo 2 small.PNG

Voila!

Continue reading →


Orange Egypt (formerly Mobinil) Tips & Tricks

Enabled voicemail by mistake? maybe a call tone(the irritating song that plays when somebody calls you) ? See below if you can find something useful

Disabling/Removing services:

  • Voicemail: Call 777 then press: * 3 5 2
  • Callback tone: Send SMS with UNSUB or الغاء to 9999 (It’s free)

I’ll be adding a few more every now and then.

View →