Skip to content

Instantly share code, notes, and snippets.

View kotAPI's full-sized avatar
🎯
Focusing

Pranay Kothapalli kotAPI

🎯
Focusing
View GitHub Profile
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": "*",
"Action": [
"s3:GetObject"
],
@HatScripts
HatScripts / codepen_jokes.md
Last active December 18, 2023 00:10
Programming jokes/one-liners found on CodePen
  • A Pen is worth a thousand docs.
  • Be the developer your linter thinks you are.
  • How do you comfort a JavaScript bug? You console it!
  • How would you React if I said I love Vue?
  • If a groundhog inspects their Web Component, do they see their Shadow DOM?
  • If you get tired, be like an AJAX request and REST.
  • If you want to flex your skills and go off the grid, try coding a layout with float.
  • Keep friends close and formatters closer.
  • Keep the <main> thing the <main> thing.
  • Knock knock! Race condition. Who's there?
@leofavre
leofavre / waitInPromise.js
Last active January 20, 2019 23:01
Delays the chaining of a promise by a specified time in milliseconds.
/**
* Part of [Canivete](http://canivete.leofavre.com/#waitinpromise)
*
* Delays the chaining of a promise by a specified
* time in milliseconds.
*
* The function is curried so as to be used inside
* the `.then()` method, passing along the resolved
* value from the previous promise step to the next.
*
@trevmex
trevmex / bst.js
Created February 11, 2011 05:38
A simple binary search tree in JavaScript
/*
* File: bst.js
*
* A pure JavaScript implementation of a binary search tree.
*
*/
/*
* Class: BST
*