Css Class | Use Case / Error Message |
---|---|
validate-no-html-tags |
HTML tags are not allowed |
validate-select |
Please select an option. |
required-entry |
This is a required field. |
validate-number |
Please enter a valid number in this field. |
validate-number-range |
The value is not within the specified range. |
validate-digits |
Please use numbers only in this field. Please avoid spaces or other characters such as dots or commas. |
validate-digits-range |
The value is not within the specified range. |
validate-alpha |
Please use letters only (a-z or A-Z) in this field. |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<!-- Generated by: TmTheme-Editor --> | |
<!-- ============================================ --> | |
<!-- app: http://tmtheme-editor.herokuapp.com --> | |
<!-- code: https://github.com/aziz/tmTheme-Editor --> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>Alternative Flat Dark Extended</string> |
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
#Debug Layout | |
<?php Zend_Debug::dump($this->getLayout()->getUpdate()->getHandles()); ?> | |
##Get Locale Code | |
<?php echo strtolower(Mage::getStoreConfig('general/country/default')); ?> | |
## Get Skin URL | |
<?php echo $this->getSkinUrl('images/logo.png'); ?> |
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
/* | |
Tool used to generate ASCII ART: | |
http://www.kammerl.de/ascii/AsciiSignature.php | |
(Font: 'georgi16') | |
1. RESETS | |
2. GENERAL REUSABLE COMPONENTS | |
3. TYPOGRAPHY | |
4. FORMS | |
5. HEADER |
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
<code_scheme name="CodeIgniter"> | |
<option name="OTHER_INDENT_OPTIONS"> | |
<value> | |
<option name="INDENT_SIZE" value="4" /> | |
<option name="CONTINUATION_INDENT_SIZE" value="8" /> | |
<option name="TAB_SIZE" value="4" /> | |
<option name="USE_TAB_CHARACTER" value="true" /> | |
<option name="SMART_TABS" value="false" /> | |
<option name="LABEL_INDENT_SIZE" value="0" /> | |
<option name="LABEL_INDENT_ABSOLUTE" value="false" /> |
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 | |
for D in *; do | |
if [ -d "${D}" ]; then | |
if [ -d "${D}/.git" ]; then | |
echo | |
echo -------------- | |
echo | |
echo -e "\033[1m${D}\033[0m" | |
echo |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
export PATH=$PATH:/cygdrive/d/xampp/php; | |
SSH_ENV=$HOME/.ssh/environment | |
# start the ssh-agent | |
function start_agent { | |
echo "Initializing new SSH agent..." | |
# spawn ssh-agent |
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 | |
CYAN='\033[1;36m' | |
RED='\033[0;31m' | |
NC='\033[0m' # No Color | |
if [ `id -u` != 0 ]; then | |
echo -e "${RED}-- ERROR --${NC}" | |
echo -e "-- This script should be run as root so that files" | |
echo -e "-- can be created freely." | |
exit |
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 | |
cd_func() | |
{ | |
local x2 the_new_dir adir index | |
local -i cnt | |
if [[ $1 == "--" ]]; then | |
dirs -v | |
return 0 | |
fi |
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
##Clean all Customer before going Live | |
SET FOREIGN_KEY_CHECKS=0; | |
-- reset customers | |
TRUNCATE customer_address_entity; | |
TRUNCATE customer_address_entity_datetime; | |
TRUNCATE customer_address_entity_decimal; | |
TRUNCATE customer_address_entity_int; | |
TRUNCATE customer_address_entity_text; |