A Pen by Clive Walkden on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "sozodesign/magento", | |
"description": "SOZO Design default Magento start new website", | |
"require-dev": { | |
"phpunit/phpunit": "~4.4" | |
}, | |
"require": { | |
"aydin-hassan/magento-core-composer-installer": "^1.2", | |
"magento-hackathon/magento-composer-installer": "*", | |
"magento/magento": "1.9.*@dev", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/.gitignore | |
/.htaccess | |
/app/etc/local.xml | |
/cron.php | |
/cron.sh | |
/downloader | |
/errors/ | |
/includes | |
/index.php | |
/index.php.sample |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function utf_char_to_number($char) | |
{ | |
$i = 0; | |
$number = ''; | |
while (isset($char{$i})) | |
{ | |
$number .= '&#'.ord($char{$i}).';'; | |
$i++; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function(){ | |
var largeimg = $('#largeImg img'); | |
$('.thumbs a').each(function(){ | |
var jQ = $(this); | |
var path = jQ.attr('href'); | |
var alt = jQ.attr('title') || ''; | |
var img = $('<img/>').load(function(){ | |
var pld = $(this), imgHeight = pld.height(); | |
jQ.click(function(){ | |
largeimg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
#@author Bommarito Consulting, LLC; http://bommaritollc.com | |
#@date 2012-12-20 | |
import subprocess | |
import smtplib | |
from email.mime.text import MIMEText | |
fromAddress = 'root@bommaritollc.com' | |
adminEmail = 'michael@bommaritollc.com' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: Jackett | |
# Required-Start: $local_fs $network $remote_fs | |
# Required-Stop: $local_fs $network $remote_fs | |
# Should-Start: $NetworkManager | |
# Should-Stop: $NetworkManager | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: starts instance of Jackett |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get the size of all the directories in the root sorted by size (MB) | |
du -sm /* | sort -n | |
# To exclude the /home directory (or other partitions not included in the space calculations) use --exclude=/home/ | |
du -sm /* --exclude=/home/ | sort -n | |
# Drill down to the offending directories | |
# These are normally | |
# /var/log | |
# /var/lib/mysql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: magento/vendor/magento/framework/App/Filesystem/DirectoryResolver.php | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- magento/vendor/magento/framework/App/Filesystem/DirectoryResolver.php (date 1521531005000) | |
+++ magento/vendor/magento/framework/App/Filesystem/DirectoryResolver.php (date 1521561205000) | |
@@ -39,7 +39,7 @@ | |
public function validatePath($path, $directoryConfig = DirectoryList::MEDIA) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: app/design/frontend/base/default/template/amasty/aminvisiblecaptcha/captcha.phtml | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- app/design/frontend/base/default/template/amasty/aminvisiblecaptcha/captcha.phtml (revision 4a453745274c5b47515d72496ca05465be86f6bc) | |
+++ app/design/frontend/base/default/template/amasty/aminvisiblecaptcha/captcha.phtml (revision ) | |
@@ -73,7 +73,9 @@ | |
tokenInput.type = 'hidden'; | |
tokenInput.name = 'amasty_invisible_token'; |
OlderNewer