Skip to content

Instantly share code, notes, and snippets.

View leonelquinteros's full-sized avatar
👍
Working hard, learning much, having fun

Leonel Quinteros leonelquinteros

👍
Working hard, learning much, having fun
  • Amazon Ring
  • Buenos Aires, Argentina
View GitHub Profile
@leonelquinteros
leonelquinteros / keybase.md
Created November 17, 2014 14:18
keybase.md

Keybase proof

I hereby claim:

  • I am leonelquinteros on github.
  • I am peiiion (https://keybase.io/peiiion) on keybase.
  • I have a public key whose fingerprint is 855B 7EEF D1D8 E70C A46F B126 FA05 414C 8341 AEEF

To claim this, I am signing this object:

@leonelquinteros
leonelquinteros / gist:9122235
Created February 20, 2014 20:12
FB publish
<div id="fb-root"></div>
<script>
// Load the SDK Asynchronously
(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
@leonelquinteros
leonelquinteros / Mysql.php
Created July 17, 2013 00:19
Improved MySQL datasource for CakePHP. Includes support for missing (and needed) field types like LONGTEXT and MEDIUMTEXT
<?php
/**
* MySQL layer for DBO
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License