Skip to content

Instantly share code, notes, and snippets.

@unai-ndz
unai-ndz / keychord.lua
Last active March 28, 2024 05:15
keychords for awesome 4.3-git
local awful = require('awful')
local escape = require('gears').string.xml_escape
local ss = require('module.screens')
local keychords_widget = require('widget.keychord_mode')
local table_insert = table.insert
local modkey = 'Mod4'
local actions = {
focus = function(tag)
@unai-ndz
unai-ndz / civitai-minified-wrapper.py
Last active August 21, 2023 15:22
Wrapper around civitai-minified.py to automate the hashing and downloading of info for your models
import os
import io
import json
import requests
import hashlib
import argparse
from pathlib import Path
import subprocess
import re