Skip to content

Instantly share code, notes, and snippets.

View deadflowers's full-sized avatar
💭
Meh.

deadflowers deadflowers

💭
Meh.
View GitHub Profile
@deadflowers
deadflowers / delimtest.csv
Last active March 29, 2025 17:42
ubuntu app installs 03-2025
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
arp-scan (1) - The ARP scanner
bmon (8) - bandwidth monitor and rate estimator
cpufetch (1) - Simple yet fancy CPU architecture fetching tool
exiftool (1p) - Read and write meta information in files
fdupes (1) - finds duplicate files in a given set of directories
hwinfo (8) - probe for hardware
iftop (8) - display bandwidth usage on an interface by host
inxi (1) - Command line system information script for console and IRC
iptraf-ng (8) - Interactive Colorful IP LAN Monitor
jp2a (1) - convert JPEG and PNG images to ASCII
  1. Registering as a Share Target: share_target in Manifest: Include a share_target section in your PWA's manifest file (e.g., manifest.json). Example:
    {
      "name": "My PWA",
      "scope": "/",
      "share_target": {
 "action": "/share/",
body{background: #f06;background: linear-gradient(45deg, #f06, yellow);min-height: 100vh;width:100vw;}
.wrap{display:flex;flex-grow:1;flex-direction: column;}
.wrap button:before{background:linear-gradient(45deg, white,transparent,transparent,transparent);
transition: background 0.3s ease, transform 0.2s ease;
}
.wrap button{width:10em;text-align:center;
align-self:center;
line-height:5;
border-radius:25px;
background:linear-gradient(45deg, transparent,white,transparent);}
@deadflowers
deadflowers / README.md
Created March 3, 2025 08:52
gdrive ocaml fuse by astrada

FUSE filesystem over Google Drive

Join the chat at https://gitter.im/google-drive-ocamlfuse/Lobby Docker Pulls

google-drive-ocamlfuse is a FUSE filesystem for Google Drive, written in OCaml. It lets you mount your Google Drive on Linux.

Features (see what's new)

@deadflowers
deadflowers / README.md
Created February 26, 2025 17:25
Cookie Flip Get Cookies as Netscape File

Cookie Flip Netscape

This is going to need revisiting it came up flipping through history in my devtools. I remember the project, yt-dlp complications when youtube wants to verify a user. especialy a challenge on a remove terminal or android termux. latest patch seems to have fixed that but ive not used it much. my thinking is if the file can be created in netscape format (there are libraries to incorporate on my github if all else and original code fails) and it pleases youtube, then add as a funciton into my webterminal. makes for a sick demo video of use cases. BUT another prob is that the terminal doesnt load on youtube in the newest chrome with all the security nonsense. Complications bumped this so low on my todo that it was basically hucked in the trash if not for scrolling through my history looking for a command. Here it sits until whenever and i dont know what version of whatever this is, is. Just that it spins around and spits out what looks like netscape formatted to me...

javascript:(f
@deadflowers
deadflowers / metalcube.md
Last active February 26, 2025 19:10
3D Cube Black Metal Animation ThreeJS Bookmarklet

3D Cube Black Metal Animation

a ThreeJS Bookmarklet

Dynamically load Three.js library and construct a cool 3D cube, make it rotate, and inject into a website. I don't know why you'd want to but it's really none of my business. Working on some things tonight I found a cube inject I did a couple months ago actually because the preview panel look blank i thought it was a broken gist i should fix or delete, but i saw the code, ran it and though a functional injection it was needing a few things namely color sceheme and transparency. Made some fixes, they work, and now it's ready to go in a project. Don't recall what led to makign the original, but replacing the pill icon in my terminal web app that serves as a minimize maximize might be what i was thinking for this. Then of course theres the adcube3d project I did a decade ago but there's some limitations that make it not ideal for that. For now though it'll sit here. In between other stuff and here it is as a bookmarklet I usually have multiple uses for

@deadflowers
deadflowers / README.md
Last active February 26, 2025 13:51
Page Info Bookmarklet

Page Info 🔍 JS Bookmarklet

summary:

Simple address bar execution script to display quick info about the current visited page/URL.

usage:

paste in address bar and hit enter, or save as bookmark on your toolbar make sure it starts with javascript: name it whatever you want. easy!

➕ the source

@deadflowers
deadflowers / README.md
Last active February 12, 2025 21:26
Highlighter Bookmarklet

Highlighter Injection Bookmarklet

Highlighter effect. Based on my Codepen but compacted into an injectable script so you can paste in the address bar or hit on it as a bookmark in chrome or firefox. And if all goes well, your cursor becomes a marker and you can highlight what you need.

Made in under 5 minutes as I was needing to screenshot something and thought i really need to highlight a line in the picture but debault browser select looks wonky. This is sexier. Anyway I've tested on 2 sites just now, worked so I'm goin with it. Use if you like.

Just copy this as one big line and execute as bookmark, in URL bar, or dev console.

BTW this is also how the effect is acheived on my Newspaper app @ raykooyenga.com/apps/news-app

@deadflowers
deadflowers / darkmode.css
Last active February 7, 2025 13:02
RSS News | Dark Mode draft
p {
color:white;
}
a {
text-decoration: none;
text-transform: uppercase;
color: #76daff;
}
@deadflowers
deadflowers / README.md
Last active February 8, 2025 11:51
RSS News - Mobile Hotfix | URL Argument Load

RSS News - Mobile Hotfix | URL Argument Load

1st test get random rss/feed url, say oc register example. URI encode it (still necessary?) in node:

node -e 'const newurlenc=encodeURIComponent("https://www.ocregister.com/feed/");console.log(newurlenc);'

This gives us: https%3A%2F%2Fwww.ocregister.com%2Ffeed%2F