Skip to content

Instantly share code, notes, and snippets.

View 10c8's full-sized avatar
🍨

William Fernandes 10c8

🍨
  • Brazil
View GitHub Profile
@10c8
10c8 / default.sh
Last active September 18, 2024 19:01
Vast.ai ComfyUI Provisioning Script
#!/bin/bash
DEFAULT_WORKFLOW="https://gist.github.com/10c8/1d11361a82d63da4116437e67d4a8f7e/raw"
APT_PACKAGES=(
# "package-1"
)
PIP_PACKAGES=(
# "package-1"
@10c8
10c8 / scriptable-topbar.js
Last active January 26, 2024 04:14
scriptable-topbar
const GIST_ID = "10c8/142bb997d17ae096f9c177ea4d446e4f";
const ACTIONS = [["Test!", test]];
async function main() {
const API_URL = "https://xkcd.com/info.0.json";
const data = await new Request(API_URL).loadJSON();
const img = await new Request(data.img).loadImage();
const widget = new ListWidget();
@10c8
10c8 / dbj.md
Created March 14, 2023 02:06
DBJ v0.01

Lutadores

Atributos

  • PV: Pontos de vida;
  • Ki: Usado para defesa e ataques especiais;
  • Fúria: Força de vontade, libera super ataques e transformações;

Modificadores

@10c8
10c8 / xkcd.js
Created August 24, 2022 02:14
Today's xkcd Comic
const API_URL = 'https://xkcd.com/info.0.json'
const SITE_URL = 'https://xkcd.com'
const IMG_SIZE = 158
const data = await (new Request(API_URL)).loadJSON()
const img = await (new Request(data.img)).loadImage()
const widget = new ListWidget()
const wImg = widget.addImage(img)
@10c8
10c8 / cmd.ts
Last active May 1, 2022 07:05
cash.deno.dev v0.1.6
import { opine } from 'https://deno.land/x/[email protected]/mod.ts';
import { bold, italic, underline, gray, green, red } from 'https://deno.land/x/[email protected]/mod.ts';
import { plot } from 'https://deno.land/x/[email protected]/mod.ts';
const VERSION = '0.1.6';
const DATA_URL = 'https://gist.github.com/10c8/8a4efb2d8512ae775e3ed911894fb642/raw/d18a9e26ce2eff5aca39090500009928265f7b66/data.json';
const APILAYER_URL = 'https://api.apilayer.com/exchangerates_data';
// API
const getNameForSymbol = async (symbol: string): Promise<string> => {
@10c8
10c8 / readme.txt
Created April 30, 2022 05:15
Something Penguin Something (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@10c8
10c8 / readme.txt
Created June 14, 2020 19:52
Something Penguin Something (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@10c8
10c8 / readme.txt
Created June 14, 2020 19:45
PuzzleTech 0.74 (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@10c8
10c8 / readme.txt
Created June 14, 2020 19:38
PuzzleTech 0.74 (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@10c8
10c8 / readme.txt
Created June 14, 2020 19:38
PuzzleTech 0.74 (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html