Skip to content

Instantly share code, notes, and snippets.

View frankV's full-sized avatar
🦑
Work Hard. Cuttlesoft.

Frank Valcarcel frankV

🦑
Work Hard. Cuttlesoft.
View GitHub Profile
@frankV
frankV / app.py
Last active February 14, 2019 07:10 — forked from mmautner/app.py
Example of caching API results w/ Flask-Restless and Flask-Cache
import json
import hashlib
from flask import Flask, request
import flask.ext.sqlalchemy
import flask.ext.cache
import flask.ext.restless
from flask.ext.restless import ProcessingException
app = Flask(__name__)
app.config['DEBUG'] = True
@frankV
frankV / JuniorBackendPython.py
Created February 20, 2017 00:36
Junior Backend Python Interview Questions
def extendList(val, list=[]):
list.append(val)
return list
list1 = extendList(10)
list2 = extendList(123,[])
list3 = extendList('a')
print "list1 = %s" % list1
print "list2 = %s" % list2
@frankV
frankV / HTML
Last active August 6, 2019 22:10
PyColorado - 1 Month Newsletter
<h1>One Month and Counting!</h1>
<p>We're just a few short weeks from the inaugural PyColorado - a celebration of community, code, and the beauty of the American West.</p>
<p>PyColorado is September 6, 7, and 8 in Denver, CO at <a href="https://www.google.com/maps/place/The+Studio+Loft+at+Ellie+Caulkins+Opera+House">The Studio Loft</a></p>
<p><span>🎟 <a href="https://ti.to/pycolorado/pycolorado-2019">Tickets still available - we'd love to see you there.</a> 🎟</span></p>
<h2>2 Workshops Available</h2>
<p><span><span>In addition to our 2 days of conference talks, we have 2 workshops scheduled for Friday.  This is an opportunity to get hands-on attention and dive a little deeper with two excellent Python developers. These workshops are <strong>sold separately</strong> from the main conference, so make sure to grab a ticket if you want to attend.</span></span></p>
<ol>
<li><span><a href="https://ti.to/pycolorado/pycolorado-2019/with/lxkvhwrpxmc">Full Stack Data Science: Building Your First Smart Application</a><