This is just some stencils I created for myself to draw FMC (http://www.fmc-modeling.org/) diagrams with draw.io.
Here is how they look:
This is just some stencils I created for myself to draw FMC (http://www.fmc-modeling.org/) diagrams with draw.io.
Here is how they look:
"use client" | |
import { forwardRef, useState } from "react" | |
import { EyeIcon, EyeOffIcon } from "lucide-react" | |
import { Button } from "@/components/ui/button" | |
import { Input, InputProps } from "@/components/ui/input" | |
import { cn } from "@/lib/utils" | |
const PasswordInput = forwardRef<HTMLInputElement, InputProps>( | |
({ className, ...props }, ref) => { |
<?xml version='1.0' ?> | |
<!-- | |
Why is this one giant script instead of a bunch of smaller scripts? | |
Mostly this comes down to BuildGraph and personal preference. As the language BuildGraph isn't | |
really much of a programming language there is no easy way to use an IDE and jump between | |
includes, find usages of variables, and just generally quickly search things. It was found to | |
be easier to have a single large file that a developer can quickly jump up and down in when | |
trying to understand what the BuildGraph script is doing. |
<domain type='kvm'> | |
<name>win11-real</name> | |
<uuid>45768371-b871-4937-b7c2-60ed835011de</uuid> | |
<metadata> | |
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0"> | |
<libosinfo:os id="http://microsoft.com/win/10"/> | |
</libosinfo:libosinfo> | |
</metadata> | |
<memory unit='KiB'>33554432</memory> | |
<currentMemory unit='KiB'>33554432</currentMemory> |
Sometimes you need to publish a CSS file for 3rd-party consumption (i.e. default styles for an embeddable JS widget). This set up lets you continue to use Tailwind, but scope all your styles to a specific selector.
Simply replace .internachi
with your own widget namespace, set up Tailwind as you please,
and run generate.sh
to build a custom version of your Tailwind styles that won't interfere
with other CSS rules (including the Tailwind reset).
sudo apt-get install xserver-xorg-legacy
Edit /etc/X11/Xwrapper.config
allowed_users=anybody
needs_root_rights=yes
const Discord = require("discord.js"); | |
const client = new Discord.Client(); | |
const config = require("./config.json"); // config from file | |
/* example config.json: | |
{ | |
"token": "abcdefghijklmnopqrstuvwxyz", // user or bot token, | |
"listenTo": ["167423382697148416", "353615025589714946", "210321071511961600"], // list of channel OR guild id's |
// ==UserScript== | |
// @name noVNC Paste for Proxmox | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2a | |
// @description Pastes text into a noVNC window (for use with Proxmox specifically) | |
// @author Chester Enright | |
// @match https://* | |
// @include /^.*novnc.*/ | |
// @require http://code.jquery.com/jquery-3.3.1.min.js | |
// @grant none |
<?php (defined('BASEPATH')) OR exit('No direct script access allowed'); | |
/* load the MX_Router class */ | |
require APPPATH."third_party/MX/Router.php"; | |
class MY_Router extends MX_Router { | |
function _set_routing() | |
{ | |
// Are query strings enabled in the config file? Normally CI doesn't utilize query strings |