Skip to content

Instantly share code, notes, and snippets.

View Unixware's full-sized avatar

Chris Unixware

View GitHub Profile
@Amm1rr
Amm1rr / fix_kde_google_integration.md
Last active October 15, 2026 05:41
Fix Google Account and Drive Integration on KDE

Fix Google Account and Drive Integration on KDE

Easily resolve Google Account and Drive integration issues on KDE with this simple script.


Quick Fix

  1. Download the script:
    The script fix_kde_google_integration.sh is located alongside this README. Download it to your system.

How to make an LLM clone of yourself

Wanna create and play with an AI clone of yourself or someone else (my lawyer says please don't)[^1] like this one? You're in luck because it's super easy!

Step one: get you some datas

This step really varies depending on your data sources, but the end goal is to turn some of real-you's conversations (from your platforms of choice) into a ShareGPT format dataset with you as the gpt. Here's what your (json) file should end up looking like:

{"conversations": [{"from": "human", "value": "Hi"}, {"from": "gpt", "value": "Hello"}]} 
{"conversations": [{"from": "human", "value": "What's up "}, {"from": "gpt", "value": "not much, you?"}, {"from": "human", "value": "Just thinking, what if you're a robot and I don't realize it?"}, {"from": "gpt", "value": "hahaha don't be crazy"}]}
...

NOTE: Make sure every line starts with a message from the other person ("human")

@eylenburg
eylenburg / msoffice_in_linux.md
Last active October 25, 2026 17:55
Installing Microsoft Office in Linux

How to install Microsoft Office in any Linux distribution

There are multiple options how to install MS Office on Linux.

VM-based - Integrate Windows apps running in a Windows virtual machine as native-looking in Linux

You can either run a normal Windows virtual machine (e.g. in virt-manager or virtualbox or gnome-boxes) to run any Windows apps, including Microsoft Office, but there is further integration into the Linux host system.

Some other apps - such as LinOffice, Winapps, Winboat or Cassowary - try to integrate Windows apps, including Office, into the Linux desktop. They create launchers for MS Office apps that you can start from Linux and then, using freerdp in the background, Office apps run in normal app window integrated into the Linux desktop, they have access to the files on your Linux /home, share the clipboard

Void Linux — Complete System Optimization Guide

Warning: This guide contains system-level modifications. Some steps are irreversible or can render your system unbootable. Read every section fully before executing any command. Know what you are doing, or do not proceed.


Table of Contents

# Section
@trisweb
trisweb / lastfm_nowplaying.css
Last active September 2, 2024 16:16
Last.fm Now Playing Widget. Just add to a <script> and <style> tag on your site, or load from files, and call getNowPlaying() on page load.
.now-playing {
position: absolute;
right: 20px;
top: calc(50vh - (min(20vw, calc(100vh - 30px)) / 2, 400px));
z-index: 1001;
}
a.now-playing {
opacity: 1;
border: 0;
@Zeinok
Zeinok / wine-breeze-dark-theme.md
Last active October 4, 2026 11:30
Breeze Dark theme for Wine

Made possible with this reddit post.

Install

wine regedit wine-breeze-dark.reg

Uninstall (Reset Wine color scheme)

wine regedit wine-reset-theme.reg

#!/bin/python
# cat /dev/ttyACM3 | python /home/user/fix_gpsrollover.py | gpsd -n -N /dev/stdin
# where /dev/ttyACM3 is your gps serial output.
from datetime import datetime, timedelta
import sys
import os
from signal import signal, SIGPIPE, SIG_DFL
@SidharthArya
SidharthArya / alttab
Last active May 21, 2026 09:01
Sway Windows Manager Alt Tab behavior
#!/usr/bin/env python3
import sys
import json
import subprocess
direction=bool(sys.argv[1] == 't' or sys.argv[1] == 'T')
swaymsg = subprocess.run(['swaymsg', '-t', 'get_tree'], stdout=subprocess.PIPE)
data = json.loads(swaymsg.stdout)
current = data["nodes"][1]["current_workspace"]
@openfirmware
openfirmware / instructions.md
Created November 7, 2018 06:07
QEMU with Mac OS 9 guest *and working audio*

QEMU Mac OS 9 Instructions

Here is a short guide on how to build QEMU to run Mac OS 9 with working audio. These instructions work for MacOS High Sierra as the host OS, although with some tweaking they may run under Linux/Windows. You should be comfortable compiling software from source before attempting.

Clone QEMU fork

Adapted from instructions from Cat_7

You may need to install XCode and/or the XCode command line tools. If you do not have them, then this process may prompt you to install them (MacOS will do that).

@jerodg
jerodg / windows_and_office_kms_setup.adoc
Last active October 23, 2026 10:43
Activate Windows and Office Using KMS Server

Microsoft Windows and Office KMS Setup