Skip to content

Instantly share code, notes, and snippets.

View Grubba27's full-sized avatar
:shipit:

Gabriel Grubba Grubba27

:shipit:
View GitHub Profile
@jonmorehouse
jonmorehouse / tar.go
Created February 17, 2014 22:29
Quick golang script for creating a gzipped tarball
package main
import (
"os"
"archive/tar"
"log"
"io"
"compress/gzip"
)
@HeroicEric
HeroicEric / rspec_helper_example.md
Created April 2, 2014 14:41
An example of how to create a RSpec test helper

RSpec Helper Example

Here's an example of a rspec test helper that will let you sign in as a given user.

Create spec/support/helpers/authentication.rb with the following:

module Helpers
  module Authentication
    def sign_in_as(user)
@staltz
staltz / introrx.md
Last active November 14, 2024 11:27
The introduction to Reactive Programming you've been missing
@ryansobol
ryansobol / symbols.md
Last active August 6, 2024 14:51
Symbols in Ruby

What's a Symbol and why is it imporant?

In Ruby, a Symbol is the most efficient way, in terms of time and memory, to represent a set of characters.

What does a Symbol look like?

Most commonly, a Symbol is a single word prefixed by a colon:

:hello
@jeffque
jeffque / java-path.md
Last active July 8, 2024 19:05
Caminhos para começar a dominar o Java

Alguns passos a seguir rumo a dominação do Java:

  • Faz um CRUD Java
  • Faz um cli Java
  • Aprende a fazer um package Java
  • Aprende a consumir um package Java
  • Aprende a configurar e atualizar packages
  • Aprende a deploiar Java
  • Aprende a consumir requests usando Java
  • Aprende a usar databases no Java