This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* I add this to html files generated with pandoc. | |
*/ | |
html { | |
font-size: 100%; | |
overflow-y: scroll; | |
-webkit-text-size-adjust: 100%; | |
-ms-text-size-adjust: 100%; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ^ | |
# There's nothing magical about shebang (#!) lines- they just tell the shell which executable should be used to run this script | |
# The <<EOF syntax is called a heredoc (https://en.wikipedia.org/wiki/Here_document) | |
# It allows us to conveniently cat a large amount of text | |
# Let's use a heredoc to write the Dockerfile | |
cat >Dockerfile <<'EOF' | |
# syntax = docker/dockerfile:1.4.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env -S bash -c "docker run -p 8080:8080 -it --rm \$(docker build --progress plain -f \$0 . 2>&1 | tee /dev/stderr | grep -oP 'sha256:[0-9a-f]*')" | |
# syntax = docker/dockerfile:1.4.0 | |
FROM node:20 | |
WORKDIR /root | |
RUN npm install sqlite3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
subdomain.domain.com { | |
encode gzip zstd | |
reverse_proxy <LOCAL_IP>:<PORT> | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
quest 3 | |
https://www.vrvoyaging.com/ | |
AirPano on youtube is like travel channel VR. Highly recommend you check it out. | |
Watching movies in bigscreen. You lay down on your bed, use the tilt feature to tilt your view as if you were sitting and you can watch something in a cinema setting. More comfortable than cinema since you lay down instead of sitting. | |
VR Animation: Tales from Soda Island series. https://creator.oculus.com/community/494265767871123/786914715193648/ | |
VR comic: The Remedy | |
https://www.oculus.com/experiences/media/2234695556567927/230143025016752/ | |
If you are still not satisfied, try anything created by Goro Fujita |
- FilePizza https://file.pizza/
- SnapDrop https://snapdrop.net/ https://github.com/RobinLinus/snapdrop. A fork PairDrop https://github.com/schlagmichdoch/pairdrop
- Instant.io https://instant.io/
- file ai http://fileai.com/
- Send Anywhere https://send-anywhere.com/
- Just Beaam it https://www.justbeamit.com/
- Yt2fb.in https://yt2fb.in/file-transfer/
- drop.lol https://drop.lol/ https://github.com/mat-sz/filedrop
This is a compiled list of falsehoods programmers tend to believe about working with time.
Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.
- There are always 24 hours in a day.
- February is always 28 days long.
- Any 24-hour period will always begin and end in the same day (or week, or month).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ActiveTable - a bookmarklet to make tables sortable and editable | |
function init() { | |
var aHrows = getHrows(); | |
var numHrows = aHrows.length; | |
var aHidden = getHiddenColumns(); | |
ATpopup = document.createElement("div"); | |
ATpopup.style.cssText = "position: absolute; visibility: hidden; padding: 0; font-family: Arial; background-color: rgba(255, 255, 255, 0.9); border-radius: .5em; text-align: center; box-shadow: .05em .05em .5em #00C;"; | |
ATpopup.innerHTML = "<a href='sort' title='sort' onclick='sortColumn(); return false'><img border=0 src='http://stevesouders.com/images/sort_up_down.png' style='padding-top: 0.2em;'></a><br><a href='hide' style='color: #C00; font-family: monospace; font-size: 1.5em; text-decoration: none;' title='hide' onclick='hideColumn(); return false'>x</a>"; // TODO - use protocol-less URL for img |
NewerOlder