This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# coding: utf | |
# 2024-02-02 | |
# Tag images with LLaVA and colorsort | |
# # SETUP Windows | |
# install Python https://www.python.org/downloads/ | |
# ensure you have WSL and a distro like Ubuntu installed from the Microsoft Store | |
# run `wsl` in a terminal | |
# run `curl https://ollama.ai/install.sh | sh` in wsl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "generic_window" | |
version = "0.1.0" | |
edition = "2021" | |
[[bin]] | |
name = "generic_window" | |
path = "src/generic_window.rs" | |
[dependencies] | |
fltk = "1.4.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Compact Messenger Sidebar | |
// @version 2 | |
// @match https://www.messenger.com/* | |
// @grant GM_xmlhttpRequest | |
// @grant GM_addStyle | |
// ==/UserScript== | |
const targetCSS = document.getElementsByTagName("head")[0].querySelectorAll("link[href*='.css']")[2]; | |
GM_xmlhttpRequest({ |