Skip to content

Instantly share code, notes, and snippets.

View atourino's full-sized avatar

Antonio Touriño atourino

View GitHub Profile
@atourino
atourino / corregimientos.csv
Created October 26, 2017 01:01 — forked from demogar/corregimientos.csv
Organización Territorial de Panamá (Provincias, Distritos, Corregimientos)
id name district_id
1 Bocas del Toro (Cabecera) 1
2 Bastimentos 1
3 Cauchero 1
4 Punta Laurel 1
5 Tierra Oscura 1
6 Changuinola (Cabecera) 2
7 Almirante 2
8 Guabito 2
9 Teribe 2
@atourino
atourino / first.jinja.html
Created December 5, 2015 11:58
Twig Presentation
{% for i in range(0, 3) %}
{{ i }},
{% endfor %}

Keybase proof

I hereby claim:

  • I am atourino on github.
  • I am atourino (https://keybase.io/atourino) on keybase.
  • I have a public key whose fingerprint is 1281 14FF 4A41 C082 E209 A25E 319D 399B 990A ACB2

To claim this, I am signing this object:

Awesome PHP Libraries

A list of amazingly awesome PHP libraries that you should consider using (and some other shiny extras).

@atourino
atourino / OSX Lion pecl and pear.mdown
Created March 1, 2012 00:06 — forked from wearethefoos/OSX Lion pecl and pear.mdown
Native OSX Lion pecl and pear config
$ sudo /usr/bin/php /usr/lib/php/install-pear-nozlib.phar

$ cat >> ~/.bashrc <<'EOF' 

alias pear="php /usr/lib/php/pear/pearcmd.php" 
alias pecl="php /usr/lib/php/pear/peclcmd.php" 
EOF

$ . ~/.bashrc
function AddFancyBoxLinkToExpertiseTable() {
$('a#AddSelectPanelExpertiseLink').fancybox({
'speedIn': 600,
'speedOut': 200,
'onClosed': function() {
$.ajax({
url: './GetExpertiseTable.php', // or however it's called
success: function(data) {
var updatedTable = $(data);
var oldTable = $('#HowToTable'); // This needs to get the id of the table it will replace.
@atourino
atourino / i18n.coffee
Created November 14, 2011 18:36 — forked from madrobby/i18n.coffee
Backbone i18n with CoffeeScript
window.t = (id, vars = {}) ->
template = i18n[__locale][id] or i18n['en'][id] or "(?) #{id}"
_.template(template, vars)
# yes, that's it
Marketplace.PostView = Backbone.View.extend({
tagName: 'li',
className: 'individual_offer',
initialize: function () {
this.template = new plate.Template($('#offer_template').html());
this.render();
},
render: function () {
Marketplace.PostView = Backbone.View.extend({
tagName: 'li',
className: 'individual_offer',
initialize: function () {
this.template = new plate.Template($('#offer_template').html());
this.render();
},
render: function () {
@atourino
atourino / about.md
Created August 30, 2011 13:18 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer