Articles Archive for June 2015
Miscellaneous, Tips & Tricks »
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 »
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 »
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:
1 2 3 4 5 | \usepackage[british]{babel} \usepackage{csquotes} \usepackage[style=apa]{biblatex} \DeclareLanguageMapping{british}{british-apa} \addbibresource{references.bib} |
LaTeX »
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.
1) BIBLIOGRAPHY ON SMALL DOCUMENTS
LaTeX »
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.
Mukesh Chapagain is a graduate of Kathmandu University (Dhulikhel, Nepal) from where he holds a Masters degree in Computer Engineering. Mukesh is a passionate web developer who has keen interest in open source technologies, programming & blogging.