Skip to content

Instantly share code, notes, and snippets.

View vquaiato's full-sized avatar
:octocat:
am I working?

Vinicius Quaiato vquaiato

:octocat:
am I working?
View GitHub Profile
@vquaiato
vquaiato / precisando.txt
Last active December 13, 2015 18:08
Figurinhas que preciso álbum "Santos 100 anos"
04, 05, 06
11, 13, 15, 19
21, 23, 24, 26
31, 36
47
54
67, 69
72, 78
81, 89
91, 96, 99
@vquaiato
vquaiato / repetidas.txt
Last active December 13, 2015 17:59
Figurinhas repetidas álbum "Santos 100 anos"
00, 01, 03
12, 14, 16, 17, 18
20, 27
30, 32, 33, 39
41, 42, 44, 45, 46, 49
50, 52, 58
60, 63, 64, 65, 66, 68
70
82
93, 94, 95, 98
@vquaiato
vquaiato / rails.sh
Created October 20, 2012 13:21
Rails blog
gem install rails
rails new blog
rails g scaffold Post title:string body:string
rake db:migrate
rails s
@vquaiato
vquaiato / HomeController.cs
Created September 19, 2012 03:54 — forked from rodolfofadino/HomeController.cs
Exemplo Facebook SDK C# (teste)
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Mvc;
using Facebook;
namespace MvcApplication1.Controllers
@vquaiato
vquaiato / facebook_csharp_sdk_shit.js
Created September 19, 2012 01:14
Facebook C# SDK, RLY?
// Do a post to the server to finish the logon
// This is a form post since we don't want to use AJAX
var form = document.createElement("form");
form.setAttribute("method", 'post');
form.setAttribute("action", '/FacebookLogin.ashx');
var field = document.createElement("input");
field.setAttribute("type", "hidden");
field.setAttribute("name", 'accessToken');
field.setAttribute("value", accessToken);
@vquaiato
vquaiato / craw.py
Created September 18, 2012 01:45
jivjago.com music downloader
import sys
import urllib2
import re
import os.path
import time
import threading
from threading import Thread
base_url = "http://www.jivjago.com/audio/"
processed = []
@vquaiato
vquaiato / 01. Gemfile
Created September 13, 2012 04:08 — forked from schleg/01. Gemfile
Setup for Devise + Omniauth (mongoid and facebook-only)
#add this to your gemfile
gem 'mongoid'
gem 'devise'
gem "omniauth-facebook"
@vquaiato
vquaiato / varias_langs.txt
Created September 11, 2012 21:50
camiseta
public static void main(String args[]){
System.out.println("Análise");
}
<? echo "e" ?>
puts "Desenvolvimento"
print "de Sistemas"
@vquaiato
vquaiato / fool_jquery.js
Created September 4, 2012 15:36
do not do this in jquery, please!
var foo = $(this).parent().parent().parent().parent().parent().find("#list-foos").html()
@vquaiato
vquaiato / production.rb
Created September 3, 2012 13:24
adding all .css and .js to precompile assets
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
config.assets.precompile += %w( *.css *.js )