Miscellaneous, Tips & Tricks »

[29 Jun 2015 | No Comment]

You upload an image to dropbox and get the share link of that image. If you have a very large image then the share link for that image doesn’t display the original image. It displays a low quality image.
Here is a trick to get the original image URL link.

Magento »

[23 Jun 2015 | No Comment]

Here is a quick code to get all products from a particular/specified category in Magento.
First of all, you need to load the category (whose products you want to display) and get it’s ID. You can load a category by it’s ID or if you are in a category page then you can get category information from Magento registry. I have included code to load category in both ways.
You can fetch all enabled or disabled and visible or not visible products. We create ‘not visible’ products while creating configurable type …

LaTeX »

[16 Jun 2015 | No Comment]

You can use APA reference style in LaTeX using biblatex and babel packages.
You have to add the following code in the preamble of your tex file:

LaTeX »

[9 Jun 2015 | No Comment]

There are two ways to add bibliography (references) to your document. One is for small document with few bibliography items using thebibliography environment. The other is for large documents where there are many bibliography items using packages like biblatex.

LaTeX »

[2 Jun 2015 | No Comment]

If we want dummy text in our document then we generally search for lorem ipsum text generators and copy-paste those texts/paragraphs in our document.
In LaTeX, we don’t need to do such copy and paste thing. LaTeX has different packages which automatically generates dummy text in our document. You can generate them with just a few lines of code.

LaTeX »

[26 May 2015 | 2 Comments]

There are different packages that help writing algorithms on LaTeX. I will be using algorithm2e package for writing algorithm in LaTeX. This package should work fine if you have installed ‘TeX Live Full‘. Otherwise, you may get error while using algorithm2e package. If you get an error then you need to install the package ‘texlive-science‘ which includes algorithm2e package.
On Ubuntu, you can install texlive-science package with the following command:

Android, Tips & Tricks »

[19 May 2015 | No Comment]

When you get a call on your sony xperia phone (android) then it automatically replies the caller with a reject message.
One of my friends had this problem on Sony Xperia M. This problem might persists in other Sony Xperia phones as well. This is annoying because the message is sent unknowingly.

Cryptography »

[12 May 2015 | No Comment]

GNU Privacy Guard (GnuPG or GPG) is a free cryptographic software that can secure data transfer and communication between two parties by encrypting, signing and verifying data.

Joomla »

[5 May 2015 | No Comment]

Sometime you might need to show any module’s content inside your article. For example, you have installed a image slideshow module. Now, you might need to show the image slideshow within your article page.
For this purpose, Joomla CMS comes with the default plugin (Content – Load Modules) to show module’s content in any article. You can either use the default ‘Content – Load Modules’ plugin or you can also use some other third-party plugins which help to do the same work more easily.