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
// This icon file is generated by build/generateIcons.ts | |
// tslint:disable | |
export { default as AccountBookFill } from '@ant-design/icons/lib/fill/AccountBookFill'; | |
export { default as AlertFill } from '@ant-design/icons/lib/fill/AlertFill'; | |
export { default as AlipayCircleFill } from '@ant-design/icons/lib/fill/AlipayCircleFill'; | |
export { default as AlipaySquareFill } from '@ant-design/icons/lib/fill/AlipaySquareFill'; | |
export { default as AliwangwangFill } from '@ant-design/icons/lib/fill/AliwangwangFill'; | |
export { default as AmazonCircleFill } from '@ant-design/icons/lib/fill/AmazonCircleFill'; | |
export { default as AmazonSquareFill } from '@ant-design/icons/lib/fill/AmazonSquareFill'; | |
export { default as ApiFill } from '@ant-design/icons/lib/fill/ApiFill'; |
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 | |
namespace THL\Installer; | |
class ThlInstaller extends BaseInstaller | |
{ | |
protected $locations = array( | |
'module' => 'Modules/{$name}/', | |
'theme' => 'Themes/{$name}/' | |
); |
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":"users","color":"Red","position":{"x":100,"y":100},"increment":true,"timestamp":true,"softdelete":true,"column":[{"name":"name","type":"string","length":"255","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c35","order":0}],"relation":[{"extramethods":"","foreignkeys":"user_id","name":"courses","relatedmodel":"courses","relationtype":"hasMany","usenamespace":""}],"seeding":[]},{"name":"courses","color":"Red","position":{"x":770,"y":215},"increment":true,"timestamp":true,"softdelete":true,"column":[],"relation":[],"seeding":[]}] |
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 | |
class Namespace_Module_Model_Entity extends Mage_Core_Model_Abstract | |
{ | |
/** | |
* Initialization | |
*/ | |
public function _construct() | |
{ | |
$this->_init('namespace_module/entity'); | |
} |
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/php | |
<?php | |
// Set empty files array | |
$files = array(); | |
// Get untracked files | |
// Get modified files | |
exec('git ls-files --others --exclude-standard', $untracked); | |
exec('git diff --cached --diff-filter=ACMRTUX --name-only', $modified); |
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
<block type="cms/block" name="block_name"> | |
<action method="setBlockId"><id>block_code</id></action> | |
</block> | |
{{block type="cms/block" block_id="block_code"}} | |
{{block type="catalog/product_list" category_id="79" template="catalog/product/list_random.phtml"}} |
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
Validation.addAllThese([ | |
['validate-filesize','The file size should not exceed 100 kb.',function(v, elm){ | |
var maxSize = 102400; | |
if (navigator.appName == "Microsoft Internet Explorer") { | |
if (elm.value) { | |
var oas = new ActiveXObject("Scripting.FileSystemObject"); | |
var e = oas.getFile(elm.value); | |
var size = e.size; | |
} | |
} else { |
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/bash | |
# Coding Standards fixer from http://cs.sensiolabs.org/ pre-commit hook for git | |
# | |
# Based on https://github.com/s0enke/git-hooks | |
# | |
# @author Soenke Ruempler <soenke@ruempler.eu> | |
# @author Sebastian Kaspari <s.kaspari@googlemail.com> | |
# | |
# see the README |
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
[alias] | |
fix-staged = "!git diff-index --cached --name-status HEAD | grep -ve '^D' | cut -f2 | xargs -n1 php-cs-fixer fix" |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style type="text/css"> | |
</style> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.3/react.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.3/JSXTransformer.js"></script> | |
<script type="text/javascript"> | |
/*! jQuery v2.1.4 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */ | |
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l=a.document,m="2.1.4",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return |
NewerOlder