Skip to content

Instantly share code, notes, and snippets.

View havilchis's full-sized avatar

Hugo Vilchis havilchis

View GitHub Profile
@havilchis
havilchis / how_to_migrate.rb
Last active April 3, 2017 08:15
How to create a new table with UUID as Primary Key in Rails 5
# This instructions only works whith Postgresql as database.
# ::::::::::::: BEFORE PROCEEDING :::::::::::::::
# You need to know that this feature is included in Rails 5, you don't need to install any gem
# But... you must be capable of enable the extention "plpgsql" in your Database, in other words
# your db user needs root privileges. Check that before wasting time modifying your app.
# if you are deploying in Heroku or Amazon RDS don't worry, they haves tutorials for that.
@havilchis
havilchis / cloudSettings
Last active April 26, 2020 22:09
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-04-26T22:09:09.551Z","extensionVersion":"v3.4.3"}
@havilchis
havilchis / km-0000040a.ini
Last active November 9, 2019 07:19
FIX xrdp Spanish keyboard
[noshift]
Key8=65406:0
Key9=65307:27
Key10=49:49
Key11=50:50
Key12=51:51
Key13=52:52
Key14=53:53
Key15=54:54
Key16=55:55
#version=RHEL8
ignoredisk --only-use=sda
# Partition clearing information
clearpart --none --initlabel
# Use graphical install
graphical
repo --name="AppStream" --baseurl=file:///run/install/repo/AppStream
# Use CDROM installation media
cdrom
# Keyboard layouts