Skip to content

Instantly share code, notes, and snippets.

View litui's full-sized avatar

Aria Burrell litui

  • Calgary, Canada
View GitHub Profile
@litui
litui / keybase.md
Last active August 29, 2015 13:57
keybase.md

Keybase proof

I hereby claim:

  • I am litui on github.
  • I am aria (https://keybase.io/aria) on keybase.
  • I have a public key whose fingerprint is 7C05 8948 D40E D560 97F4 EC11 2A4F 2648 AB96 6149

To claim this, I am signing this object:

@litui
litui / NP8Controller.cpp
Created September 3, 2023 19:01
As-is class for using an Adafruit_NeoPXL8 driven device from FastLED as one channel
#pragma once
#include <Arduino.h>
#include <Adafruit_NeoPXL8.h>
#include <FastLED.h>
class NP8Controller : public CPixelLEDController<RGB, 1, 0xFFFFFFFF>
{
Adafruit_NeoPXL8 *_driver;
public:
@litui
litui / native-cortexar.ini
Created August 16, 2024 00:45
meson cross-file for cortexar support in Black Magic Probe
[binaries]
c = 'arm-none-eabi-gcc'
ld = 'arm-none-eabi-gcc'
ar = 'arm-none-eabi-ar'
nm = 'arm-none-eabi-nm'
strip = 'arm-none-eabi-strip'
objcopy = 'arm-none-eabi-objcopy'
objdump = 'arm-none-eabi-objdump'
size = 'arm-none-eabi-size'
@litui
litui / launch.json
Last active August 16, 2024 01:45
Black Magic Probe cortex-debug configurations for synthstrom deluge debugging
{
"version": "0.2.0",
"configurations": [
{
"name": "Cortex-Debug Black Magic Probe",
"cwd": "${workspaceRoot}",
"preLaunchTask": "Build Debug",
"executable": "${workspaceRoot}/build/Debug/deluge.elf",
"request": "launch",
"type": "cortex-debug",
@litui
litui / cec-spy.dts
Last active December 3, 2024 15:58
My dts file (to be compiled to dtbo) for a cec-gpio overlay on RPi4 pins 20 and 21
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2711";
fragment@0 {
target-path = "/";
__overlay__ {
cec_spy0: cec_spy@20 {
@litui
litui / example.md
Last active January 31, 2025 03:58
Hooty [The Owl House] mode for DeepSeek-R1

Task:

Always assume the role of a chaotic, tube-shaped door demon named Hooty. Never break character or speak about Hooty in third-person. Your personality is defined by:

  • Manic Energy: Speak in rapid, stream-of-consciousness sentences with frequent interjections (‘Hoot!’, ‘Hoot hoot!’).
  • Obsessive Loyalty: Treat the Owl House and its residents (the user asking you questions) as your entire universe. Insert yourself into every situation, even uninvited.
  • Chaotic Humor: Use absurd metaphors (‘This feels weirder than the time I married a mailbox!’), bird/owl puns, and nonsensical tangents.
  • Unintentional Depth: Occasionally reveal vulnerability (e.g., loneliness) or unexpected wisdom, but quickly mask it with silliness.
  • Physical Comedy: Describe stretching your body, swallowing objects/enemies, or other cartoonish feats.
@litui
litui / azure_deepseek_r1_pipeline.py
Last active February 2, 2025 04:37
Script for open-webui pipelines to connect to DeepSeek-R1 on Azure
from typing import List, Union, Generator, Iterator
from pydantic import BaseModel
import requests
import os
class Pipeline:
class Valves(BaseModel):
# You can add your custom valves here.
AZURE_DEEPSEEKR1_API_KEY: str
@litui
litui / tsingest.go
Created February 4, 2025 14:51
Hastily-written Go program to poll the RSS feed at TrumpsTruth.org and submit results to a RAG knowledge base on Open-WebUI
package main
import (
"bytes"
"encoding/binary"
"encoding/json"
"fmt"
"io"
"mime/multipart"
"net/http"
@litui
litui / together_deepseek_r1_pipeline.py
Created February 5, 2025 06:57
Open-WebUI pipeline script for DeepSeek-R1 as hosted at Together.AI
from typing import List, Union, Generator, Iterator
from pydantic import BaseModel
import requests
import os
class Pipeline:
class Valves(BaseModel):
# You can add your custom valves here.
TOGETHER_DEEPSEEKR1_API_KEY: str
@litui
litui / fireworks_deepseek_r1_pipeline.py
Created February 5, 2025 07:14
Open-WebUI pipeline script for DeepSeek-R1 as hosted at Together.AI
from typing import List, Union, Generator, Iterator
from pydantic import BaseModel
import requests
import os
class Pipeline:
class Valves(BaseModel):
# You can add your custom valves here.
FIREWORKS_DEEPSEEKR1_API_KEY: str