Skip to content

Instantly share code, notes, and snippets.

Avatar

Hugo Vilchis havilchis

View GitHub Profile
View workstation_kickstart.cfg
#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
@havilchis
havilchis / km-0000040a.ini
Last active Nov 9, 2019
FIX xrdp Spanish keyboard
View km-0000040a.ini
[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
@havilchis
havilchis / cloudSettings
Last active Apr 26, 2020
Visual Studio Code Settings Sync Gist
View cloudSettings
{"lastUpload":"2020-04-26T22:09:09.551Z","extensionVersion":"v3.4.3"}
@havilchis
havilchis / how_to_migrate.rb
Last active Apr 3, 2017
How to create a new table with UUID as Primary Key in Rails 5
View how_to_migrate.rb
# 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.