Skip to content

Instantly share code, notes, and snippets.

⚓️
Happy

Wagner Gonçalves wagnerjgoncalves

⚓️
Happy
Block or report user

Report or block wagnerjgoncalves

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View tmux_cheatsheet.markdown

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@wagnerjgoncalves
wagnerjgoncalves / jenkins.md
Last active Dec 6, 2019
Shell Script to install Jenkins at Ubuntu
View jenkins.md
@wagnerjgoncalves
wagnerjgoncalves / notes.md
Last active Apr 28, 2016
Notes from Crafiting Rails 4 Applications
View notes.md

Crafiting Rails 4 Applications

  • This pioneering book deep-dives into the Rails plugin APIs and shows you, the intermediate Rails developer, how to use them to write better web applications and make your day-to-day work with Rails more productive.

  • You’ll learn how the Rails rendering stack works and customize it to read templates from the database while you discover how to mimic Active Record behavior, such as validations, in any other object. You’ll find out how Rails integrates with Rack, the different ways to stream data from your web application, and how to mix Rails engines and Sinatra applications into your Rails apps, so you can choose the most appropriate tool for the job. In addition, you’ll improve your productivity by customizing generators and responders.

Cap 1 - Create your own renderer (AbstractController)

Rails uses the model-view-controller (MVC) architecture pattern to organize our code.

@wagnerjgoncalves
wagnerjgoncalves / introduction.md
Last active Jan 8, 2020
Notes from Growing Rails Applications in Practice
View introduction.md

Growing Rails Applications in Practice

  • How to use discipline, consistency and code organization to make your code grow more gently.

  • As you cycle through patterns, your application is becoming a patchwork of different coding techniques.

    All those new techniques actually help, or if you are just adding layers of inderection.

  • Large applications are large so what we can do is organize a codebase in a way that "scales logarithmically".

View Preferences.sublime-settings
{
"auto_complete": true,
"auto_complete_commit_on_tab": true,
"bold_folder_labels": true,
"caret_extra_bottom": 2,
"caret_extra_top": 2,
"caret_extra_width": 4,
"caret_style": "solid",
"theme": "Material-Theme.sublime-theme",
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme",
View factorial.rb
factorial = Hash.new do |hash, key|
if key > 1
hash[key] = hash[key - 1] * key
else
hash[key] = 1
end
end
factorial[1] # 1
factorial[2] # 2
View backbone+marionette.md

Backbone.js

backbone

Introduction

  • A library designed to be minimalist and useful in a wide variety of situations (non-opinionated)
  • Based in events communication/syncronization
  • Based in MVC (Model-View-Controller) structure

Structure

@wagnerjgoncalves
wagnerjgoncalves / week_1.md
Created Apr 27, 2016
Introduction Big Data
View week_1.md

What's in Big Data Applications and Systems?

Introduction

So we will start by introducing you to where big data comes from and what kinds of things you can do with it.

We'll also provide an overview of some of the key characteristics of big data and a short summary of the data science process to get value out of big data.

@wagnerjgoncalves
wagnerjgoncalves / week_1.md
Last active Jul 22, 2019
Hadoop Platform and Application
View week_1.md

Hadoop Basics

Hadoop Ecosystem

Hadoop Stack Basics

What is Haddop (2005)

Is an open-source software framework for storage and large scale processing of data-sets on cluster of commodity hardware.

View Preferences.sublime-settings
{
"auto_complete": true,
"auto_complete_commit_on_tab": true,
"auto_complete_with_fields": true,
"bold_folder_labels": true,
"caret_extra_bottom": 2,
"caret_extra_top": 2,
"caret_extra_width": 4,
"caret_style": "solid",
"color_scheme": "Packages/User/itg.dark (Flake8Lint).tmTheme",
You can’t perform that action at this time.