- 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/",
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 |
{
"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);} |
google-drive-ocamlfuse is a FUSE filesystem for Google Drive, written in OCaml. It lets you mount your Google Drive on Linux.
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
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
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
p { | |
color:white; | |
} | |
a { | |
text-decoration: none; | |
text-transform: uppercase; | |
color: #76daff; | |
} |
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