Skip to content

Instantly share code, notes, and snippets.

Nícolas Iensen nicolasiensen

Block or report user

Report or block nicolasiensen

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
@nilbus
nilbus / java_for_rubyists.md
Last active Sep 15, 2019
Some Java basics for Rubyists
View java_for_rubyists.md
  1. Java uses static, declared typing:

    String hello = "Hello, World!";
    List<String> phrases = new ArrayList<String>;
    phrases.add(hello);
    phrases.add(null);
    phrases.add(123); // Compile error! Not a string.
@jofralogo
jofralogo / responsiveMixinsF4.sass
Last active Dec 15, 2015
Useful responsive SCSS mixins for Foundation 4.
View responsiveMixinsF4.sass
/*
_______
These simple SCSS/SASS mixins for Foundation 4 are made by me to deal with media-queries and have a clean code at the same time! ;)
****IMPORTANT****
Due to Foundation 4 uses mobile-first methodology, every $phone-"X" variable in these mixins defines the value for every screen size.
$desktop-"X" values overrides $phone-"X" values when the width of the window is 768px and above.
@harlantwood
harlantwood / push_to_github.rb
Created Jun 15, 2012
Commit and push via Github REST API, from ruby RestClient
View push_to_github.rb
# Committing changes to a repo via the Github API is not entirely trivial.
# The five-step process is outlined here:
# http://developer.github.com/v3/git/
#
# Matt Swanson wrote a blog post translating the above steps into actual API calls:
# http://swanson.github.com/blog/2011/07/23/digging-around-the-github-api-take-2.html
#
# I was not able to find sample code for actually doing this in Ruby,
# either via the HTTP API or any of the gems that wrap the API.
# So in the hopes it will help others, here is a simple function to
You can’t perform that action at this time.