Skip to content

Instantly share code, notes, and snippets.


Gonzalo Moreno ronzalo

  • Desafio Latam
  • Santiago, Chile
Block or report user

Report or block ronzalo

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
ronzalo / diff.rb
Created Sep 2, 2019 — forked from ecleel/diff.rb
SequenceMatcher class in ruby. credit to testunit folks.
View diff.rb
# port of Python's difflib.
# Copyright (c) 2001-2008 Python Software Foundation; All Rights Reserved
# Copyright (c) 2008-2011 Kouhei Sutou; All Rights Reserved
# It is free software, and is distributed under the Ruby
# license and/or the PSF license. See the COPYING file and
# PSFL file.
# Carry this code from testunit/testunit project.
ronzalo / Dockerfile
Created Jul 13, 2018 — forked from remarkablemark/Dockerfile
Install node and npm with nvm using Docker.
View Dockerfile
# set the base image to Debian
FROM debian:latest
# replace shell with bash so we can source files
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
# update the repository sources list
# and install dependencies
RUN apt-get update \
ronzalo /
Last active May 16, 2018 — forked from gonzalo-bulnes/
Some merging rules to make collaboration easier through repository order. Think of rebasing as updating the context in which you write your feature, see also:
# safe merge
# merge the branch XXXXXXXX-add-example-feature into master
# make sure the feature is properly tested and
# doesn't break anything in its original context
git checkout XXXXXXXX-add-example-feature
rake # the test suite MUST NOT raise any error
# make sure your local copy of master is up-to-date
ronzalo / paperclip_has_destroyable_file.rb
Created Oct 6, 2016 — forked from sunny/paperclip_has_destroyable_file.rb
Rails Initializer to add destroyable attachments with Paperclip
View paperclip_has_destroyable_file.rb
# encoding: UTF-8
class ActiveRecord::Base
# Class method to add destroyable paperclip attachments.
# Example:
# has_attached_file :image
# has_destroyable_file :image
# attr_accessible :image_delete
You can’t perform that action at this time.