Skip to content

Instantly share code, notes, and snippets.

View franco's full-sized avatar

Franco Sebregondi franco

View GitHub Profile
class ProductsController < ApplicationController
before_action :set_product, only: %i[ show edit update destroy ]
# GET /products or /products.json
def index
@products = Product.all
end
# GET /products/1 or /products/1.json
def show
@franco
franco / mech_keyboards.md
Last active May 16, 2021 10:04
Mechanical keyboards, ergonomic layouts, qmk, ...

alternative layouts

RSTHD seems to be the winner (ergonomy/speed) for colunn staggered keyboards. It puts the most frequent letter E (in English and many other languages like German) to the left thumb cluster, which in itself should increase speed quite a bit.

@franco
franco / Gemfile
Created June 25, 2020 08:17 — forked from dhh/Gemfile
HEY's Gemfile
ruby '2.7.1'
gem 'rails', github: 'rails/rails'
gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data
# Action Text
gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra'
gem 'okra', github: 'basecamp/okra'
# Drivers
@franco
franco / flutter_dart_resources.md
Last active September 8, 2018 09:51
A collection of resources about flutter and dart
@franco
franco / gist:5538605
Last active December 17, 2015 02:49
job search