Skip to content

Instantly share code, notes, and snippets.

Ux1QUFAAAAAAAAD1WOqw9VgAAAAAAAAAAQAAGhkpAIj54PWd/AH/NPd6AAAAAAAACgEAAB4UHgBEAAAARPs1AAD6aAAAAAAAAAsBAAABHh4Jl/e+9q0AAAAAAAAAACIiAAAKAQAAAR4e9mn3vvat/7wAAAAAAADd3f//CgEAAAAAAAAA9gP+qwAAAAAAAAAAAAAAAAoBAAACMkb1S/8SAFj/mvat+ycAAO43//8PAQAAAjJGCrX/EgBY/972rfsnAAARxwAADwEAAFBQUAAAAAAAAPVY6rD1WAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAFB4KAAAAAAAAPVYAAD6rAAAAAAAAAEBAAAeHjH8ARmTAzIAAAAAAADgtQAAAAAVAQAAGBkvA/8EjgzX/M78JP0F+ZgAAAAAFgEAABQVLwAA/6EJU/1W/SD+dQT6AAAAABcBAAASES8AAAAACqH9m/1k/fMQWgAAAAAYAQAADgovAAD/vApW/iP+q/29EFoAAAAAGQEAAAEULf7w+70GywEQAd0AAAAAAAAAABoBAABQeCgAAAAAAAD1WAAA+qwAAAAAAAABAQAAHngoAAAAAAAA/Vb6rPqsAAAAAAAAAgEAAB54KAAAAAAAAP1W+qz6rAAAAAAAAAIBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAQAAHngoAAAAAAAA+qz6rPqsAAAAAAAAAwEAAB54KAAAAAAAAPqs+qz6rAAAAAAAAAMBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAQAAKHgoAAAAAAAA+qwAAPqsAAAAAAAABAEAACh4KAAAAAAAAPqsAAD6rAAAAAAAAAQBAAAoeCgAAAAAAAD6rAAA+qwAAAAAAAAFAQAAKHgoAAAAAAAA+qwAAPqsAAAAAAAABQEAAAEBAAXkmQQBXgFe3ZkEiVBORw0KGgoAAAANSUhEUgAAArwAAAK8CAYA
import time
import board
import neopixel
from digitalio import DigitalInOut, Direction, Pull
switch = DigitalInOut(board.D3)
switch.direction = Direction.INPUT
switch.pull = Pull.UP
---- Minecraft Crash Report ----
// I bet Cylons wouldn't have this problem.
Time: 07.02.25 23:03
Description: Unexpected error
java.lang.BootstrapMethodError: java.lang.LinkageError: loader constraint violation: loader (instance of sun/misc/Launcher$AppClassLoader) previously initiated loading for a different type with name "org/apache/logging/log4j/util/MessageSupplier"
at net.minecraftforge.eventbus.EventBus.handleException(EventBus.java:316) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:307) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] {}
import time
import board
import neopixel
from digitalio import DigitalInOut, Direction, Pull
switch = DigitalInOut(board.D3)
switch.direction = Direction.INPUT
switch.pull = Pull.UP
pixel_pin = board.D2
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created February 7, 2025 22:03
libreoffice-fresh v24.8.4 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-534374257-315500514-3039820050-1000</user>
<keys>
<key installerType="Msi" displayName="LibreOffice 24.8.4.2" displayVersion="24.8.4.2">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E3618E43-2988-4D1C-AA31-4473B6568DD8}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files\LibreOffice\]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{E3618E43-2988-4D1C-AA31-4473B6568DD8}]]></UninstallString>
@Raadebowale
Raadebowale / README.md
Last active February 7, 2025 22:53
This is a flutter code that encrypts and decrypts data securely

Crypt

Welcome to the Crypt GitHub Gist! This guide will help you clone, build, and run the app on your device.

Here is a sample output:

decrypted text: This is a test data

encrypted text: 12tUZweAvdk8A0VpvFEUKE39V2WtyunInLwhNnvefI8=

decrypted text: This is a wonderful project

using TXTextControl.DocumentServer;
using TXTextControl;
static Invoice CreateInvoice()
{
return new Invoice
{
InvoiceNumber = "12345",
InvoiceDate = DateTime.Parse("2020-01-01"),
DueDate = DateTime.Parse("2020-01-31"),
import time
import board
import neopixel
from digitalio import DigitalInOut, Direction, Pull
import touchio
touch_pad = board.A0 # the ~1 pin
touch = touchio.TouchIn(touch_pad)
@atty303
atty303 / macos-like-emacs.ahk
Created February 7, 2025 22:02
macOS風のEmacsキーバインドにする
; configuration
GroupAdd("NoEmacs", "ahk_exe WindowsTerminal.exe")
GroupAdd("NoEmacs", "ahk_class SunAwtFrame") ; JetBrains IDE
;;; macOS-like Emacsキーバインド
;;; https://jblevins.org/log/kbd#:~:text=Although%20they%20are%20hidden%20in%20plain%20sight%2C%20it,the%20current%20line%20after%20the%20cursor%20use%20%E2%8C%83K.
emacsEnabled := true
emacsCallback(hook, vk, sc) {
global emacsEnabled
@anix-lynch
anix-lynch / BERT.py
Created February 7, 2025 22:01
DL1: BERT
from transformers import BertTokenizer, BertForMaskedLM
import torch
# Load pre-trained BERT model and tokenizer
tokenizer = BertTokenizer.from_pretrained('bert-base-uncased')
model = BertForMaskedLM.from_pretrained('bert-base-uncased')
# Input text with a masked word
text = "The [MASK] sat on the mat."