Skip to content

Instantly share code, notes, and snippets.

View pdaire's full-sized avatar

Pedro Daire pdaire

View GitHub Profile
@pdaire
pdaire / trello_time_track
Created March 22, 2013 20:51
google script to track time that a card in 'done' spent in a 'doing' list on a trello board. you need an api key, a token and a google spreadsheet. you can run this script as frequent as you want using the trigger that google script offer.
function trelloFetch(url, extra_params) {
var key = [your_api_key];
//how to get a token de https://trello.com/1/connect?key=[your_api_key]&name=[name_for_token]&response_type=token
var token = [your_token];
var authSufix = "key="+ key + "&token=" + token;
var completeUrl = "https://api.trello.com/1/" + url + "?" + authSufix;
if (extra_params != undefined){
completeUrl += extra_params;
}
@pdaire
pdaire / fci_job.json
Last active December 16, 2015 19:10
Un nuevo miembro para el devteam. Te esperamos
{
"Ofrecemos":
[
"Trabajo que importa, con posibilidades de cambiar el mundo.",
"Satisfacción profesional y personal",
"Espacio para aprender, investigar e innovar",
"Ser miembro de un equipo amistoso, respetuoso e innovador",
"Ser parte de una organización multidisciplanaria con redes en varios países",
"Mesa de ping-pong",
"café café"
@pdaire
pdaire / index.html
Last active August 29, 2015 14:05
welcome let's talk
<!DOCTYPE html>
<html>
<head>
<title>Welcome to Let's Talk</title>
<style type="text/css">
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
div.dialog {
width: 50%;
padding: 0 4em;
margin: 4em auto 0 auto;
@pdaire
pdaire / index.html
Created September 4, 2014 16:09
Testing big video
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>BigVideo.js - The jQuery Plugin for Big Background Video</title>
<meta name="description" content="BigVideo.js - The jQuery Plugin for Big Background Video" />
<meta name="author" content="John Polacek" />
<meta name="viewport" content="width=device-width">
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:900&text=ABCDEFGHIJKLMNOPQRSTUVWXYZ' rel='stylesheet' type='text/css'>
@pdaire
pdaire / test.geojson
Last active August 29, 2015 14:06
caminata 2014-09-05
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pdaire
pdaire / readme.md
Last active August 29, 2015 14:06
testing remote lelao

Remote Lelao

Para poder permitir el trabajo remoto en LemonTech es fundamental tener claridad si lelao se puede usar desde la casa.

@pdaire
pdaire / index.html
Last active August 29, 2015 14:06
widget backbone
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="http://letstalk.asheschile.com/php/app.php?widget-init.js"></script>
<title>Let's Talk en gist</title>
<!--Start of Zopim Live Chat Script-->
<script type="text/javascript">
window.$zopim||(function(d,s){var z=$zopim=function(c){z._.push(c)},$=z.s=
d.createElement(s),e=d.getElementsByTagName(s)[0];z.set=function(o){z.set.
@pdaire
pdaire / contador de firmas
Last active August 29, 2015 14:07
ecursos quin te financia
<script>
$(document).ready(function(){
var url_consulta = 'https://api.change.org/v1/petitions/2088289/signatures?api_key=45b120d2dc652102bc772b8bc1e62ec16b765576b35210e38b298201be49a4bb';
$.getJSON( url_consulta + '&callback=?', function(data) {
// do my stuff
$('.nro-peticiones').html('Llevamos ' + data.signature_count + ' firmas');
});
})
</script>
@pdaire
pdaire / index.html
Last active August 29, 2015 14:08
welcome let's talk 2
<!DOCTYPE html>
<html>
<head>
<title>Welcome to Let's Talk</title>
<style type="text/css">
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
div.dialog {
width: 50%;
padding: 0 4em;
margin: 4em auto 0 auto;
@pdaire
pdaire / today.md
Last active August 29, 2015 14:12
today work

hi Rene

some piece of code

{"some":"thing"}

another piece