'| /? () \/\/
javascript:(function(){ | |
/* Optional vault name */ | |
const vault = "V-07"; | |
/* Optional folder name such as "Clippings/" */ | |
const folder = "Scraps/"; | |
/* Optional tags */ | |
const tags = "#clippings"; |
#!/bin/bash | |
source .bashrc | |
loadavg=$(cat /proc/loadavg | awk '{print $2}' | sed 's/[^0-9]*//g') | |
cpucount=$(sed -n '/ cores/ s/[^0-9]//gp' /proc/cpuinfo | sed '1,1d') | |
cpu=$(($loadavg/$cpucount)) | |
memtotal=$(sed -n '/^MemTotal:/ s/[^0-9]//gp' /proc/meminfo) | |
memavail=$(sed -n '/^MemAvailable:/ s/[^0-9]//gp' /proc/meminfo) | |
mem=$(((($memtotal-$memavail))/($memtotal/100))) |
const PACKAGE = "nric" | |
let widget = await createWidget(); | |
// Check where the script is running | |
if (config.runsInWidget) { | |
// Runs inside a widget so add it to the homescreen widget | |
Script.setWidget(widget); | |
} else { | |
// Show the medium widget inside the app |
.css-selector { | |
background: linear-gradient(52deg, #f51cc7, #f8960d, #97f80d, #0daef8, #0df8b6); | |
background-size: 1000% 1000%; | |
-webkit-animation: AnimationName 14s ease infinite; | |
-moz-animation: AnimationName 14s ease infinite; | |
-o-animation: AnimationName 14s ease infinite; | |
animation: AnimationName 14s ease infinite; | |
} | |
@-webkit-keyframes AnimationName { | |
0%{background-position:0% 90%} |
Moved to https://api.fmhy.net
javascript: Promise.all([import('https://unpkg.com/[email protected]?module'), import('https://unpkg.com/@tehshrike/[email protected]'), ]).then(async ([{ | |
default: Turndown | |
}, { | |
default: Readability | |
}]) => { | |
/* Optional vault name */ | |
const vault = ""; | |
/* Optional folder name such as "Clippings/" */ |