በ regexp ከ ሀ እሰከ ፐ ለመፈለግ

የግ ዕዝ ፊደላትን በአንድ ጊዜ ፈልጎ ለማግኘት ቀላል ዘዴ

Capture

ነገር ግን ይህ “ፑ” “ፒ”  “ፓ” “ፔ” “ፕ” “ፖ” “ፗ” ለይቶ ሰለሚተውብን በተሻሻለ መልኩ እንደሚከተለው አድርገን ልንፈልግ እንችላለን

Capture

10 Apps you can install on NAS

If you have a NAS4Free box in your network, and you are only using it as a backup server, I think there is more to it than a that. Here are 10 PHP web based applications you can install for various purposes.

NAS4Free has several services installed out of the box, like:

  • SMB/CIFS
    An application-level network protocol mainly applied to shared access to files, printers, serial ports, and miscellaneous communications between nodes on a network, used in particular by Microsoft
  • FTP Server
    A standard network protocol used to transfer file from one host to another.
  • SSH 
    A crystallographic network protocol for secure data communication, remote command-line login, remote comand execution and other secure network services.
  • NFS
    Access files over a network in a manner similar to how local storage is accessed.
  • DNLA/UPnP
    Networked devices will seamlessly discover each other’s presence and connect each other …
  • iTunes/DAAP
    Digital Audio Access Protocol by Apple, if this server run all iTunes inside the network can access a centralized media storage.
  • rsync
    for Unix like (or windows) this service will help you synchronize file and directories from one location to another while minimizing data transfer by using various smart approach.
  • Webserver
    A Lighttpd webserver to help you run your web applications.

Power up your network by adding the following PHP based web applications,

  • ownCloud
    ownCloud can work as an Intranet DropBox like application. It’s a great synchronization tool, but it’s much more than that, it’s a file sharing, collaboration and storage facility all for free. You can even have ownCloud client application on your phone/tablet and sync your photos and documents.
  • Transmission
    Tired of family members downloading the same file from torrent and overloading your network, well, with Transmission you can centralize your torrent download and share the downloaded file over SMB/Windows File Sharing. Transmission is linux version of uTorrent. With it’s “Waiting Directory” and SMB server you can centralize torrent download and media sharing.  Transmission is included out of the box.
  • phpFreeChat
    As it’s name imply, this one is a great tool if you like to have a self hosted intranet chat. here is an example of customized chat app online, maybe overkill for home purpose with 4 to 5 network nodes but for a company with large number of computer this one is idea.
  • Gallery
    If you centralize your photo backup, why not create a gallery app where people can collaborate. It’s a fun tool for family.
  • PHPMotion
    Gallery is for pictures, this one for your videos.
  • Squirl Mail
    Set up a web mail applicaiton so that people can easily access their mail from within the intranet
  • Media Wiki
    If your line of work related to research, education and as such, why not have your own version of wiki
  • phpBB
    How about a forum?
  • WordPress
    A blog, news feed, announcements, file sharing, notice board … use it as what ever way you like but wordpress is one good thing to keep inside your organization’s network.
  • Online Operating System
    The applicaiton is wide i cannot go over it here.

 

Ethiopian Banks Exchange Rate Crawler – Open Sourced

Today I retire one of my small side project I wrote Last year as learning practice for Python text manipulation. I wrote this simple script so that it can crawl on a given set of bank’s website and pull current exchange rates for USD, Pound and Euro. As an additional feature after it finds exchange rate it will post the result on twitter. Connect your twitter with facebook you can post the same thing on Facebook too.

I used this script to post so many exchange rate information at it’s dedicated twitter page @fiseha6. Now it’s retired. Rates will be there for historic reason only.

fiseha6 

The script utilizes pythons urllib and a simple find method.

Hoping it may somehow will be useful for some people I put the source code on Github, clone your copy here.

Note: I remove the access token and authentication details I made with twitter (please don’t expect out of the box twitting functionality), if you would like this script to work flawlessly you need to register your own application with Twitter API and gain access token, consumer key and other details …

Installing Viber on Android from Play Store in Ethiopia

The search result page for Viber app on Google Play site look like this:

Play Store Search

Because Viber is a restricted app in Ethiopia you won’t find it on Google Play. So installing it is a bit tricky.

Luckily there are solutions, and the idea is simple, the first solution is to trick the Google Play store site in thinking you are in Europe or any other country where the app is not restricted,  the other solution is to manually download the app and install it.

Here are the steps:

Option 1: Using a VPN (Virtual Private Network) app 

  1. Open Play Store and search for the app “DroidVPN”
    This is the application that will trick the app store site in thinking we are somewhere else than our actual location. This is a great app if you would like to access restricted sites too.
  2. Register your account on DroidVPN and start the service (you should be connected)
    Note: to check you’r successfully connected to the service, open up your browser app and browse to www.whatismyip.com this should show you an IP address other than Ethiopian’s. Usually the Ethiopian IP address start by 213.55.x.x If the location says other than Ethiopia (et) you can continue to the next step.DroidVPN1
    DroidVPN2
  3. Go to Settings > App/Application Manager > Google Play Store Network Services > Force Kill then Clear Cache respectively
  4. Open Play Store and Search for Viber. This should get you the proper result.

Option 2: Manually installing your app

  1. Google your app usually appending an .apk at the end (viber.apk download )
  2. If googling doesn’t help this site may could be a good choice
  3. Copy it to your phone using a PC or if you download it on your PC it will prompt you to save it or install it, choose install

The second option seem easy but not safe, I suggest you go with the first one.

Why Short URLs are blocked and how to un-block them

URL Shortenings are mainly used by services like twitter to reduce the amount of character in URLs. Since you can only put 140 characters it make sense to be more economical about the number of characters in your post. For example the article about URL Shortening at the Wikipedia is : http://en.wikipedia.org/wiki/URL_shortening (42 characters long) when shortened it can be one of the following : “http://bit.ly/urlwiki“, “http://tinyurl.com/urlwiki“, “http://is.gd/urlwiki” or “http://goo.gl/Gmzqv“. All of them direct you to the same location. (If you happen to click this short links from Ethiopia, for some reason the first two will not work and the last two will work).

Other than being economical, short URLs are prettier to look at and are useful to disguise the underling address.

Okay that said, let’s say am one of those government type who proudly say I can decide and choose whatever my citizens would like hear, see, eat, sleep with ….. and one day I decided to block site X. Because according to ME, site X is talking bad about me, criticizing every move I make. So I say site X is bad, it’s out of my control, and citizens should not see that site no more. Bang! Site X now say “The connection was reset..” or according to Google Chrome “Oops! Google Chrome could not find X”. Success! but hey what if the people over X get smart and put their address http://sho.rt/x and share it with facebook and twitter? bummer! why not block the whole http://sho.rt URL all together? but wait what about all those great sites shortned by the sho.rt?? Well, I don’t care. Let the smart asses find a way to that.

I guess that was what the people at the ISP or whatever discuss among themselves before blocking several short URL giving services like bitly.com here in Ethiopia. dumbs!

Okay, creepy right. I know. I would say: block whatever you want but at least be smart about it.

Let’s find a solution. I guess spending more time on how to solve the problem would be helpful than crying about the poor thinking out there. Keep in mind that am not trying to figure out a way to unblock X here, all am going to show you is trying to Unshorten your URLs (good ones 😉 or all of them ). There are handful guides out there to do unblocking and other stuff on google.

My Solution will include a handful of add-ons, websites and other methods. I will go through 2 here. Choose the easier you find and stick with it. Enjoy!

1. Use a URL un-shorten services online

This solution involves copying the short URL and past it to the site that will give you the full address of that short URL. Then you can open it without no problem. If you are lazy to google, here are 4 examples of such a service.

Explore your options, some may support all shortner services, others may not.

2. Install an add-on/extension to your browser

This might not be an ideal solution for all of you out there. Either it will be too technical to have to install extensions or you may be using variety of other devices with different kind of browsers. If you are on Internet Explorer, Chrome or Firefox chances are there are browser extensions to do just that. Again if you are lazy enough to google I will put some of them here.

  • Firefox
  • Google Chrome
    • URL Expander
  • Internet Explorer
    • [I need help on this one, I don’t have IE on my machine if someone get a solution please email it to me]

My ultimate solution is to use Greasmonkey and here is how I finally find the solution.

Greasmonkey is a firefox add-on, it allows other developers to write script that changes how websites function. Install Greasmonkey and add the script that will always give you an option to unshorten any URL on any page and replace the link and the text (which is great). The problem with few other unshorten plugins I checked was they change the text but not the actual link, which means clicking on them won’t work.

After installing your Greasmonkey, install a user script from here. Restart FF, Bam! your problem is solved already

Hosting at EthioTelecom

I recently hosted a website at Ethiotelecome. It wasn’t easy or nice. What usually take less than a week on other hosting companies it took me more than a month to set up.

You wouldn’t have any choice if you like to go with the “com.et” domain.

The big problem I face was lack of information. There are no guide or documentation on how to do things on the official site. I had to email the “support”, wait for a couple of more days, technically I had to beg for the documentations.

Once the hosting was done I uploaded a WordPress installation and learned the hustel was far from over when I get the “white screen of death”, that is, once you finish installing the WordPress all you will get is a blank white page. I enabled debugging mode trying to figure out the problem, turns out a bunch of PHP functions were disabled for “security” reason including the famous “phpinfo()”. I pulled my hair.
Warning: fwrite() has been disabled for security reasons in /emcdata/www/[domainname]/www/wp-includes/class-http.php on line 839

The other annoying glitch is you cannot reach your site unless “www” prefix is appended onto the URL. Without the three Ws followed by a dot your site is non-existence.

Email service is the other annoying thing you would get at Ethiotelecom, here is common error message you will get when you try to send an email to the ethiotelecome hosted email:

This is an automatically generated Delivery Status Notification
THIS IS A WARNING MESSAGE ONLY.
YOU DO NOT NEED TO RESEND YOUR MESSAGE.
Delivery to the following recipient has been delayed:
fname.lname@domain.com.et
Message will be retried for 2 more day(s)
Technical details of temporary failure:
DNS Error: Domain name not found

If you are planning to have complex site with a lot of server side programming like Perl, PHP or Python, Ethiotelecome isn’t a place for you. If you answer “yes” to all of the following questions then Ethiotelecome might be a hosting company for you:

  • Is Speed is an issue and your site’s only visitors are only from Ethiopia?
  • Is your site only consists a few static pages with no server side programming?
  • You just want to have the domain name for yourself and have another site you can forward your visitors to?

My suggestion is whatever your answer is, you should pass on and spend your money and effort somewhere else who seriously consider the hosting and domian name business more seriously.

Ethiotelecom is a company that consider time like nothing, money like it come for free and who has no respect or whatsoever for their client.

I have a “free” subdomian and hosting plan at Awardspace and it is 100 times greater ET.

Guides you might find helpful I get from the “ethiotelecome support” download them, DNS webhosting and email configuration manual (PDF), Email Configuration Manual (PDF), Webhosting and Database manual (PDF)