Skip to content

Instantly share code, notes, and snippets.

Avatar

Ryan Mortier ryanmortier

View GitHub Profile
@ryanmortier
ryanmortier / calendar.sql
Created Jul 18, 2017
MySQL: Generate Calendar Helper Table
View calendar.sql
DROP TABLE IF EXISTS `calendar`;
CREATE TABLE `calendar` (
`id` INTEGER PRIMARY KEY,
`date` DATE NOT NULL,
`year` INTEGER UNSIGNED NOT NULL,
`month` INTEGER UNSIGNED NOT NULL,
`day` INTEGER UNSIGNED NOT NULL,
`quarter` INTEGER UNSIGNED NOT NULL,
`week` INTEGER UNSIGNED NOT NULL,
@ryanmortier
ryanmortier / wsl_development_environment.md
Last active Jul 13, 2022
WSL Development Environment
View wsl_development_environment.md

WSL Development Environment

Windows

Source: https://docs.microsoft.com/en-us/windows/wsl/install-win10

  1. Elevated PowerShell: wsl --install
  2. Reboot computer when prompted.
  3. Setup will continue automatically and install Ubuntu.
  4. Setup a user and password for Ubuntu when prompted.
  5. Install Microsoft Terminal, configure fonts and theme.
  6. Install Visual Studio Code, configure settings, keybinds, theme, and extensions.