Skip to content

Instantly share code, notes, and snippets.

View helioalb's full-sized avatar
🏠
Working from home

Helio Albano de Oliveira helioalb

🏠
Working from home
View GitHub Profile
@helioalb
helioalb / system_design.md
Last active September 5, 2023 00:40
System design
(function($) {
'use strict';
function FormFiller() {
this.path = document.location.pathname;
this.container = $('form[accept-charset]', '#main-wrapper');
this.groupName = this.name + this.path;
this.group();
this.log('initialized');
@helioalb
helioalb / rspec_sugestions.rb
Created October 8, 2015 12:27
Sugestões para rspec
RSpec.describe UsersController, type: :controller do
describe 'GET #show' do
before
get :show, id: user_id
end
context 'when user exists' do
let(:user_id) { create(:user).id }
it 'return success (200) status code' do
@helioalb
helioalb / about.md
Last active August 29, 2015 14:10 — forked from jasonrudolph/about.md