Skip to content

Instantly share code, notes, and snippets.

@ozeias
ozeias / full_script.rb
Created October 26, 2024 19:35 — forked from borischerkasky/full_script.rb
full Github PR statistics script
class TeamPrStatistics
attr_accessor :team, :stats
class Stat
attr_accessor :titles
attr_reader :name
def initialize(name)
@name = name
@titles = []
end
@ozeias
ozeias / pre-commit
Created April 18, 2016 00:06 — forked from tmaiaroto/pre-commit
A Go Commit Hook for Less Future Headaches
#!/bin/bash
#
# Check a "few" things to help write more maintainable Go code.
#
# OK, it's fairly comprehensive. So simply remove or comment out
# anything you don't want.
#
# Don't forget to install (go get) each of these tools.
# More info at the URLs provided.
#
@ozeias
ozeias / web-developer.md
Last active August 29, 2015 14:03
[JOB] Web developer: HTML, CSS, PHP, Javascript #jobs

About Chute

Chute is a Y Combinator company, and the most comprehensive visual brand engagement platform on the market today, powering everything from billboards to banner ads to native mobile apps with real time content from brands and consumers. We believe the future of brand marketing is visual and our tools to manage, measure and drive engagement have become essential for brand marketers. Chute works with some of the world’s biggest brands and publishers including NBC News, Turner, Condé Nast, the NBA, New York Times, Taylor Made, Samsung and House of Blues Entertainment.

The Chute Studio is our internal startup which helps Chute deliver custom applications and services to our growing customer base.

The Studio are based in Meia Praia, Itapema/SC, minutes away from Balneário Camboriú, Bombinhas and Florianópolis.

To find out more, head to our life at Chute video and see for yourself: https://www.youtube.com/watch?v=Xn1zRE5b3Ic.

@ozeias
ozeias / front-end-developer.md
Last active August 29, 2015 14:03
[JOB] Front-end Developer: Backbone, Angular, Node and/or Rails #jobs

About Chute

Chute is a Y Combinator company, and the most comprehensive visual brand engagement platform on the market today, powering everything from billboards to banner ads to native mobile apps with real time content from brands and consumers. We believe the future of brand marketing is visual and our tools to manage, measure and drive engagement have become essential for brand marketers. Chute works with some of the world’s biggest brands and publishers including NBC News, Turner, Condé Nast, the NBA, New York Times, Taylor Made, Samsung and House of Blues Entertainment.

The Chute Studio is our internal startup which helps Chute deliver custom applications and services to our growing customer base.

The Studio are based in Meia Praia, Itapema/SC, minutes away from Balneário Camboriú, Bombinhas and Florianópolis.

To find out more, head to our life at Chute video and see for yourself: https://www.youtube.com/watch?v=Xn1zRE5b3Ic.

require 'fileutils'
start_time = Time.now
SOURCE_DB = {
:name => 'db_name',
:user => 'db_user',
:password => 'db_pass',
:host => 'localhost'
We are expanding our team here in Itapema - SC, Chute Studio. The Studio is our internal agency which helps Chute deliver custom applications and services to our growing customer base.
Objective
Delivers excellent work and shares in the overall Chute culture.
Responsibilities
* Develop detailed estimates for proposed projects and services
* Develop wireframes and high-fidelity comps for proposed projects and services
* Develop detailed timelines for potential and active client projects
* Daily, Weekly, and Project updates and summaries
@ozeias
ozeias / Marketing web developer.md
Last active January 1, 2016 06:09
JOB: Marketing web developer: SEM/SEO, Google Analytics, HTML, CSS #jobs

About Chute

Chute is a Y Combinator company, and the most comprehensive visual brand engagement platform on the market today, powering everything from billboards to banner ads to native mobile apps with real time content from brands and consumers. We believe the future of brand marketing is visual and our tools to manage, measure and drive engagement have become essential for brand marketers. Chute works with some of the world’s biggest brands and publishers including NBC News, Turner, Condé Nast, the NBA, New York Times, Taylor Made, Samsung and House of Blues Entertainment.

The Chute Studio is our internal agency which helps Chute deliver custom applications and services to our growing customer base.

The Studio are based in Meia Praia, Itapema/SC, minutes away from Balneário Camboriú, Bombinhas and Florianópolis.

Objective

Delivers excellent work and shares in the overall Chute culture.

@ozeias
ozeias / der2pem.sh
Created November 14, 2012 14:23
Converting SSL-certificates from CRT format to PEM
#/bin/bash
for f in $(file *.crt|grep data|sed 's/: *data//')
do
echo "Processing $f file to ${f/.crt/.pem}..."
openssl x509 -in $f -inform der -outform pem -out ${f/.crt/.pem}
rm $f
done
# openssl x509 -in serprov2.crt -out serprov2.der -outform DER
# openssl x509 -in serprov2.der -inform der -outform pem -out serprov2.pem
@ozeias
ozeias / capybara-helpers.rb
Created October 2, 2012 19:09 — forked from ntreadway/capybara-helpers.rb
Capybara helpers
def set_mobile_agent
page.driver.header('User-Agent', 'iPhone')
end
def js_click(selector)
page.driver.execute_script "$('##{selector}').click()"
end
def screenshot
require 'capybara/util/save_and_open_page'
@ozeias
ozeias / unicorn.rb
Created May 16, 2012 11:21 — forked from jamiew/unicorn.rb
Unicorn config for use with bundler and capistrano - fixes issues with environment pollution.rb
# My pimped out unicorn config, with incremental killof
# and all the latest capistrano & bundler-proofing
# @jamiew :: http://github.com/jamiew
application = "000000book.com"
environment = ENV['RACK_ENV'] || ENV['RAILS_ENV'] || 'production'
app_path = "/srv/#{application}"
bundle_path = "#{app_path}/shared/bundle"
timeout 30