Skip to content

Instantly share code, notes, and snippets.

@agustinhaller
agustinhaller / soviax_init.sql
Last active December 20, 2015 17:49
Soviax sql structure
CREATE SCHEMA soviax_site;
CREATE TABLE soviax_site.packages (
id serial PRIMARY KEY, -- Es lo mismo que el autoincrement
name text NOT NULL UNIQUE,
title text NOT NULL,
departure_dates text NOT NULL,
price_desc text NOT NULL,
start_date date NOT NULL,
end_date date NOT NULL,
@agustinhaller
agustinhaller / facebook conversion stuff
Created May 15, 2013 17:45
facebook conversion stuff
/******************************************************************************************************/
/************************************** FACEBOOK CONVERSION STUFF **************************************/
/******************************************************************************************************/
var asuntos_fb_pixel_id = 6008163913304,
relaciones_fb_pixel_id = 6008163930504,
graduados_fb_pixel_id = 6008164203504,
fb_value = '0.00',
function fb_conv(fb_pixel_id)
{
<div class="row contact-container">
<div class="span6">
<div class="title">
<p>
Tu opinión no es importante; es imprescindible.
</p>
<p>
¡Escribinos a: contacto@hubinternacional.org y ayudamos a ser mucho mejores!
</p>
</div>
@agustinhaller
agustinhaller / index.html
Created March 19, 2013 13:44
youtube video resize
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Fluid Width YouTube Videos</title>
<meta name="viewport" content="width=device-width">
<style>
@agustinhaller
agustinhaller / defferred example
Created February 14, 2013 19:40
defferred example
var scraper = (function(){
var scrape_retailer = function(retailer, product_keyword){
var urlGet = retailer.endpoint.replace("{{KEYWORD}}",product_keyword),
retailer_products = [],
$dfd = $.Deferred();
appAPI.request.get(urlGet,
function(response, responseHeaders)
{
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Bumbea.com</title>
<meta name="description" content="">
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Bumbea.com</title>
<meta name="description" content="">
@agustinhaller
agustinhaller / main.css
Created January 26, 2013 20:21
new main css
/* ==========================================================================
Agustin Haller's custom styles
========================================================================== */
/*******************************************************************/
/************************ MAIN PAGE STYLES *************************/
/*******************************************************************/
/*@import url(http://fonts.googleapis.com/css?family=Ropa+Sans:400,400italic&subset=latin,latin-ext);*/
@font-face {
@agustinhaller
agustinhaller / index.html
Created January 26, 2013 18:25
main scripts
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="http://dev.hubinternacional.org/static/js/vendor/jquery-1.8.2.min.js"><\/script>')</script>
<script src="http://dev.hubinternacional.org/static/js/vendor/bootstrap.min.js"></script>
<script src="http://dev.hubinternacional.org/static/js/vendor/jquery-ui-1.10.0.custom.min.js"></script>
<script src="http://dev.hubinternacional.org/static/js/main.js"></script>
<script src="http://dev.hubinternacional.org/static/js/vendor/jquery.carouFredSel.min.js"></script>
<script src="http://dev.hubinternacional.org/static/js/vendor/jquery.mousewheel.min.js"></script>
<script src="http://dev.hubinternacional.org/static/js/vendor/jquery.ba-throttle-debounce.min.js"></script>
@agustinhaller
agustinhaller / index.html
Created January 26, 2013 17:53
main page
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="es" xmlns:fb="http://ogp.me/ns/fb#" xmlns:og="http://opengraphprotocol.org/schema/"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="es" xmlns:fb="http://ogp.me/ns/fb#" xmlns:og="http://opengraphprotocol.org/schema/"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="es" xmlns:fb="http://ogp.me/ns/fb#" xmlns:og="http://opengraphprotocol.org/schema/"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="es" xmlns:fb="http://ogp.me/ns/fb#" xmlns:og="http://opengraphprotocol.org/schema/"> <!--<![endif]-->
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# website: http://ogp.me/ns/website#">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Hub Internacional</title>