Right-click your bookmarks bar and choose Add Page (Chrome) or New Bookmarklet (Firefox).
In Name, put this:
Pin It
In URL, put this:
function mdview { | |
markdown "$1" | lynx -stdin | |
} |
echo '<h1>hello, world</h1>' |firefox "data:text/html;base64,$(base64 -w 0 <&0)" |
#!/bin/bash | |
# | |
# Description: This script will setup a customized user console in Linux | |
# based on my gists (https://gist.github.com/hvmonteiro) | |
# - .bashrc | |
# - .jshintrc | |
# - .LS_COLORS | |
# - .lessfilter | |
# - .config/terminator/config | |
# - .ssh/config |
[global_config] | |
enabled_plugins = TerminalShot, LaunchpadCodeURLHandler, APTURLHandler, Logger, MavenPluginURLHandler, LaunchpadBugURLHandler | |
title_font = Sans 10 | |
title_inactive_fg_color = "#ffffff" | |
title_transmit_bg_color = "#494949" | |
title_use_system_font = False | |
[layouts] | |
[[default]] | |
[[[child1]]] | |
parent = window0 |
'Outlook VB Macro to Unread, CleanUp Folder & subFolders | |
' and Archive Selected items | |
Private Sub CleanUpAllFolders() | |
Dim objExpl As Explorer | |
Set objExpl = ActiveExplorer | |
objExpl.CommandBars.ExecuteMso ("ThreadCompressFolderRecursive") | |
End Sub |
#!/bin/sh | |
# Originaly based on script https://community.wd.com/t/guide-auto-removal-of-downloads-from-transmission-2-82/93156 | |
# adapted for OpenELEC Kodi | |
# port, username, password | |
SERVER="9091 --auth transmission:transmission" | |
# use transmission-remote to get torrent list from transmission-remote list | |
# use sed to delete first / last line of output, and remove leading spaces |
#!/bin/bash | |
USERID="12345" | |
TRACKERS_FILE="/tmp/showrss.info" | |
TRANSMISSION_BIN="/storage/.kodi/addons/service.downloadmanager.transmission/bin/transmission-remote" | |
TRACKERS_LIBFILE="/var/media/storage/backups/get-showrss-info.data" | |
curl -s 'http://showrss.info/user/${USERID}.rss?magnets=true&namespaces=true&name=null&quality=null&re=null' | grep -o '<enclosure url="[^"]*' | grep -o '[^"]*$' > "$TRACKERS_FILE" | |
#sed 's/&/\\&/g;s/;/\\;/g' | |
touch "$TRACKERS_LIBFILE" |
for MODEL in /usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/*; do MODEL_ASH="$(jq -r '.layers[] | select(.mediaType == "application/vnd.ollama.image.model") | .digest | gsub(":"; "-")' $MODEL/*)"; MODEL_NAME="${MODEL##*/}"; echo "$MODEL_NAME:"; echo " path: $( ls -1 /usr/share/ollama/.ollama/models/blobs/$MODEL_ASH)"; done |