I hereby claim:
- I am raghav4 on github.
- I am raghavsharma (https://keybase.io/raghavsharma) on keybase.
- I have a public key whose fingerprint is FF40 B945 AE93 F089 7CB2 224D 08BB B638 8224 5BF0
To claim this, I am signing this object:
function doSomething(random) { | |
var firstLike = document.querySelector( | |
'section.ltpMr.Slqrh > span.fr66n > button > div > span > svg[aria-label="Like"]' | |
); | |
if (firstLike) { | |
firstLike.scrollIntoView({ | |
behavior: "smooth", | |
block: "center", | |
inline: "nearest", | |
}); |
I hereby claim:
To claim this, I am signing this object:
git ls-files -z | xargs -0n1 git blame -w | perl -n -e '/^.*\((.*?)\s*[\d]{4}/; print $1,"\n"' | sort -f | uniq -c | sort -n |
HTML | |
- Semantic HTML | |
- Event delegation | |
- Accessibility / ARIA | |
CSS | |
- Specificity | |
- Pseudo-elements | |
- Pseudo-selectors | |
- Combinators |
var http = require('http'); | |
http.createServer(function (req, res) { | |
// set up some routes | |
switch(req.url) { | |
case '/': | |
console.log("[501] " + req.method + " to " + req.url); | |
res.writeHead(501, "Not implemented", {'Content-Type': 'text/html'}); | |
res.end('<html><head><title>501 - Not implemented</title></head><body><h1>Not implemented!</h1></body></html>'); | |
break; |
In your command-line run the following commands:
brew doctor
brew update
Source : https://github.com/shiena/ansicolor/blob/master/README.md
Ansicolor library provides color console in Windows as ANSICON for Golang.
// Colors reference | |
// You can use the following as so: | |
// console.log(colorCode, data); | |
// console.log(`${colorCode}some colorful text string${resetCode} rest of string in normal color`); | |
// | |
// ... and so on. | |
export const reset = "\x1b[0m" | |
export const bright = "\x1b[1m" | |
export const dim = "\x1b[2m" |