Skip to content

Instantly share code, notes, and snippets.

View gildas-ld's full-sized avatar

Gildas Le Drogoff gildas-ld

View GitHub Profile

General OpenSSL Commands

These commands allow you to generate CSRs, Certificates, Private Keys and do other miscellaneous tasks.

Generate a new private key and Certificate Signing Request

openssl req -out CSR.csr -new -newkey rsa:2048 -nodes -keyout privateKey.key
@gildas-ld
gildas-ld / chromiumUpdater.js
Created December 26, 2023 22:37 — forked from TayIorRobinson/chromiumUpdater.js
macOS Chromium Marmaduke build updater
// To use this simply install NodeJS (https://nodejs.org/)
// Then run node chromiumUpdater.js.
// You might want to put it in your crontab.
// Set to true for ASi builds
// Set to false for Intel builds
const APPLE_SILLICON = false
// Ignore No-Sync builds?
const SYNC_ONLY = true
// Show notifications
@gildas-ld
gildas-ld / _golden-ratio.scss
Created August 28, 2023 14:31 — forked from gregrickaby/_golden-ratio.scss
Golden Ratio Typography for Sass
//
// Golden Ratio Typography
// --------------------------------------------------
// Golden Ratio Math
//
// Let's do some math so we can build beautiful typography and vertical rhythm.
// For any magic to happen, set the $ContentWidth variable on _variables.scss
// to match your content box width (normally this is 640px, 740px, etc...).
@gildas-ld
gildas-ld / cheatsheet-elasticsearch.md
Created January 29, 2023 01:33 — forked from ruanbekker/cheatsheet-elasticsearch.md
Elasticsearch Cheatsheet : Example API usage of using Elasticsearch with curl
@gildas-ld
gildas-ld / mongodb_cheat_sheet.md
Created September 7, 2022 13:33 — forked from bradtraversy/mongodb_cheat_sheet.md
MongoDB Cheat Sheet

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

Journalctl Cheat Sheet

Configuration

Permissions

To see messages from other users and the system as well as performing various log operations from a regular user add it to the group:

sudo usermod -aG systemd-journal $USER