Skip to content

Instantly share code, notes, and snippets.

View pmirshad's full-sized avatar

Irshad Pananilath pmirshad

  • Kozhikode, Kerala
View GitHub Profile
@pmirshad
pmirshad / designer.html
Created December 19, 2014 17:27
designer
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<polymer-element name="my-element">
<template>
<style>
@pmirshad
pmirshad / magento-1.9.0.1-2-reset-categories.sql
Last active November 24, 2016 16:40
Magento 1.9.0.1-2 Reset Categories
--
-- Magento 1.9.0.1-2 Reset Categories
--
SET FOREIGN_KEY_CHECKS = 0;
TRUNCATE TABLE `catalog_category_anc_categs_index_idx`;
TRUNCATE TABLE `catalog_category_anc_categs_index_tmp`;
TRUNCATE TABLE `catalog_category_anc_products_index_idx`;
TRUNCATE TABLE `catalog_category_anc_products_index_tmp`;
@pmirshad
pmirshad / designer.html
Last active August 29, 2015 14:07
designer
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../topeka-elements/category-icons.html">
<polymer-element name="my-element">
<template>
@pmirshad
pmirshad / designer.html
Created October 7, 2014 09:49
designer
<link rel="import" href="../polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@pmirshad
pmirshad / QuakeCon.ahk
Created April 4, 2011 10:55
AutoHotKey script for Console2
; Launch console if necessary; hide/show on Win+`
#`::
DetectHiddenWindows, on
IfWinExist ahk_class Console_2_Main
{
IfWinActive ahk_class Console_2_Main
{
WinHide ahk_class Console_2_Main
; need to move the focus somewhere else.
WinActivate ahk_class Shell_TrayWnd