For use after an upgrade to verify the correct working of Magento
- Activate all logs on the server (PHP, MySQL, Magento, mail, etc)
- Check meta tags in HTML
| body.loading:after { | |
| /* with no content, nothing is rendered */ | |
| content: ""; | |
| position: fixed; | |
| /* element stretched to cover during rotation an aspect ratio up to 1/10 */ | |
| top: -500%; | |
| left: -500%; | |
| right: -500%; | |
| bottom: -500%; | |
| z-index: 9999; |
| #!/bin/bash | |
| #CONFIG | |
| backupDir='/mnt/backup' | |
| magentoDir='/var/www/magento/htdocs' | |
| magerunPath='/usr/bin/n98-magerun.phar' | |
| #NUMBER OF DAYS TO KEEP BACKUPS | |
| dailyKeepDays=7 | |
| weeklyKeepDays=30 |
| <?php | |
| /** | |
| * By default joomla display 10 pages in pagination. This file allows | |
| * us to customize the number of displayed pages. | |
| * | |
| * Simply add this file to $template/html/pagination.php and | |
| * change $displayedPages variable. | |
| */ | |
| defined('_JEXEC') or die('Restricted access'); |
| <?php | |
| require_once 'abstract.php'; | |
| class Mage_Shell_Filterable_Attributes extends Mage_Shell_Abstract | |
| { | |
| /** | |
| * Run script | |
| * | |
| */ | |
| public function run() |
| #!/usr/bin/ruby | |
| # encoding: utf-8 | |
| # Grab google web fonts and embed them as base64 data URIs | |
| # <http://brettterpstra.com/2015/03/14/embedding-google-web-fonts/> | |
| require 'base64' | |
| if ARGV.length > 0 | |
| input = ARGV | |
| elsif STDIN.stat.size > 0 | |
| input = STDIN.read.strip.split(/\n+/) |
| <?php | |
| /** | |
| * Magento 1.9.1 has a problem Sorting Configurable Product Attribute Options and Dropdowns | |
| * [solved] File Patched by Jonathon Byrd | |
| * http://magentosupport.help/knowledgebase/solved-sort-configurable-product-attribute-options-and-dropdowns/ | |
| * | |
| * Magento | |
| * | |
| * NOTICE OF LICENSE | |
| * |
| /* Lato */ | |
| @font-face { | |
| font-family: 'Lato'; | |
| font-style: normal; | |
| font-weight: 100; | |
| src: local('Lato Hairline'), local('Lato-Hairline'), url(../fonts/Lato-Hairline.ttf) format('truetype'); | |
| } | |
| @font-face { | |
| font-family: 'Lato'; | |
| font-style: normal; |
| /* | |
| Based on code by Kevin Lamping | |
| source: http://codepen.io/klamping/pen/waMOeX | |
| */ | |
| @mixin flex-grid { | |
| display: flex; | |
| flex-wrap: wrap; | |
| margin-left: -$gutter; | |
| margin-top: -$gutter; |
(Inspired by https://medium.com/@icanhazedit/clean-up-unused-github-rpositories-c2549294ee45#.3hwv4nxv5)
Open in a new tab all to-be-deleted github repositores (Use the mouse’s middle click or Ctrl + Click) https://github.com/username?tab=repositories
Use one tab https://chrome.google.com/webstore/detail/onetab/chphlpgkkbolifaimnlloiipkdnihall to shorten them to a list.
Save that list to some path
The list should be in the form of “ur_username\repo_name” per line. Use regex search (Sublime text could help). Search for ' |.*' and replace by empty.