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
{ | |
"AAPL": { | |
"price": "500.99" | |
} | |
} |
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
{ | |
"AAPL": { | |
"price": "500.99" | |
} | |
} |
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/env bash | |
if [ ! -d "$HOME/bin" ] ; then | |
mkdir $HOME/bin | |
if [ -f $HOME/.profile ]; then | |
tty -s && . $HOME/.profile | |
if [[ ":$PATH:" != *":$HOME/bin:"* ]]; then | |
echo -e '\nPATH="$HOME/bin:$PATH"' >> $HOME/.profile |
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
<div class="row"> | |
<div class="col1"> | |
<img src=""> | |
<h5></h5> | |
<p></p> | |
<p> | |
<a href="">View</a><span class="divider">|</span><a href="">Download</a> | |
</p> | |
</div> | |
<div class="col2"> |
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
module.exports = function(grunt) { | |
var target = grunt.option('target') || 'dev'; | |
var watch_tasks = ['concat:js']; | |
if(target != 'dev') watch_tasks.push('uglify:js'); | |
grunt.registerTask('watch', [ 'watch' ]); | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), |
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 | |
define('__CURRENTDIR__', dirname(dirname(__FILE__))); | |
define('__MAGE__', str_replace('/code/local/GaugeInteractive/EbayMipIntegration', '/Mage.php', __CURRENTDIR__)); | |
require_once(__MAGE__); | |
Mage::app('default'); | |
Mage::register('isSecureArea', 1); | |
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
$j(document).ready(function () { | |
// enable strict mode | |
'use strict'; | |
// hide the site newsletter modal | |
$j('.signup-form').hide(); | |
$j('.footer .last a').attr('onclick', ''); // remove the newsletter click event | |
$j('.discount-modal').remove(); | |
var pathArray = window.location.href.split('/'); | |
var host = pathArray[2]; |
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 | |
echo "////////////////////////// MAGENTO TAR ////////////////////////////" | |
date | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
excludefilename="$DIR/exclude_files.txt" | |
day=$(date +%A) | |
path=$1 |
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 | |
echo "////////////////////////// START ////////////////////////////" | |
date | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
day=$(date +%A) | |
user=$2 | |
host=$1 | |
database=$3 |
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
$j(document).ready(function () { | |
// enable strict mode | |
'use strict'; | |
// hide the site newsletter modal | |
$j('.signup-form').hide(); | |
var check_url = 'http://' + host + '/skin/frontend/enterprise/rebeccaminkoff/inc/sanity-check.php'; | |
var save_url = 'http://' + host + '/skin/frontend/enterprise/rebeccaminkoff/inc/store-address.php'; | |
function get_newsletter_signup_data(){ |