I hereby claim:
- I am dolkensp on github.
- I am dolkensp (https://keybase.io/dolkensp) on keybase.
- I have a public key whose fingerprint is 06C3 9FCF 356B 49DF 4E10 7956 9457 F587 1061 43F2
To claim this, I am signing this object:
document.onpaste = function(event){ | |
var xmlhttp = new XMLHttpRequest(); | |
xmlhttp.onreadystatechange = function() { | |
if (xmlhttp.readyState == XMLHttpRequest.DONE ) { | |
var result = JSON.parse(xmlhttp.responseText); | |
document.execCommand("insertHTML", false, result.data.link); | |
console.log(result.data.link); | |
} |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
SHELL := /usr/bin/env bash | |
.PHONY : all | |
############################################################################### | |
# HELP | |
############################################################################### | |
# COLORS | |
GREEN := $(shell tput -Txterm setaf 2) |
Mathematical solution to https://cdn.cs50.net/2020/x/events/puzzles/puzzles.pdf -> Putting it all together
First, we encode tiles into binary in low-byte order, assuming an 8-bit row-size.
For example:
J
UN
H
body { background: #f0f !important; } | |
@keyframes colorhue{ | |
from {-webkit-filter: hue-rotate(0deg); filter: hue-rotate(0deg);} | |
to {-webkit-filter: hue-rotate(359deg); filter: hue-rotate(359deg);} | |
} | |
.edit { | |
animation: colorhue 1s linear infinite; | |
} |
SHELL := /usr/bin/env bash | |
.PHONY : help | |
## Show help | |
help: | |
@echo '' | |
@echo 'Usage:' | |
@echo ' make ${YELLOW}<target>${RESET} ${GREEN}<description>${RESET}' | |
@echo '' | |
@echo 'Targets:' |