View gist:1667957a18bc4eee4e9940c3630e8978
#---------------------------------------------------------------------#
# Magento Default Files #
# https://github.com/github/gitignore/blob/master/Magento.gitignore #
#---------------------------------------------------------------------#
/app/etc/local.xml
/media/*
!/media/.htaccess
View seasonal-sales-link.php
View update-attribute-sets.php
<?php
require_once 'app/Mage.php';
umask(0);
Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID);
$attSet = Mage::getModel('eav/entity_type')->getCollection()->addFieldToFilter('entity_type_code','catalog_product')->getFirstItem();
$attSetCollection = Mage::getModel('eav/entity_type')->load($attSet->getId())->getAttributeSetCollection();
$attributeInfo = Mage::getResourceModel('eav/entity_attribute_collection')
->setCodeFilter('**ATTRIBUTE CODE**')
->getFirstItem();
View privacy-popup.html
<!DOCTYPE html>
<html>
<body>
<!-- JavaScript and CSS framework independent cookie pop-up notification for legacy websites. -->
<div id="privacy-pop-up" style="display:none; position:fixed; z-index:9999; bottom:0; left:0; right:0; background:#dc143c; color:#fff; margin:1em; padding:0.5em; text-align:center; ">
<strong>Important information regarding cookies</strong><br>
By using this website, you consent to the use of cookies in accordance with our
<a href="/privacy-policy" style="text-decoration: underline; color:#fff">Privacy Policy</a>.<br>
<a id="exit-popup" style="background:#fff; color:#000; padding:0.25em 0.5em; margin:0.5em; cursor:pointer; font-weight:bold; font-size:90%; ">
View magento.txt
Connect commands available:
===========================
channel-add Add a Channel
channel-alias Specify an alias to a channel name
channel-delete Remove a Channel From the List
channel-info Retrieve Information on a Channel
channel-login Connects and authenticates to remote channel server
channel-logout Logs out from the remote channel server
clear-cache Clear Web Services Cache
View magerun.txt
___ ___
_ _/ _ ( _ )___ _ __ __ _ __ _ ___ _ _ _ _ _ _
| ' \_, / _ \___| ' \/ _` / _` / -_) '_| || | ' \
|_||_/_/\___/ |_|_|_\__,_\__, \___|_| \_,_|_||_|
|___/
n98-magerun version 1.101.1 by netz98 GmbH
Usage:
command [options] [arguments]
View logging-at-random-intervals-javascript.html
<!DOCTYPE html>
<html>
<body>
<script>
for (i = 0; i < 5; i++) {
(function() {
var j = i;
var x = Math.floor(Math.random() * 20000);
setTimeout(function () {
// Log Result of i (increment) and x (time)