To install & configure github, please read the followings :
If you are using Windows, don't forget the $ git config --global core.autocrlf true
to avoid Windows trailing line endings.
And then... Let's CLONE !
## First page | |
Ooh ! Un nouveau chapitre est apparu ! | |
[When You Wish Upan a Beard](Link) | |
des dessins à tout bout de champ ! | |
Ouvrir le livre : | |
# Chapitre I - À propos de ce livre |
To install & configure github, please read the followings :
If you are using Windows, don't forget the $ git config --global core.autocrlf true
to avoid Windows trailing line endings.
And then... Let's CLONE !
# Version la plus explicite non refactorée | |
def array_to_hash(values, &block) | |
# On crée une range de 0 à la longueur du tableaux de valeurs. ['a','b','c'] contient 3 éléments, ses indexs sont donc 0, 1 et 2. | |
# La range créée dans ce cas sera alors (0..2) ce qui peut-être traduit par un tableau dont les valeurs seraient [0, 1, 2]. | |
num_keys = (0...values.length) | |
# I - Modules as namespaces | |
# II - Module extension | |
# III - Module inclusion | |
# IV - Module are the answer to the lack of multiple inheritance in Ruby | |
# ----------------------------------------------------------------- | |
# | Modules as namespaces | | |
# ----------------------------------------------------------------- |
iPadDigit = (function(selector, api, delay) { | |
this.selector = $(selector); | |
this.inputs = []; | |
this.timer = null; | |
this.delay = delay; | |
this.api = api; | |
}); | |
iPadDigit.prototype.handleInputs = function() { | |
var self = this; |
require 'benchmark' | |
class TestWithInstance | |
def initialize(var) | |
@var = var | |
@var2 = @var | |
@var3 = @var2 | |
end |
-- Content-Type: application/zip; charset=UTF-8; filename=3DFiles.zip Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=3DFiles.zip Content-ID: <[email protected]> UEsDBBQAAAAIAAVv7kQZHhug338dAN0tLwAeAAAAQmVkX1NtYV9MZXR0b19M b3RvX04yMDA2MTQuM0RTdHxlWFbP8z7dJSJ2KyYWtvCcGRFFQAVBUESxFcTE FoNWukMQkW7pfs6zBxUVFBEEA0wQCxExEeO/fn4v/ud58X2h13Bf987Ozu7O zpxdWLHiie50CSkJJQkJCWn6z8Cgb9J0CYnR6lTuJ6FI/9fT0/t7JY4KEvH/ ... | |
... | |
... (base64 shit) |
class House | |
def initialize(name, owner) | |
@name = name | |
@owner = owner | |
end | |
def owner | |
@owner | |
end | |
end |
<div id="product-share" class="row"> | |
<div class="col-md-4"> | |
<ul> | |
<li>Twitter</li> | |
<li>Pinterest</li> | |
<li>G+</li> | |
<li>Facebook</li> | |
</ul> | |
</div> |
class Users::RegistrationsController < Devise::RegistrationsController | |
before_action :configure_permitted_parameters | |
# Handles editing when provider is facebook | |
def update_resource(resource, params) | |
if current_user.provider == "facebook" | |
params.delete("current_password") | |
resource.update_without_password(params) | |
else | |
resource.update_with_password(params) |