Skip to content

Instantly share code, notes, and snippets.

View leopic's full-sized avatar

Leo Picado leopic

View GitHub Profile
// color json
{
"collection": {
"key": "/images/items/small/OAK/OAK1017/C45EB.jpg",
"displayName": "Earth Brown",
"keyType": "image",
"axes": {
"axis": {
"key": "S",
"sku": "OAK1017-C45BK-S"
ORG 1000H
TABLA DB DUP(5,2,10,4,5,0,4,8,1,9)
FIN DB ?
SUMA DB ?
ORG 2000H
MOV AL, 0
MOV CL, OFFSET FIN-OFFSET TABLA
MOV BX, OFFSET TABLA
<?php
$name = $_POST['contact-name'];
$email = $_POST['contact-email'];
$comments = $_POST['contact-comment'];
$sender = $_POST['contact-sender'];
$receiver = $_POST['contact-receiver'];
if (!is_null($name) && !is_null($email) && !is_null($comments)) {
$subject = "[Strongbowcider.us] " . substr($comments, 0, 20) . "...";
$body = "Name: $name <$email> \n\nComments: $comments";
<?php
$name = $_POST['contact-name'];
$email = $_POST['contact-email'];
$comments = $_POST['contact-comment'];
$sender = '[email protected]';
$receiver = '[email protected]';
//$sender = $_POST['contact-sender'];
//$receiver = $_POST['contact-receiver'];
if (!is_null($name) && !is_null($email) && !is_null($comments)) {
<?php
$name = $_POST["contact-name"];
$email = $_POST["contact-email"];
$comments = $_POST["contact-comment"];
$sender = $_POST["contact-sender"];
$receiver = $_POST["contact-receiver"];
if (!is_null($name) && !is_null($email) && !is_null($comments)) {
$subject = "[Strongbowcider.us] " . substr($comments, 0, 20) . "...";
$body = "Name: " . $name . "<". $email ."> \n\nComments: " . $comments;
diff --git a/modules/Store/j2ee-apps/Store/Store.war/catalog/include/productBuyBox.jsp b/modules/Store/j2ee-apps/Store/Store.war/catalog/include/productBuyBox.jsp
index a85d870..b07ec5b 100644
--- a/modules/Store/j2ee-apps/Store/Store.war/catalog/include/productBuyBox.jsp
+++ b/modules/Store/j2ee-apps/Store/Store.war/catalog/include/productBuyBox.jsp
-8,6 +8,7 @@
<dsp:importbean bean="/backcountry/catalog/droplet/ProductFreeGiftDroplet" />
<dsp:importbean bean="/backcountry/common/droplet/BikeFitGuideDroplet" />
<dsp:importbean bean="/backcountry/util/droplet/IsFeatureEnabledDroplet" />
+<dsp:importbean bean="/backcountry/common/droplet/BuyBoxDataLoaderDroplet"/>"
@leopic
leopic / my.diff
Last active December 10, 2015 21:48
diff --git a/modules/Store/j2ee-apps/Store/Store.war/catalog/include/productBuyBox.jsp b/modules/Store/j2ee-apps/Store/Store.war/catalog/include/productBuyBox.jsp
index 51e60f6..ac53bf5 100644
--- a/modules/Store/j2ee-apps/Store/Store.war/catalog/include/productBuyBox.jsp
+++ b/modules/Store/j2ee-apps/Store/Store.war/catalog/include/productBuyBox.jsp
@@ -135,7 +135,7 @@
<dsp:param name="productPriceInfo" param="productPriceInfo" />
</dsp:include>
</c:if>
- <p><bc:message key="label.toos.item.availability" /></p>
+ <p class="qa-item-availability"><bc:message key="label.toos.item.availability" /></p>
$.getJSON('https://api.github.com/users/leopic/events', function(data) {
for (var i = 0; i < data.length; i++) {
eventType = data[i].type;
switch (eventType) {
case 'WatchEvent':
currentClass = 'watch';
nuevoDom += '<li class=' + currentClass + '>' + eventType + ' ' + data[i].created_at + '</li>';
break;
case 'PushEvent':
# grids and stuff
require 'ninesixty'
http_path = "/"
css_dir = "../build/css"
sass_dir = "./"
images_dir = "../images"
relative_assets = false
fonts_dir = "../fonts"
output_style = :expanded
# grids and stuff
require 'ninesixty'
http_path = "/"
css_dir = "css"
sass_dir = "sass"
images_dir = "images"
relative_assets = false
fonts_dir = "fonts"
output_style = :expanded