Zend Anwar

Full stack web developer

Category: Uncategorized

Multiplication table in python

>>> var = 5 >>> for i in range(1,11): multiply = var * i print (“Multiplication table”, var,”*”, i,”=”,multiply)  Output– Multiplication table 5 * 1 = 5 Multiplication table 5 * 2 = 10 Multiplication table 5 * 3 = 15 Multiplication table 5 * 4 = 20 Multiplication table 5 * 5 = 25 […]

Read More

how to check python version in linux?

It’s very simple: python –version or python -V

Read More

How to override Magento local.xml stores base url

Please add below code in app/etc/local.xml <stores> <default> <web> <unsecure> <base_url>http://your url</base_url> </unsecure> </web> </default> <admin> <web> <unsecure> <base_url>http://your url</base_url> </unsecure> </web> </admin> </stores>

Read More

Which block is responsible for rendering javascript in Magento?

Mage_Core_Model_Layout Mage_Core_Model_Layout_Update Mage_Core_Model_Design Mage_Core_Model_Design_Package Mage_Core_Controller_Varien_Action Mage/Core/Block/* Mage_Core_Block_Abstract Mage_Core_Block_Template Mage_Core_Block_Text Mage_Core_Block_Text_List Mage_Page_Block_Html_Head

Read More

HelloWorld.java – Introduction to Programming in Java

/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package javaapplication1; /** * * @author all */ public class JavaApplication1 { /** * @param args the command line arguments */ public static void main(String[] args) { System.out.println(“Hello, World”); // TODO code application logic here } […]

Read More