Short (72 chars or less) summary
More detailed explanatory text. Wrap it to 72 characters. The blank
line separating the summary from the body is critical (unless you omit
the body entirely).
Write your commit message in the imperative: "Fix bug" and not "Fixed
bug" or "Fixes bug." This convention matches up with commit messages
Discover gists
import torch | |
print("pytorch version: " + torch.__version__) | |
print("CUDA available: " + str(torch.cuda.is_available())) | |
print("device count: " + str(torch.cuda.device_count())) | |
print("current device: " + str(torch.cuda.current_device())) | |
print("device name: " + torch.cuda.get_device_name(torch.cuda.current_device())) | |
print("backend:") | |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu") | |
print(device) |
import type { V2_HtmlMetaDescriptor, V2_MetaFunction } from "@remix-run/node"; | |
export const mergeMeta = ( | |
overrideFn: V2_MetaFunction, | |
appendFn?: V2_MetaFunction, | |
): V2_MetaFunction => { | |
return arg => { | |
// get meta from parent routes | |
let mergedMeta = arg.matches.reduce((acc, match) => { | |
return acc.concat(match.meta || []); |
Convert from the 'original implementation' to Huggingface diffusers. Both .safetensors and .ckpt checkpoints are supported.
The script is adapted from the diffusers conversion script: https://github.com/huggingface/diffusers/blob/main/scripts/convert_original_stable_diffusion_to_diffusers.py
Usage:
python enhanced_convert_original_stable_diffusion_to_diffusers.py --checkpoint_path "<input_model_filepath>" --dump_path "<output_directory_path>" --extract_ema
For inference use, extracting with --extract_ema is usually recommended. This will be ignored if the source model does not contain both EMA and non-EMA weights.
connect25lovylmq.onion <-- blackbook a privacy based social network | |
sejnfjrq6szgca7v.onion <---- Tor mirror of Debian.org | |
pugljpwjhbiagkrn.onion <-- Debian manpages | |
7b42twezybs23hrr.onion <--- linux.sh terminal based file shareing utility | |
74ypjqjwf6oejmax.onion <-- Beneath VT, Exploring Virginia Tech's steam tunnels and beyond |
// ==UserScript== | |
// @name Acesso Rápido Agendas | |
// @namespace https://www.linkedin.com/in/edufgimenez/ | |
// @version 2.0 | |
// @description Cria botões de acesso rápido para as últimas e penúltimas agendas de Desenvolvimento de Sistemas, Comunicação, Tecnologia da Informação e PTCC | |
// @author Eduardo Gimenez | |
// @match https://eadtec.cps.sp.gov.br/home.php | |
// @grant none | |
// ==/UserScript== |
Lecture 1: Introduction to Research — [📝Lecture Notebooks] [
Lecture 2: Introduction to Python — [📝Lecture Notebooks] [
Lecture 3: Introduction to NumPy — [📝Lecture Notebooks] [
Lecture 4: Introduction to pandas — [📝Lecture Notebooks] [
Lecture 5: Plotting Data — [📝Lecture Notebooks] [[
-- This script will: | |
-- (1) Flatten each group into a layer; | |
-- (2) Invoke the 'export sprite sheet' command; | |
-- (3) Undo the changes. | |
-- | |
-- v1.0: Initial version. | |
-- | |
-- Ref: https://github.com/aseprite/aseprite/blob/main/src/app/commands/cmd_export_sprite_sheet.cpp | |
local spr = app.activeSprite |
Oh boi, here I give you the solution for that. This document is based on these links:
- https://steamcommunity.com/app/221410/discussions/2/616189106498372437/?l=portuguese&ctp=8
- https://wiki.archlinux.org/title/dnsmasq#NetworkManager
- ValveSoftware/steam-for-linux#3401
My solution seems to be deprecated, there are other solution from the comment on this Gist, that actually works. So, please use that instead, it's way much simpler, and it works.
module.exports = { | |
config: { | |
// default font size in pixels for all tabs | |
fontSize: 20, | |
// font family with optional fallbacks | |
fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace', | |
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk) | |
cursorColor: 'rgba(248,28,229,0.8)', |