LightTable Theme

I love how LightTable is shaping up. It’s easy to use and is what i want in a editor. Simple yet useful. Have plugin support plus themes and skins. I was playing around with it and was looking for a theme which can suit my taste, so the result is my own theme. And i for good going to release it for community consumption. Feel free to use , modify and distribute. 🙂

https://github.com/mmarif4u/Anl4u_theme

lt anl4u theme

Install Phalcon PHP framework in Fedora

In my last article i discussed that how to install phalcon framework in openSUSE, and i guess it was quite fun and easy. Today i am extending the installation to Fedora. I installed it on Fedora 19, 20 and i hope there would be no problems for anyone, it will be quite simple and easy to install. As we know, we don’t have any repo or RPM at the moment for Fedora, so we will build it from source. Don’t worry it will not be scary. Read this for the dependencies 1st.

Fire up the terminal and i assume that you are in your home dir ([user@localhost ~]$). But no worries, you can change the dir to any where you want like your backup drive etc. Let’s go with home in this article. We need to clone the phalcon repository from github and create the extension from source.

[cc lang=”bash” escaped=”true” nowrap=”false” noborder=”true” line_numbers=”false” lines=”3″ tab_size=”4″]
[user@localhost ~]$ git clone git://github.com/phalcon/cphalcon.git
[user@localhost ~]$ cd cphalcon/build
[user@localhost ~]$ sudo ./install
[/cc]

That will do the necessary for now, one last thing now. Open php.ini in terminal or whatever GUI editor you prefer(i will use vim):

[cc lang=”bash” escaped=”true” nowrap=”false” noborder=”true” line_numbers=”false” lines=”1″ tab_size=”4″]
[user@localhost ~]$ sudo vim /etc/php.ini
[/cc]

And add this line:

[cc lang=”bash” escaped=”true” nowrap=”false” noborder=”true” line_numbers=”false” lines=”1″ tab_size=”4″]
extension=phalcon.so
[/cc]

Save and that’s it. Time to restart the server:

[cc lang=”bash” escaped=”true” nowrap=”false” noborder=”true” line_numbers=”false” lines=”1″ tab_size=”4″]
[user@localhost ~]$ sudo service httpd restart
[/cc]

Download any of the app from the phalcon repo like invo OR vokuro etc, and give it a try.

Enjoy!

How to install chromium browser in fedora 19

To install chromium browser in fedora you need to add a repo file to the yum.repos.d dir as it is not available in rpm fusion repos. So download the repo file from the link below:

https://repos.fedorapeople.org/repos/spot/

Right click on the fedora-chromium-stable.repo and save it to you hard drive by selecting “Save Link As”.

Now open terminal and cd to the location/dir where you downloaded the file. After that run this command:

sudo cp fedora-chromium-stable.repo /etc/yum.repos.d

And now time to install it:

sudo yum -y install chromium

And that’s it.

 

Artha: offline dictionary for linux

Artha is nice and well written dictionary application for Linux. The good thing about it is that it can work offline, which means it will pull the database during installation so that it can work offline. So next time if you are not connected to internet and want to search some word meaning, Artha will do the job well.

Artha-offline-dict

How to install it in elementary/Ubuntu, fire up terminal and type:

[cc lang=”bash” escaped=”true” nowrap=”false” noborder=”true” line_numbers=”false” lines=”2″ tab_size=”4″]

sudo apt-get install artha

[/cc]

How to install it in openSUSE, type in terminal after became root by su – :

[cc lang=”bash” escaped=”true” nowrap=”false” noborder=”true” line_numbers=”false” lines=”2″ tab_size=”4″]

zypper install artha

[/cc]

And there you have it.

Facebook: App not showing in the tabs list

If you have ever worked on Facebook apps as a developer, you will have a bitter experience with facebook because of their changes now and then to the API’s.

Let’s say you have created an awesome app for one of your clients. Hosted the app, everything is working good. Now when you add the app to that client page who has more than may be 15 or 20 apps listed in the tab zone. By logging as Admin/Developer you will see the app in the tab list.

But now let’s say that you added testers to test the app while it is in sandbox mode. The testers don’t see the app listed in the client facebook page. It is suppose that he/she should see it. For that there may be other reasons like SSL issue, app not properly setup in the developer area etc. But in case everything is good and still app is missing from the tabs list for testers.

The common reason for this is that facebook only allow 12 tabs at a time on a page, so a new tab for that app will not be there. But if the tester access the app directly through url, he can see the app.

So the solution to this will be to swap the newly created app within the 1st 12 apps. While logged in as Admin/Developer, go to the client page and list all the tabs by clicking on the button right hand side the tabs. That will show all the tabs. Now mouse over on the newly created app and click on the pencil/setting icon and swap it with any position you like but within the 12 tabs. Once you are done with that, check the page with tester account, and you will see the app listed there in the tabs. Facebook magic!

AirDroid – Your Android Over the Air

AirDroid is an application built for Android phones which connects you to your phone over the air. Now what that means?, quite simple, it will connect you to your phone over wireless network and you can operate your phone through your PC or laptop or netbook etc. To use this application, your phone and PC should be on the same wireless network.

How i’m gonna do/use that?, 1st of all you will need to download the app from Google Play store and install it on your Android based phone. Turn on your phone wireless settings and turn on the wireless network which is active on your PC. Next open the application and hit start button. It will show you which wireless network you are on with an ip address and a password. Now open any browser on your PC and type the ip address, enter the password and wait for loading the contents and page. In the app settings, you can choose what to share and what not.

AirDroid Login Screen

It has very nice and beautiful interface almost showing you every detail from your phone including battery status, wifi status, network status. You can read your messages, send messages. Play around with your pictures. Transfer files to and from your device via web browser.

Checkout its website for more useful information. I recommend it, try it and i am sure you will love it.