Skip to content

Instantly share code, notes, and snippets.

View caffo's full-sized avatar

Rodrigo Franco caffo

View GitHub Profile
user = User.from_omniauth(env['omniauth.auth'])
session[:auth_token] = user.auth_token
----
user = User.from_omniauth(env['omniauth.auth'])
session[:auth_token] = user.auth_token
#!/bin/sh
## Information
## http://carlo-hamalainen.net/blog/2007/12/11/installing-minion-pro-fonts/
## http://www.ctan.org/tex-archive/fonts/mnsymbol/
## 0.1: Install LCDF Typetools
## http://www.lcdf.org/type/
## If you use Homebrew (http://mxcl.github.com/homebrew/), then uncomment:
# brew install lcdf-typetools
# todo: grap topic changes
use strict;
use vars qw($VERSION %IRSSI);
use Irssi;
$VERSION = '0.0.3';
%IRSSI = (
authors => 'Thorsten Leemhuis',
contact => '[email protected]',
@caffo
caffo / tarefa.md
Last active December 29, 2015 08:39

O Projeto

O projeto base é um aplicativo simples que cataloga os jogos que o usuário já jogou ou está jogando. O sistema de autenticação é httpauth e no todo ele é um aplicativo muito simples, que eu desenvolvi para catalogar os meus jogos.

Repositório: https://github.com/caffo/plays

Tarefas

  • Atualizar ruby pro ultimo patchlevel
  • Adicionar 3 jogos no seed (um current e outros dois finished)
# ~./mailcap
#
# this uses the view_attachment script found in ~/.bin/view_attachment.sh
#
# this is meant for an OS X system
# MS Excel
# this will use the default xls spreadsheet handler from open
application/x-msexcel; ~/.bin/view_attachment.sh %s
application/ms-exc; ~/.bin/view_attachment.sh %s
- Create the object that will hold the data for the CC ROI page (already accounting that we will have multiple mailers)
- Add email opens to the data object
- Add email clicks to the data object
- Add survey stats into to the data object
- Add unsubscribes to the data object
- Add social media clicks to the data object
- Come up with a design for CC ROI page
- Implement the UI for CC ROI page
- Find out the requirements to port the redemption reminder email into merchant messaging
- Research how our blacklist/whitelist system would work with a new email being added on it
### Keybase proof
I hereby claim:
* I am caffo on github.
* I am caffo (https://keybase.io/caffo) on keybase.
* I have a public key whose fingerprint is CA7A AF71 B470 91CE A41B 1370 D498 0807 A30C 57BB
To claim this, I am signing this object:
@caffo
caffo / products.md
Last active August 29, 2015 14:03
Products

Product

  • belongs_to category (req)
  • has_many variations
  • name (req)

Screens

New product

  • Product name (textfield)
# electronics
[] computer
[] computer power
[] battery? (power it)
# trip
[] headphones
[] backpack
[] sleep pills
[] pillow
- ramen bowl
- chemex coffee maker http://i.c-b.co/is/image/Crate/Pg60AV1HG12/$web_zoom$&/1308302307/chemex-8-cup-coffee-maker.jpg
- small oldschool computer monitor (like a vt220)
- weird keyboard (I use a atreus keyboard http://imgur.com/sxWvBL5)
- black candle / skull
- japanese beer cans
- lots of notebooks and pens
- chibi anime figures