It is quite annoying to develop and test an app which is likely to receive data/notification from a third party site if your development computer isn’t globally reachable. You have to deploy to a server and test it and do this each time until it completely works. Examples of such cases include:
Facebook app development
PayPal or any other payment gateway integration
While there are probably several options, SSH Tunneling is the simplest, at least to me. It needs less than 2 minutes to configure. Let’s do it.
You’ve a dedicated server/VPS with root access or somehow access to sshd_config file (we’re going to call this remote server)
Your domain is dev.awesomeapp.com and which points to the above server with IP 220.127.116.11
You wanted the remote server to listen to 80 port
You’re running your rails server at port 3000 in your development computer (we gonna call this local server)
(You may have to change the values marked in italic font as your own settings) Continue reading →
I could not (or did not) write blog when I have joined Athena Software Associates Ltd. But today I am writing as double update. I have joined in Athena Software Associates Ltd. as System Administrator in last May. I had to manage a number of their servers mostly using cPanel and providing system level supports to the customers. I have enjoyed the work there as I have faced a lots of issues with cPanel and learned how to deal with them. Though I don’t have any plan to build my career as system administrator, I believe the gained experiences will help throughout my developer life.
In December, I have decided to resign from my position for a number of reason. The first and the biggest reason is my current physical problem for which I need quite long time full rest. Allah knows how much I can rest indeed. Some other minor reasons are, I started believing that I am becoming lazy there as the workload is not high. I wish and able to take more workload. Low workload means low learning to me. Moreover, I would enjoy working in team specially under supervision of some experts that would help me gaining knowledge faster.
Yesterday I have submitted my resign letter. However, I have to serve until January 31, 2010 for shifting my duties to new incumbent.
This job was the first full time job for me. The decision to resign was very tough one. I will miss the superb friendly environment of Athena Software Associates. I will miss all the colleagues of Athena.
Recently Leonidas, the latest version of Fedora, is released. I have already upgraded my laptop using the latest DVD. However, I was planning to upgrade my office’s desktop directly from internet. Searching internet, I have found a very useful tutorial regarding this. I suggest fedora users to have a look.
Today I have downloaded an archive which later I found as an .nrg archive. Again, trial period of my nero for linux is already expired. So I was looking for a solution to read the .nrg archive in linux. Did not get something useful in google. Then I post a line in Twitter. jimmietryon replied my twitter status and told me about a magical solution to convert the .nrg archive to .iso archive. It is NGR2ISO.
I simply downloaded the RPM and installed the script. No dependency issue . Then I run the command from shell and the 655mb .nrg archive converted into .iso within 1.5 minutes.
nrg2iso cal3.nrg cal3.iso
Understanding the line is quite easy. cal3.nrg is the current archive and cal3.iso is expected output.
While writing this blog jimmietryon gave another great tip of how to mount .nrg in linux. So, to read .nrg in Linux we even now don’t need to convert to ISO. Here is the command to mount .nrg archive
I was searching a good rapidshare downloader (for premium account) that can be run in shell and is able to download in batch mode. Finally, just now I got a wonderful shell script for this purpose. It is damn easy to configure and use. It can even load download URLs from file or from URL. So, I just need to dump all download links in a file and feed the file to this script and it starts downloading. At first run it will make necessary configuration by asking you in 6 steps. Then you can run it to download files. I think you don’t need any help if you know how to execute a file in shell.
Just download and start using. I have started downloading by feeding it a file of 37 links. hurray!
Note: The author has uploaded the file in Rapidshare.com. I have put a mirror in my server (though I am not aware of the license though) for your convenient. So please visit the homepage and thank for for this great script.
মাহদী’র ফোন করল আমার ইয়ামের ক্যাশ ডাইরেক্টরীটা সে চায়। কারণ কিছু কোডেক ইনস্টল করা লাগবে। তখন মনে হল লিনাক্স রিইনস্টল করলে আমারও তো আবার ডাউনলোড করা লাগবে। আমিও ক্যাশ ফোল্ডারকে আলাদা জায়গায় সরিয়ে রাখলাম। তখন মনে হল আমি দেখি নিজের একটা রিপো বানাতে পারি কিনা। ওমা! এটা তো দেখি পান্তা ভাত।
১. বিভিন্ন জায়গায় যত আরপিএম ছিল সবগুলোকে একটা ফোল্ডারে ঢুকালাম।
২. একটা টুল ইনস্টল দিতে হবে। yum install createrepoContinue reading →
I have faced this issue mostly in Fedora (both 9 & 10). When I start Firefox, it starts in offline mode. I had to manually change it to online mode (File-> Offline Mode [uncheck]). Today I became frustrated. But after searching net for a while I found some solutions. After testing all, I found the real solution.
Open new tab in firefox
Click I’ll be careful, I promise
type networkmanager in Filter box and press Enter
It will show preference name below. The last column (Value) should be true. If not, double click on it. It means, you need to set toolkit.networkmanager.disable as true.
That’s it. Restart your browser. It should now start online mode.
Today I had to face much trouble while trying to install vlc player in my Fedora 9. You know, there are a lots of dependencies for installing vlc. The Yum could not resolve (using rpmforge and some other repo) a dependency and it took me more than hour to resolve it. After googling for about one hours, I came to know about RPM Fusion repository. After adding it to my Yum repo, vlc installation is damn easy. That dependency is now quickly and effectively resolved.
That’s why I planned to list a number of Repos so that I and you can use it when needed.
I was amazed seeing that using mobile phone as modem in Ubuntu 8.10 is just like learning abc. You just connect a modem using USB cable or Bluetooth and Ubuntu will take care of the rest. The easy and step by step interface is so easy that any novice can configure it too.
But I am mostly Redhat variant user. I use Fedora 9 for my laptop’s OS beside Windows XP. I did not find configuring Bluetooth in Fedora as easy as in Ubuntu. But no worry, its not hard enough. I have found a good tutorial which helped me to configure bluetooth to use internet. If you need help in fully Bangla, please visit this page. Continue reading →
Several times I have tried to install Red5 Streaming server in my linux box and I successfully failed during every try.
Today from morning I again started to try as success was my sheer determination. I planed I would surely find out a positive result. But no hope. I again failed to install it.
Later, while searching online, I have found a magic script. i instantly downloaded the file and executed it. Within a few minutes, Red5 is installed successfully. Thats really magic. I just run service red5 start and its started.
To get details visit: http://forums.hostv.com/showthread.php?t=134