Skip to content

Instantly share code, notes, and snippets.

View bgrand-ch's full-sized avatar
🙂
An idea, create it.

Benjamin Grand bgrand-ch

🙂
An idea, create it.
View GitHub Profile
@bgrand-ch
bgrand-ch / dropdown.md
Created May 19, 2021 12:35 — forked from citrusui/dropdown.md
"Dropdowns" in Markdown
How do I dropdown?
This is how you dropdown.

<details>
<summary>How do I dropdown?</summary>
<br>
This is how you dropdown.
@bgrand-ch
bgrand-ch / Knex-Migrations-Seeding.md
Created October 20, 2020 09:20 — forked from NigelEarle/Knex-Migrations-Seeding.md
Migration and seeding instructions using Knex.js!

Migrations & Seeding

What are migrations??

Migrations are a way to make database changes or updates, like creating or dropping tables, as well as updating a table with new columns with constraints via generated scripts. We can build these scripts via the command line using knex command line tool.

To learn more about migrations, check out this article on the different types of database migrations!

Creating/Dropping Tables

@bgrand-ch
bgrand-ch / Synology-Diskstation-Git.md
Created April 22, 2020 14:15 — forked from walkerjeffd/Synology-Diskstation-Git.md
Instructions for setting up git server on Synology Diskstation

Configure Synology NAS as Git Server

Instructions for setting up a git server on a Synology NAS with Diskstation. Specifically, I am using a DS414 with DSM 5.0.

Set Up User and Folder

  • Create user gituser via Diskstation interface (with File Station and WebDAV privilages)
  • Add new shared folder called git (located at /volume1/git) with read/write access for gituser and admin. This folder will hold all the repos.
  • Install Git Server package via Diskstation
@bgrand-ch
bgrand-ch / git-command.md
Created October 29, 2019 10:52 — forked from aquelito/git-command.md
GIT - Ligne de commande principale
title category
Git config
Git

Rappel

Ne pas oublier : l'aide en ligne de commande.