Skip to content

Instantly share code, notes, and snippets.

View bgoonz's full-sized avatar
🎯
learning

Bryan C Guner bgoonz

🎯
learning
View GitHub Profile
@bgoonz
bgoonz / website.css
Created September 30, 2021 03:41 — forked from practicalli-johnny/website.css
Example `styles/website.css` styles that over-ride Gitbook's own styles, specifically for code blocks and image alingment (centred).
/* @import url(https://fonts.googleapis.com/css?family=Raleway); */
@import url(https://fonts.googleapis.com/css?family=Ubuntu);
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono);
/* Use Ubuntu font instead of the default Railway font */
body {
font-family: Ubuntu;
margin: 2rem;
font-size: 2rem;
}
@bgoonz
bgoonz / website.css
Created September 30, 2021 03:41 — forked from practicalli-johnny/website.css
Example `styles/website.css` styles that over-ride Gitbook's own styles, specifically for code blocks and image alingment (centred).
/* @import url(https://fonts.googleapis.com/css?family=Raleway); */
@import url(https://fonts.googleapis.com/css?family=Ubuntu);
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono);
/* Use Ubuntu font instead of the default Railway font */
body {
font-family: Ubuntu;
margin: 2rem;
font-size: 2rem;
}
@bgoonz
bgoonz / curl.md
Created September 23, 2021 10:27 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@bgoonz
bgoonz / keypress.js
Created February 21, 2021 01:20 — forked from andrew/keypress.js
var keypress = require('keypress');
// make `process.stdin` begin emitting "keypress" events
keypress(process.stdin);
// listen for the "keypress" event
process.stdin.on('keypress', function (ch, key) {
// console.log('got "keypress"', key);
if(key && key.name == 'right'){
@bgoonz
bgoonz / pipenv_cheat_sheet.md
Created February 19, 2021 07:01 — forked from bradtraversy/pipenv_cheat_sheet.md
Pipenv cheat sheet for common commands

Pipenv Cheat Sheet

Install pipenv

pip3 install pipenv

Activate

pipenv shell