Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am alator21 on github.
  • I am alator21 (https://keybase.io/alator21) on keybase.
  • I have a public key ASCynSBSBHrB7uMjocEwlfF7gehIdgbj7ltpCJWNfSvqqQo

To claim this, I am signing this object:

@alator21
alator21 / index.html
Created April 10, 2022 13:20
Social Card + 3D Hover Effect
<div class="background"></div>
<div class="outer-div">
<div class="inner-div">
<div class="front">
<div class="front__bkg-photo"></div>
<div class="front__face-photo"></div>
<div class="front__text">
<h3 class="front__text-header">Bobby Korec</h3>
<p class="front__text-para"><i class="fas fa-map-marker-alt front-icons"></i>Seattle</p>
@alator21
alator21 / index.html
Created November 16, 2021 14:41
Responsive Table Using Flexbox
<div class="wrapper">
<div class="Rtable Rtable--5cols Rtable--collapse">
<div class="Rtable-row Rtable-row--head">
<div class="Rtable-cell date-cell column-heading">Date</div>
<div class="Rtable-cell topic-cell column-heading">Topic</div>
<div class="Rtable-cell access-link-cell column-heading">Access Link</div>
<div class="Rtable-cell replay-link-cell column-heading">Replay</div>
<div class="Rtable-cell pdf-cell column-heading">Checklist</div>
</div>
@alator21
alator21 / setup_nbasz.sh
Last active March 5, 2022 11:52
Setup nbasz with default options
#!/usr/bin/env bash
NB_VERSION=1.0.0;
BASE_PATH="${HOME}/.nbasz";
wget "https://github.com/alator21/descriptive.worm/releases/download/${NB_VERSION}/nb";
chmod +x ./nb;
currentFolder=$(pwd);
mkdir "${BASE_PATH}";
mkdir "${BASE_PATH}/profiles";
@alator21
alator21 / p11.js
Last active November 13, 2018 22:35
Node.JS print filename and line number prefixed to console log output
//Inspired by Mike Smullin (https://github.com/mikesmullin)
//Almost same as his gist (https://gist.github.com/mikesmullin/008721d4753d3e0d9a95cda617874736) but this one can print objects too.
//Mike's gist would print [object object] if an object was passed as a parameter.This one displays correctly the object.
const path = require('path');
function p11(s) {
const orig = Error.prepareStackTrace;
Error.prepareStackTrace = (_, stack) => stack;
const err = new Error();
Error.captureStackTrace(err, arguments.callee);
@alator21
alator21 / .jshintrc
Created November 5, 2018 22:19
JSHint Options for p5.sound.js
//Inspired by Spaxe (https://github.com/Spaxe)
//Check his gist for p5.js(https://gist.github.com/Spaxe/8704847bfd982139cad3)
"globals":
{
//[8]
"sampleRate": true,
"freqToMidi": true,
"midiToFreq": true,
"soundFormats": true,
@alator21
alator21 / .jshintrc
Last active November 5, 2018 21:41
JSHint Options for p5.dom.js
//Inspired by Spaxe (https://github.com/Spaxe)
//Check his gist for p5.js(https://gist.github.com/Spaxe/8704847bfd982139cad3)
"globals": {
//[19]
"select": true,
"selectAll": true,
"removeElements": true,
"createDiv": true,
"createP": true,