Skip to content

Instantly share code, notes, and snippets.

Avatar

Vinícius Zago viniciuszago

View GitHub Profile
View Ruby - Best Practices and Useful gems.md

Overall Guide

  • https://github.com/thoughtbot/guides - This is not actually only ruby guide, but overall guide for engineers, I personally don't agree with everything there, but still good reference.

Best Practices - SOLID

Best Practices - Design Patterns

View yosemite_ruby_libv8_therubyracer.sh
brew install homebrew/dupes/apple-gcc42
rbenv install 1.9.3-p484
rbenv global 1.9.3-p484
git clone https://github.com/cowboyd/libv8.git
cd libv8
git checkout 3.11
export CC=/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/gcc-4.2
export CXX=/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/g++-4.2
export CPP=/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/cpp-4.2
bundle install
View DataTransferSign.java
package controllers;
import java.io.UnsupportedEncodingException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
public class DataTransferSign
You can’t perform that action at this time.