Skip to content

Instantly share code, notes, and snippets.

View PepperAddict's full-sized avatar
🌶️
Working and Lurking

Jenearly Reassey PepperAddict

🌶️
Working and Lurking
View GitHub Profile
@PepperAddict
PepperAddict / instructions.txt
Created May 14, 2020 22:46 — forked from maslowivan/instructions.txt
Fast solution to replace the node-spdy package using with the express.js on the node v12. Development purposes only!
1. npm uninstall spdy
2. npm install http2-proxy finalhandler
3. replace the code
import spdy from 'spdy';
spdy.createServer(HTTP2_OPTIONS, app).listen(HTTP2_PORT, (error) => { ...
with
@PepperAddict
PepperAddict / stateToFull.js
Last active April 11, 2018 13:27
USA/Canada Abbreviation to full name
//I converted this: http://www.icq.eps.harvard.edu/ICQpost.html to a javascript object.
const state = {
//Canada
"AB": "Alberta",
"BC": "British Columbia",
"MB": "Manitoba",
"NB": "New Brunswick",
"NF": "Newfoundland",
"NS": "Nova Scotia",
@PepperAddict
PepperAddict / cssloops.asciidoc
Last active May 5, 2018 04:47
Understanding CSS loops

I’m trying to understand Sass’s loops.

The best way for me to learn this is to visualize it. Hopefully this helps someone else.

I am going to be playing with headers.

  • h1 is going to be the largest font-size.

  • h5 is the cap with a much smaller font-size than h1.

The default style is: