Skip to content

Instantly share code, notes, and snippets.

View KTibow's full-sized avatar

Kendell R KTibow

View GitHub Profile
@cemerson
cemerson / archive.org-scanned-book-downloader-bookmarklet.md
Last active July 22, 2024 20:49
Archive.org Scanned Book Downloader Bookmarklet

Archive.org Scanned Book Downloader Bookmarklet

A simple "1-click" javascript approach to downloading a scanned book from archive.org to read at your leisure on the device of your choosing w/out having to manually screenshot every pages of the book by hand. In short it's a glorified "Save Image As..." approach but consolidated down to "1 click". BTW there may be a much better option than this out there - I just built this as an autistic project to see if it would work.

Demo Video

Archive.org SBDL Demo

Obligatory Legal/Disclaimer:

By using this script you agree to delete all book files/images after your 1 hour or 14 days is up! I don't support using this script for any other use cases. After all, none of us have ever kept a library book past it's return date, right?

@lcb
lcb / README.md
Last active January 31, 2023 17:22
emojIDs

EmojID

The function emojid() deterministically converts hexadecimal strings (like sha1sum, md5sum, uuid4, uuid5) into emoji containing strings, remojid() converts back.

Implementations in Javascript and Python are provided.

What for?

¯\_(ツ)_/¯
@ericoporto
ericoporto / Aseprite.desktop
Last active May 23, 2024 16:35
Desktop file for aseprite from Steam, make sure to replace USERNAME with your username. Place on /usr/share/applications/ or ~/.local/share/applications/
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Aseprite
GenericName=Sprite Editor
Comment=Animated sprite editor & pixel art tool
Icon=/home/USERNAME/.steam/steam/steamapps/common/Aseprite/data/icons/ase64.png
Categories=Graphics;2DGraphics;RasterGraphics;
Exec=/home/USERNAME/.steam/steam/steamapps/common/Aseprite/aseprite %U
TryExec=/home/USERNAME/.steam/steam/steamapps/common/Aseprite/aseprite
@lolzballs
lolzballs / HelloWorld.java
Created March 22, 2015 00:21
Hello World Enterprise Edition
import java.io.FileDescriptor;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintStream;
public class HelloWorld{
private static HelloWorld instance;
public static void main(String[] args){
instantiateHelloWorldMainClassAndRun();
@moeffju
moeffju / comicsansify.html
Last active June 14, 2020 02:27
Comic-Sans-ify the web. Paste this in your URL bar.
<h3>Bookmarklet time!</h3>
<a href="javascript:var css = '*{font-family:"Comic Sans MS" !important;}'; var head = document.getElementsByTagName('head')[0]; var s = document.createElement('style'); s.setAttribute('type', 'text/css'); if (s.styleSheet) { s.styleSheet.cssText = css; } else { s.appendChild(document.createTextNode(css)); } head.appendChild(s);">Comicsansify!</a>
<p>Drag this to your Bookmarks Bar.</p>