Skip to content

Instantly share code, notes, and snippets.

View fredoliveira's full-sized avatar

Fred Oliveira fredoliveira

View GitHub Profile
@fredoliveira
fredoliveira / t.rb
Created June 3, 2012 15:59
Remove 80% of mention false positives from twitter
require 'rubygems'
require 'tweetstream'
require 'colorize'
regex = /@[f][\.\,\:]?\s/
TweetStream.configure do |config|
config.consumer_key = ''
config.consumer_secret = ''
config.oauth_token = ''
@fredoliveira
fredoliveira / fasterdev
Last active December 16, 2015 23:59
For great victory. And faster development.
# grab the patch
# background info: https://gist.github.com/funny-falcon/4136373
curl -O https://raw.github.com/gist/4136373/falcon-gc.diff
# install ruby 1.9.3 patch level 327 with speed patch
rvm reinstall ruby-1.9.3-p327 --patch falcon-gc
# activate the new ruby
rvm use --default ruby-1.9.3-p327
module.exports = {
pivotal: {
TOKEN: 'TOKEN'
PID: 'PID',
},
sprintly: {
USER: "USER_EMAIL",
ID: 'PRODUCT_ID',
KEY: 'API_KEY'
},
@fredoliveira
fredoliveira / 0000_packages.config
Last active August 29, 2015 14:26 — forked from gcarrion-gfrmedia/0000_packages.config
AWS Elastic Beanstalk Ruby 2.0/Puma Environment - .ebextensions tweaks and Sidekiq configuration. This is known to work fine with AWS Elastic Beanstalk 's 64bit Amazon Linux 2014.03 v1.0.1 running Ruby 2.0 (Puma) stack. Later stack versions might not work, but for that specific version works fine.
# Install Git needed for Git based gems
packages:
yum:
git: []
{
// Editing, Syntax
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
// Window
"window.zoomLevel": 0,
// Editor
"editor.fontSize": 13,

Keybase proof

I hereby claim:

  • I am fredoliveira on github.
  • I am fredoliveira (https://keybase.io/fredoliveira) on keybase.
  • I have a public key ASCh6IzFAcJpRv96klg_ZePE1DG78dLPQD_G8z4FUAR9yAo

To claim this, I am signing this object: