For starting a Snap-In from CMD, stored in an arbitrary directoy:
C:\> "%windir%\System32\mmc.exe" "<path>\<filename>.msc"
#!/usr/bin/env lua | |
local type = type | |
local print = print | |
local pcall = pcall | |
local select = select | |
local string = string | |
local io = io | |
local string_format = string.format |
/* ==UserStyle== | |
@name IHK Azubiheft Fix | |
@namespace github.com/SkyyySi | |
@version 1.0.0 | |
@description Ein UserCSS / UserStyle, um die Webseite der Niederrheinischen IHK zumindest ein bisschen weniger fürchterlich zu machen. | |
@author SkyyySi | |
@preprocessor stylus | |
==/UserStyle== */ | |
$header_padding = 1em |
local getmetatable = getmetatable | |
local type = type | |
local assert = assert | |
local rawget = rawget | |
---@class private | |
local _M = {} | |
--- A helper function to check whether the type of a given parameter is correct, | |
--- generating an error message if it is not. |
/* | |
Generated with Gradience | |
Issues caused by theming should be reported to Gradience repository, and not to upstream | |
https://github.com/GradienceTeam/Gradience | |
*/ | |
@define-color accent_color #bd93f9; | |
@define-color accent_bg_color #bd93f9; |
#!/usr/bin/env luajit | |
local script_version = "1.1.1" | |
local lgi = require("lgi") | |
local GLib = lgi.GLib | |
local UPowerGlib = lgi.UPowerGlib | |
local function get_battery() | |
for _, device in pairs(UPowerGlib.Client():get_devices()) do |
-- If LuaRocks is installed, make sure that packages installed through it are | |
-- found (e.g. lgi). If LuaRocks is not installed, do nothing. | |
pcall require, "luarocks.loader" | |
awesome = awesome ---@type awesome | |
screen = screen ---@type screen | |
client = client ---@type client | |
awful = require "awful" ---@type awful | |
gears = require "gears" ---@type gears |
local awful = require("awful") | |
local gears = require("gears") | |
local wibox = require("wibox") | |
local beautiful = require("beautiful") | |
local lgi = require("lgi") | |
local dpi = beautiful.xresources.apply_dpi | |
local modkey = modkey or "Mod4" | |
local spacing = dpi(8) | |
local font_size = " "..tostring(math.floor(dpi(8)+0.5)) |
import modules.scripts as scripts | |
import gradio as gr | |
import os | |
from modules import images | |
from modules.processing import process_images, Processed | |
from modules.processing import Processed | |
from modules.shared import opts, cmd_opts, state | |