Skip to content

Instantly share code, notes, and snippets.

@jpadilla
jpadilla / app.js
Created August 15, 2014 21:21
Simple examples for Building for the Web: Day 2 - The Backend
'use strict';
var express = require('express');
var app = express();
app.get('/api/v1/songs', function(req, res) {
var data = {
songs: [{
id: 1,
album: 1,
favorite: false,
@jpadilla
jpadilla / app.css
Created August 14, 2014 18:31
BFTW Soundem Web CSS
/* apply a natural box layout model to all elements */
*, *:before, *:after {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
html, body {
height: 100%;
}
SECRET_KEY=super-secret
DATABASE_URL=sqlite:///soundem.db
DEBUG=yes
import json
from app import db, Artist, Album, Song
if __name__ == '__main__':
fixture_path = 'sample.json'
print "Dropping tables..."
db.drop_all()
@jpadilla
jpadilla / delicious-cleanup.js
Created May 19, 2014 19:44
Deletes all Delicious links. Copy past in console in your Delicious links page.
var counter = 1, runXTimes = 10000;
(function(counter, runXTimes) {
(function cleanup() {
window.confirm = function() {
return true;
};
$('.link').find('.action-link.delete').click();
$('.item.load-more-link a').click();

logo

#¿Qué es un Barcamp?

Un Barcamp es una conferencia en la que los asistentes son los conferenciantes. Se espera que todas las personas que asisten a un Barcamp hagan una presentación de 10 minutos frente a toda la audiencia. La idea es fomentar el intercambio de ideas en un ambiente abierto y realmente interactivo.

Aunque lo esperado es que todos los asistentes presenten, el tiempo en estos eventos es limitado y no hay espacio para todos. En este Barcamp Viejo San Juan tenemos 20 espacios que se repartirán a las primeras 20 personas que los reclamen. Si no hay tiempo o no tienes algo listo para presentar, lo mínimo que pedimos es que hagas preguntas, compartas y ayudes a crear un ambiente de interacción con los presentadores.

Nuestras Reglas

@jpadilla
jpadilla / demo.js
Last active August 29, 2015 14:00 — forked from gcollazo/demo.js
var previews = new FilePreviews({debug: true, loaderImage: 'http://placehold.it/100x100'});
var url = 'https://www.filepicker.io/api/file/WHOGzEmPRSGNYKyHRBWk';
var options = {
size: {
width: 100,
height: 999,
},
metadata: ['ocr', 'exif']
};
ubuntu@precise64:~$ unoconv --show
The following list of document formats are currently available:
bib - BibTeX [.bib]
doc - Microsoft Word 97/2000/XP [.doc]
doc6 - Microsoft Word 6.0 [.doc]
doc95 - Microsoft Word 95 [.doc]
docbook - DocBook [.xml]
docx - Microsoft Office Open XML [.docx]
docx7 - Microsoft Office Open XML [.docx]