Skip to content

Instantly share code, notes, and snippets.

View ljahier's full-sized avatar
🏡
Working from home

Lucas JAHIER ljahier

🏡
Working from home
View GitHub Profile

Scope and steps for user system ticket - PX-4

Proposed steps to develop the ticket:

  1. Add new table to the main db users table, with needed columns (id, email, password, first_name, last_name, restore_key, created_at, updated_at)
  2. Add a migration for the columns mentioned above
  3. Tests the migration on local and also record the time it takes to run locally.
  4. Add form to create new user and make persist it in the db table. Password will be encrypted using SHA512.
  5. Do basic validation like required
  6. Enhance validation to accept only email in email field, accept only alphabets (not numbers) for first name and last name.
@ljahier
ljahier / emacs_cheatsheet.md
Created September 5, 2020 01:24 — forked from cairesr/emacs_cheatsheet.md
Emacs Cheat Sheet for macOS

Basics

ctrl + g - quit any Emacs command

crtl-x b - new buffer

crtl-x k - kill buffer

ctrl-x Ctrl-f - find / create new file na

@ljahier
ljahier / guide-de-collaboration.md
Created January 5, 2019 13:04 — forked from adrienjoly/guide-de-collaboration.md
Règles permettant de bosser efficacement en équipe

Règles permettant de bosser efficacement en équipe

Outils, et leur usage

  • Trello:
    • pour lister, planifier, s'attribuer, puis archiver les taches (appelées cartes),
    • savoir à tout moment qui bosse sur quoi, et quelle tache en est où,
    • les décisions relatives à chaque tache doivent être intégrées sous forme de commentaires dans la carte correspondante. (afin de garder un historique par tache, facile à retrouver plus tard)
  • Git:
  • pour stocker le code source produit,
@ljahier
ljahier / arch-linux-install
Created March 17, 2018 20:15 — forked from binaerbaum/arch-linux-install
Minimal instructions for installing arch linux on an UEFI NVMe system with full system encryption using dm-crypt and luks
# Install ARCH Linux with encrypted file-system and UEFI
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
# Download the archiso image from https://www.archlinux.org/
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
# Set swiss-french keymap