Skip to content

Instantly share code, notes, and snippets.

View jmscarnatto's full-sized avatar
🎯
Focusing

Jose Scarnatto jmscarnatto

🎯
Focusing
View GitHub Profile
@jmscarnatto
jmscarnatto / vscode_mac_keybinding.md
Last active December 6, 2023 11:08
MacOs shortcuts keybinding
// Place your key bindings in this file to override the defaults
[
    {
        "key": "cmd+down",
        "command": "workbench.action.terminal.focusNext",
        "when": "terminalFocus"
    },
    {
        "key": "cmd+up",
@jmscarnatto
jmscarnatto / Linux_setup.md
Last active November 3, 2024 19:41
Basic linux setup for programming

Summary

  1. Install basic tools
  2. Oh-My-Sh / Powerlevel10k / Autosuggestions / ....
  3. Install Docker
  4. Install RVM
  5. Install NVM
  6. Vscdode Settings
  7. Vscode extensions

1 - Basic tools

@jmscarnatto
jmscarnatto / rails_8_plus.md
Last active January 25, 2025 15:10
Rails Dockerfile - the definitive guide for production with precompile and migrations

Rails 'VERSION >=8.x' - SQLite ONLY

Dockerfile

ARG RUBY_VERSION=3.3.6

FROM ruby:$RUBY_VERSION

ENV RAILS_ENV=production \
    BUNDLE_PATH=/bundle \
    BUNDLE_WITHOUT="development test" \