Skip to content

Instantly share code, notes, and snippets.

View SiddharthShyniben's full-sized avatar
💭
Bored

Siddharth SiddharthShyniben

💭
Bored
View GitHub Profile

Hey there!

Menu

Top
console.log('Textarea enhancer running \nbeep boop')
document.querySelectorAll('textarea')
.forEach(textarea => {
const keymap = {
'<': {
value: '<>',
pos: 1
},
'(': {
value: '()',
@SiddharthShyniben
SiddharthShyniben / Gist name here
Last active December 1, 2021 21:41
Testing gist names
‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎
@SiddharthShyniben
SiddharthShyniben / quicktest.css
Created April 2, 2021 15:36
Nothing to see here...
*, *::after, *::before{
border: 1px solid red !important;
}
.red {
color: red;
}
@SiddharthShyniben
SiddharthShyniben / ninja-code.md
Last active October 25, 2022 09:35
Ninja Code from javascript.info. For my self reference.

Ninja code

Learning without thought is labor lost; thought without learning is perilous.

Confucius

Programmer ninjas of the past used these tricks to sharpen the mind of code maintainers.
Code review gurus look for them in test tasks.
Novice developers sometimes use them even better than programmer ninjas.
Read them carefully and find out who you are – a ninja, a novice, or maybe a code reviewer?