Skip to content

Instantly share code, notes, and snippets.

View cblanquera's full-sized avatar
🌪️
Breaking Things.

Christian Blanquera cblanquera

🌪️
Breaking Things.
View GitHub Profile
@cblanquera
cblanquera / gist:6078641
Created July 25, 2013 10:48
isotope soft hard search results logic
$('#agency-search-form').submit(function(e) {
e.preventDefault();
var agencies = [];
$('div.select-agency li input:checked').each(function() {
agencies.push(this.value);
});
var filter = [];
$('div.select-specialism li input:checked, '
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml"><head>
<meta charset="utf-8">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<!-- Sets initial viewport load and disables zooming -->
<title>Buy Balla Powder Talc for Men - 3 Pack on Salaaap!</title>
<!-- MOBILE TAGS -->
<meta name="viewport" content="initial-scale=1, maximum-scale=1, height=device-height, width=device-width">
CHECKOUT API
-------------------------
POST api.buysana.com/rest/checkout
client_id=123&client_secret=123&currency&item[0][name]=Sample+Item&item[0][price]=123.45&shipping=1 ...
ITEMS
--------
@cblanquera
cblanquera / composer.json
Last active October 2, 2015 09:45
Training Start
{
"minimum-stability": "dev",
"require": {
"eve-php/framework": "dev-master",
"openovate/eden-middleware-htpasswd": "dev-master"
}
}
<?php //-->
return array(
'singular' => 'Profile', //for pages and messages
'plural' => 'Profiles', //for pages and messages
'rest' => array(
'update', //add a Rest/Profile/Update Action
'search', //add a Rest/Profile/Search Action
'detail' //add a Rest/Profile/Detail Action
),
'page' => array(
@cblanquera
cblanquera / Create.php
Created December 4, 2015 12:21
A comparison of Node and PHP
<?php //-->
/**
* A Custom Project
*
* Copyright and license information can be found at LICENSE
* distributed with this package.
*/
namespace Eve\Job\Product;
Install Scala
brew install scala
Set SCALA_HOME
export SCALA_HOME=/usr/local/bin/scala
@cblanquera
cblanquera / HADOOP-CENTOS.md
Last active January 4, 2016 14:20
The Deep End Setup
  • yum install java-1.8.0-openjdk-devel.x86_64
  • mkdir -p /server/deep/data
  • mkdir -p /server/deep/tmp
  • cd /server/deep
  • wget http://apache.claz.org/hadoop/common/hadoop-2.6.3/hadoop-2.6.3.tar.gz
  • tar xzf hadoop-2.6.3.tar.gz
  • mv hadoop-2.6.3 hadoop
  • Add to ~/.bashrc
Philippines
http://www.lazada.com.ph/canon-eos-1200d-18mp-with-18-55mm-is-ii-lens-2364824.html
http://www.zalora.com.ph/Elvinia-Front-Slit-Skirt-334673.html
https://www.olx.ph/item/defective-asus-n550jk-cn002h-ID74mCO.html?p=3&h=360fcb1fa3#360fcb1fa3
http://www.titan22.com/product_info.php?products_id=2204
http://www.teekals.com/asa-pa-u
http://www.itruemart.ph/products/sandisk-cruzer-switch-8gb-2797454624813.html
http://tipidcp.com/viewitem.php?iid=148882208
http://mall.hallohallo.com/electronics/cloudpad-800tv-clone/
http://www.cosstores.com/gb/Women/Sale/Pleated_back_cotton_top/239674-33989711.1#c-22755
http://www.cosstores.com/gb/Women/Sale/Dot_sequin_top/239674-34050565.1#c-24479
http://www.cosstores.com/gb/Women/Sale/Tucked_front_pleat_dress/239674-35824942.1#c-22755
http://www.cosstores.com/gb/Women/Sale/Drawstring_silk_panel_dress/239674-34441710.1#c-24479
http://www.cosstores.com/gb/Women/Sale/V-neck_shirt_dress/239674-26463955.1#c-24481
https://zady.com/products/nanushka-powder-tandem-top
https://zady.com/products/marisa-mason-idylwild-earrings
https://zady.com/products/mercado-global-turquoise-matea-weekender