Skip to main content

Uboo - Frequently asked website!

Out team has developed Uboo portal and it's ready for launch much before. People started asking about the launch date... I hope, it will be launched soon and fill the gap found in current Indian portals.

Comments

Popular posts from this blog

Using Sodexo Meal Pass Card in BigBasket.com - How-to

How to Use Sodexo Meal Pass Card in Bigbasket.com Sodexo started to issue Smart Card similar to Credit Card--instead of their usual paper based vouchers.

I was using Sodexo vouchers for longtime, but it was a big letdown when I can't get some of my unused vouchers renewed. And so, I was somehow happy with their new Meal Pass Card. But, again, it was a big letdown as I can't use it with BigBasket--where I usually use most of my meal coupon vouchers.
SMS message from Sodexo on December 20, 2017 1:18 PM came as a big surprise, as I was waiting for this for longtime:
Great News! Pay with your Sodexo Meal Card for food items ordered from Big Basket. Choose Sodexo in the payment section & pay on delivery.

And so, this month, I tried to use my Sodexo Meal Pass Card in BigBasket.

BigBasket website had not much information; I thought that I have to swipe my Meal Pass Card. Delivery person also didn't have much information; initially he was rejecting my Card! I tried to contact …

Converting PSD with PHP/ImageMagick

After seeing feature rich options in Imagick PECL extension at Mikko Koppanen's (the author) website and also impressed with ImageMagick's features, I have decided to use it for the PSD to XHTML conversion website that I'm architecting and managing.

Since, the team wants programming help for converting PSD images, I have tried it (documentation is sparse on PSD handling)

Converting PSD to PNG/JPEG/etc
Note that, flattenImages() is needed for layered/multi-page PSD file.


<?php
$im = new Imagick('test.psd');
$im->flattenImages();
$im->setImageFormat('png');
$im->writeImage('test.png');
?>



Extracting PSD layers
One by one


<?php
$im = new Imagick('test.psd');
$im->setImageFormat('png');
for ($i = 0, $num_layers = $im->getNumberImages(); $i < $num_layers; ++$i) {
$im->setImageIndex($i);
$im->writeImage('layer' . $i . '.png');
}
?>


Note that, there is a better version below

In a single call with write…

3-years of Ubuntu MATE - Good and the bad

Many people are getting shocked to know that I'm using Ubuntu in my workplace. Linux/Ubuntu is more of an alien here as Windows 10 and Mac OSX is having good market here.



First of all, I'm a very happy Windows XP user. In XP, I used to do most of my JavaScript and PHP in Devl, the editor that our team has developed.
Reason for switching to Ubuntu MATE Primary reason for switching to Ubuntu was, at one point of time PHP team stopped supporting Windows XP. So, we're left with few options: 1. Upgrade to Windows Vista, 2. Switch to Ubuntu.

We chose the second option to experiment it. One of the major challenges was choosing the right code editor and we chose VS Code.
Ubuntu MATE - Pros Linux comes with lots of command line tools. I have started to do many tasks using these shell scripts and found very productive.

We switched from Google Chrome to Chromium for good.
Ubuntu MATE - Cons We started with GNOME for desktop, but it was memory hungry and was not suitable for our old m…