Skip to content

Instantly share code, notes, and snippets.

View fpinzn's full-sized avatar

Francisco Pinzón fpinzn

  • Bogotá, Colombia
View GitHub Profile
@fpinzn
fpinzn / Preferences.sublime-settings
Created August 8, 2012 00:31
Sublime Preferences
// While you can edit this file, it's best to put your changes in
// "User/Preferences.sublime-settings", which overrides the settings in here.
//
// Settings may also be placed in file type specific options files, for
// example, in Packages/Python/Python.sublime-settings for python files.
{
// Sets the colors used within the text area
"color_scheme": "Packages/RailsCasts Colour Scheme/RailsCastsColorScheme.tmTheme",
// Note that the font_face and font_size are overriden in the platform
@fpinzn
fpinzn / programming-TODO.txt
Created August 9, 2012 23:02
Programming TODO Quick List
Fix file upload in registration
There's probably a need to add a test question video inside each job
Create a verifier inside each applicant step to confirm that permanent access to the camera is still granted
@fpinzn
fpinzn / gist:3735528
Created September 17, 2012 04:21 — forked from JeffreyWay/gist:1525217
Instant Server for Current Directory
alias server='open http://localhost:8000 && python -m SimpleHTTPServer'
ss
@fpinzn
fpinzn / gist:3789777
Created September 26, 2012 18:45
Video player Object embeeding
<object type="application/x-shockwave-flash"
id="player7100569_334838401"
name="player7100569_334838401"
class=""
data="http://a.vimeocdn.com/p/flash/moogaloop/5.2.39/moogaloop.swf?v=1.0.0"
width="100%"
height="100%"
style="visibility: visible; "><param name="allowscriptaccess"
value="always"><param name="allowfullscreen"
value="true"><param name="scalemode"
@fpinzn
fpinzn / bad_vimeo.html
Created September 27, 2012 00:08
Erroneus Vimeo Embed code
<object type="application/x-shockwave-flash"
id="player41071413_2041039309"
name="player41071413_2041039309"
class=""
data="http://a.vimeocdn.com/p/flash/moogaloop/5.2.39/moogaloop.swf?v=1.0.0"
width="100%"
height="100%"
style="visibility: visible; ">
<param name="allowscriptaccess" value="always">
@fpinzn
fpinzn / url
Created October 8, 2012 20:47
url
http://trigion.lvh.me:3000/nl/recruiter?auth_token=AtfabAZA92rrgEJx9JCy#evaluate_applicant/3
dssdaada
ijsaijsaij
@fpinzn
fpinzn / Preferences.sublime-settings
Created January 14, 2013 19:12
sublime preferences
{
"auto_complete": true,
"auto_complete_commit_on_tab": false,
"auto_complete_delay": 50,
"auto_complete_selector": "source - comment",
"auto_complete_size_limit": 4194304,
"auto_complete_triggers":
[
{
"characters": "<",
@fpinzn
fpinzn / curl file & view result
Created February 20, 2013 16:56
One liner to post a file to an API and open the answered html in a new tab.
curl -X POST -F "file=@test.csv" 10.0.1.3:3000/api/v1/users/1/data_sources > result.html && open result.html
@fpinzn
fpinzn / git-stats.sh
Created March 14, 2013 01:17
Bash script to generate stats, in the shape of a csv file. Each line is composed by the one-line git log of each commit and the number of lines of code tracked. Extracted from https://www.destroyallsoftware.com/screencasts/catalog/statistics-over-git-repositories
#!/bin/bash
set -e
function main {
git rev-list --reverse HEAD |
while read rev; do
echo "'`commit_description`', '`number_of_lines`'"
done > stats.csv
}
@fpinzn
fpinzn / Preferences.sublime-settings
Created April 23, 2013 01:46
Most recente sublime preferences
{
"auto_complete": true,
"auto_complete_commit_on_tab": false,
"auto_complete_delay": 50,
"auto_complete_selector": "source - comment",
"auto_complete_size_limit": 4194304,
"auto_complete_triggers":
[
{
"characters": "<",