Skip to content

Instantly share code, notes, and snippets.

Sebastián Vicencio sivicencio

Block or report user

Report or block sivicencio

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
@sivicencio
sivicencio / remove_tuxera.sh
Created Oct 29, 2019 — forked from miguelmota/remove_tuxera.sh
Completely uninstall and remove Tuxera NTFS on MacOS (resets trial version)
View remove_tuxera.sh
sudo rm -rf /Applications/Tuxera\ Disk\ Manager.app
sudo rm -rf /Library/Application\ Support/Tuxera\ NTFS
sudo rm -rf /Library/Filesystems/fusefs_txantfs.fs
@sivicencio
sivicencio / seeds.rb
Created Oct 14, 2019
Archivo de seeds con 10 libros de ejemplo.
View seeds.rb
# Creamos 10 libros iniciales
Book.create(
title: 'Clean Code: A Handbook of Agile Software Craftsmanship',
description: 'Even bad code can function. But if code isn’t clean, it can bring a development organization to its knees. Every year, countless hours and significant resources are lost because of poorly written code. But it doesn’t have to be that way.
Noted software expert Robert C. Martin presents a revolutionary paradigm with Clean Code: A Handbook of Agile Software Craftsmanship . Martin has teamed up with his colleagues from Object Mentor to distill their best agile practice of cleaning code “on the fly” into a book that will instill within you the values of a software craftsman and make you a better programmer—but only if you work at it.
What kind of work will you be doing? You’ll be reading code—lots of code. And you will be challenged to think about what’s right about that code, and what’s wrong with it. More importantly, you will be challenged to reassess your professional values and your
@sivicencio
sivicencio / gist:53d78b63df2bee321a55152c5aa8f73e
Created Jun 8, 2016 — forked from p404/gist:f0d37cb4b4912543f5a5
Server configuration for a rails application (Ubuntu 14.04)
View gist:53d78b63df2bee321a55152c5aa8f73e
# User: ubuntu
sudo apt-get update
sudo apt-get upgrade
# Access keys
vim .ssh/authorized_keys
# Hostname
sudo vim /etc/hostname
sudo vim /etc/hosts
@sivicencio
sivicencio / google_analytics.js
Last active Aug 29, 2015
JavaScript implementation of @reed Google Analytics Turbolinks compatibility. Original CoffeeScript version: http://reed.github.io/turbolinks-compatibility/google_analytics.html
View google_analytics.js
// JavaScript implementation of @reed Google Analytics Turbolinks compatibility
// Original CoffeeScript version: http://reed.github.io/turbolinks-compatibility/google_analytics.html
// Prefer Universal Analytics if you can, as Google recommends
var googleAnalytics = {
load: function() {
var firstScript;
window._gaq = [];
window._gaq.push(["_setAccount", googleAnalytics.analyticsId()]);
You can’t perform that action at this time.