Skip to content

Instantly share code, notes, and snippets.

View TheBITLINK's full-sized avatar
🤔
working, maybe

TheBITLINK aka BIT TheBITLINK

🤔
working, maybe
View GitHub Profile
@TheBITLINK
TheBITLINK / README.md
Created February 18, 2019 16:38
FocaBot in strange places

I spent a whole morning trying to setup FocaBot on different (uncommon) platforms, just because.

I decided to document this in case someone needs it in the future, be aware that neither of those platforms are officially supported, so if you find any issues, you're mostly on your own.

Raspberry PI

Installing FocaBot on a Raspberry PI should be pretty straightforward, following the official install instructions for Linux should work for the most part.

@TheBITLINK
TheBITLINK / ImageExample.vue
Created August 14, 2023 14:45
Material Design 3 (Material You) Theme Generator for Vuetify
<script setup lang="ts">
import { useTheme } from 'vuetify'
import { vuetifyThemeFromImage } from '@/plugins/vuetifyM3ThemeGenerator'
const theme = useTheme()
async function onImageLoad (e: Event) {
const target = e.target as HTMLImageElement
const darkTheme = await vuetifyThemeFromImage(target, true)
const lightTheme = await vuetifyThemeFromImage(target, false)
theme.themes.value.dark.colors = darkTheme.colors