Skip to content

Instantly share code, notes, and snippets.

View ThatOneCalculator's full-sized avatar
🌊
Vibing

Kainoa Kanter ThatOneCalculator

🌊
Vibing
View GitHub Profile
@ThatOneCalculator
ThatOneCalculator / dsdt.dsl
Created August 17, 2024 03:02
UM5606 (ZenBook S 16) dsdt
/*
* Intel ACPI Component Architecture
* AML/ASL+ Disassembler version 20230628 (64-bit version)
* Copyright (c) 2000 - 2023 Intel Corporation
*
* Disassembling to symbolic ASL+ operators
*
* Disassembly of dsdt.dat
*
* Original Table Header:
@ThatOneCalculator
ThatOneCalculator / import_ggufs.sh
Created January 7, 2024 22:48
A dead simple batch gguf importing script. Just place/run it in the same directory as your ggufs.
#!/usr/bin/env bash
for gguf_file in ./*.gguf; do
base_name=$(basename "$gguf_file" .gguf)
echo "Making modelfile for $base_name"
model_file="./Modelfile_$base_name"
echo "FROM ./$gguf_file" > "$model_file"
ollama create "$base_name" -f "$model_file"
rm "$gguf_file"
rm "$model_file"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ThatOneCalculator
ThatOneCalculator / ua.py
Last active February 28, 2022 17:22
Bot for Ukraine War Reports
import disnake
from disnake.ext import commands
bot = commands.Bot(
command_prefix=commands.when_mentioned_or("!!"),
description="Bot for Ukraine War Reports",
intents=disnake.Intents.default(),
chunk_guilds_at_startup=True)
@bot.event