Skip to content

Instantly share code, notes, and snippets.

[{
"author": "Sean H.",
"authorLink": "https://news.layervault.com/u/3582/sean-hendrickson",
"comments": 1,
"commentsLink": "https://news.layervault.com/stories/11137-medium-10--a-new-storytelling-experience",
"createdAt": "2013-12-04T22:12:09.143Z",
"link": "https://medium.com/beautiful-stories/8d615d86ac04",
"points": 35,
"position": 1,
"source": "designer_news",
[{
"author": "Gadzhi K.",
"comments": 2,
"createdAt": "2013-12-02T03:22:56.086Z",
"link": "http://www.fastcocreate.com/3017108/you-need-to-see-this-17-minute-film-set-entirely-on-a-teens-computer-screen",
"points": 21,
"position": 1,
"source": "designer_news",
"title": "You Need To See This 17-Minute Film Set Entirely On A Teen's Computer Screen | Co.Create",
"updatedAt": "2013-12-02T05:24:04.058Z"
[core]
excludesfile = /Users/STUFF/.gitfiles/excludes
editor = subl -n -w
whitespace = trailing-space,space-before-tab
[apply]
whitespace = fix
[color]
interactive = true
@jpadilla
jpadilla / adapter.coffee
Created November 4, 2013 17:59
WIP Ember.js Adapter for Sails.js
module.exports = App.ApplicationAdapter = DS.RESTAdapter.extend
init: ->
@_super()
pathForType: (type) ->
@type = type
return type
ajax: (url, method, hash) ->
adapter = this
@jpadilla
jpadilla / notaso.md
Last active December 21, 2015 11:58

Transfondo

Es una realidad que hay tanto profesores buenos y de vocación como también hay profesores no tan dedicados a su trabajo...

¿Qué tal si nosotros los estudiantes los evaluaramos por su desempeño docente?

#¿Qué es Notaso.com? Una herramienta para estudiantes, donde publican en internet evaluaciones sobre sus profesores, sus experiencias tanto positivas como no tan positivas...

5 years ago, no one in Puerto Rico knew much about entrepreneurship in general; much less about technology-based entrepreneurship. Our entrepreneurs were (and many essentially still are) born out of necessity: laid off from a government or manufacturing job, chronic unemployment, or lack of upward mobility in their current employment. A very select group of puertorricans set out to change that: highly educated and extremely motivated, they chose to stay behind – while, on average, 95% of their colleagues in engineering, computer science, and technology related fields left the island for greener pastures at the top Fortune 100 companies in the US or advanced degrees at major universities around the world – never to return.
For over a decade, multiple and disparate initiatives were courageously implemented by government-backed NGO’s, government officials, and universities – all with lackluster results. Their focus: “to promote entrepreneurship and a knowledge economy”. A lot of promotion, and very little execu
@jpadilla
jpadilla / qurl.py
Created July 25, 2013 16:40 — forked from pricco/qurl.py
"""
qurl is a tag to append, remove or replace query string parameters from an url
https://gist.github.com/pricco/3714115
"""
import re
from django.template import Library, Node, TemplateSyntaxError
from urlparse import urlparse, parse_qsl, urlunparse
from django.utils.encoding import smart_str
from urllib import urlencode
{
"is_claimed": false,
"rating": 4.5,
"mobile_url": "http://m.yelp.com/biz/el-yunque-rainforest-luquillo",
"rating_img_url": "http://s3-media2.ak.yelpcdn.com/assets/2/www/img/99493c12711e/ico/stars/v1/stars_4_half.png",
"review_count": 128,
"name": "El Yunque Rainforest",
"snippet_image_url": "http://s3-media3.ak.yelpcdn.com/photo/_8NfQVRPCKMAJQLqwpsINQ/ms.jpg",
"rating_img_url_small": "http://s3-media2.ak.yelpcdn.com/assets/2/www/img/a5221e66bc70/ico/stars/v1/stars_small_4_half.png",
"url": "http://www.yelp.com/biz/el-yunque-rainforest-luquillo",
@jpadilla
jpadilla / gist:6057161
Created July 22, 2013 20:05
Drop Table generator
select 'drop table if exists "' || tablename || '" cascade;'
from pg_tables
where schemaname = 'public'; -- or any other schema
@jpadilla
jpadilla / .python-startup.py
Last active April 7, 2018 16:17
export PYTHONSTARTUP=$HOME/.python-startup.py
import os
import readline
import rlcompleter
import atexit
history_file = os.path.join(os.environ['HOME'], '.python_history')
try:
readline.read_history_file(history_file)
except IOError: