Skip to content

Instantly share code, notes, and snippets.

View buritica's full-sized avatar
💭
💀

Juan Pablo Buriticá buritica

💭
💀
View GitHub Profile
@buritica
buritica / glossy.html
Last active August 29, 2015 14:01
Glossy JSON Spec
<script>
var namespace = 'onswipe';
var message = JSON.stringify({
view_url: '%%VIEW_URL_UNESC%%',
click_url: '%%CLICK_URL_UNESC%%%%DEST_URL%%',
cachebuster: '%%CACHEBUSTER%%',
glossy_id: 'my_id',
type: 'glossy',
pixels: []
});
@buritica
buritica / joystiq.html
Last active August 29, 2015 14:01
joystiq example with macros
<script src="http://mads.at.atwola.com/adcall?mpid=348-14-14-823;rettype=js;width=320;height=50;kvpg=joysiq.com;kvmn=348-14-14-823;kvgrp=%%CACHEBUSTER%%;kvismob=1;extmirroring=0;aduho=0;kvmflash=false;swh=%%PATTERN:device_height%%x%%PATTERN:device_width%%;screenwidth=%%PATTERN:device_width%%;screenheight=%%PATTERN:device_height%%;screendensity=%%PATTERN:device_pixel_ratio%%;f=1;fv=0;random=%%CACHEBUSTER%%"></script>
@buritica
buritica / StartEthernet.ino
Created June 2, 2014 04:18
Enable Galileo Ethernet
#include <SPI.h>
#include <Ethernet.h>
// the media access control (ethernet hardware) address for the Galileo:
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
//the IP address for the Galileo:
byte ip[] = { 192, 168, 1, 84 };
void setup()
{
@buritica
buritica / auto-swipe.js
Last active August 29, 2015 14:02
Automate reader swiping
var timer;
var times = 0;
var delay = 4; // seconds
var totalSwipes = 3; //
var next = function() {
if (window.onswipePub) {
onswipePub.entryView.entryMgr.swipeNext();
} else {
leaf.app.router.next();
@buritica
buritica / orientation.js
Created June 4, 2014 20:57
Celtra orientation detection for Onswipe
function getDocDimensions() {
var D = window.parent.parent.document;
return [
D.documentElement.clientWidth,
D.documentElement.clientHeight
];
}
function getOrientation() {
var dimensions = getDocDimensions();
var fs = require('fs');
var file = './index.html';
if (process.argv.length > 2) {
file = './' + process.argv[2];
}
var html = fs.readFileSync(file, 'utf8');

¿Cual es la mision de ColJS?

  • Exponer a la comunidad local a las mejores técnicas, librerías, herramientas y tecnologías modernas enfocadas al desarrollo de aplicaciones web, en diferentes entornos cómo cliente, servidor y hardware embebido.
  • Resaltar el esfuerzo de miembros locales para fomentar el crecimiento de una comunidad inclusiva y respetuosa.
  • Generar impacto social a través de diferentes programas como becas, retos de programación y demás, para que cualquiera persona talentosa de cualquier nivel social pueda tener acceso al conocimiento que se genera y comparte en los eventos de ColJS.
@buritica
buritica / git status
Created August 25, 2014 04:50
Breaking tests after ember-cli update
On branch ember-cli-update
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
deleted: .bowerrc
modified: .gitignore
modified: .travis.yml
modified: Brocfile.js
modified: bower.json
@buritica
buritica / pager.md
Last active August 29, 2015 14:08
Pager Frontend Dev

If you're interested, please email your CV buritica+pager [at] gmail . com

#Frontend Developer

Responsibilities:

Responsible for developing a responsive Web Application from existing iOS source code base. Work closely with Mobile team migrating current functionality and adding new features.

Required:

  • Knowledge on MV* frameworks. (AngularJS and/or Ember.js)
@buritica
buritica / .zshrc
Created December 10, 2014 23:13
my zshrc file
# Path to your oh-my-zsh configuration.
ZSH=$HOME/my/oh-my-zsh
# Set name of the theme to load.
ZSH_THEME="geoffgarside"
# oh-my-zsh plugins
plugins=(
git git-extras github \
heroku \