Skip to content

Instantly share code, notes, and snippets.

@gordthompson
gordthompson / mssql_df_upsert.py
Last active October 5, 2024 23:34
Build a T-SQL MERGE statement and upsert a DataFrame
# Copyright 2024 Gordon D. Thompson, [email protected]
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
@simsnet
simsnet / Flipperlovania.fmf
Last active November 6, 2024 16:02
"Flipperlovania" - A cover of the first notes from Toby Fox's "Megalovania" for Flipper Zero, rewritten in the Flipper Music Format / RTTTL
Filetype: Flipper Music Format
Version: 0
BPM: 120
Duration: 16
Octave: 5
Notes: D, D, D6, P, A, 8P, G#, P, G, P, F, P, D, F, G, C, C, D6, P, A, 8P, G#, P, G, P, F, P, D, F, G, B4, B4, D6, P, A, 8P, G#, P, G, P, F, P, D, F, G, A#4, A#4, D6, P, A, 8P, G#, P, G, P, F, P, D, F, G

NGO Gallery Images

Save Edit

If you just want to cheat all the gallery images into your save, open up Settings.es in your NGO folder, e.g. C:\Program Files (x86)\Steam\steamapps\common\NEEDY GIRL OVERDOSE\Windose_Data. Copy the following and replace the value in "IMAGEHISTORY"'s "value" field:

["Ngocredits", "tweet_selfie_ame_cool_001", "tweet_selfie_ame_cry_001", "tweet_selfie_ame_game_001", "tweet_selfie_ame_happa_001", "tweet_selfie_ame_happy_001", "tweet_selfie_ame_happy_002", "tweet_selfie_ame_home_001", "tweet_selfie_ame_home_002", "tweet_selfie_ame_line_smile_001", "tweet_selfie_ame_odekake_001", "tweet_selfie_ame_odekake_002", "tweet_selfie_ame_sorrow_001", "tweet_selfie_ame_talk_001", "tweet_selfie_cho_akkanbe", "tweet_selfie_cho_angel_001", "tweet_selfie_cho_av", "tweet_selfie_cho_av_ch", "tweet_selfie_cho_av_eng", "tweet_selfie_cho_cosplay_001", "tweet_selfie_cho_cosplay_002", "tweet_selfie_cho_cosplay_003", "tweet_selfie_cho_grand_end_001", "tweet_selfie_cho_grand_end_002", "
@jamietre
jamietre / docker-compose.yml
Last active May 5, 2025 00:22
Script to start WSL and bind localhost to WSL IP
# Example docker-compose.yml for plex.
version: "2"
services:
plex:
image: plexinc/pms-docker:plexpass
runtime: nvidia
container_name: "plex"
restart: always
hostname: "MY-PLEX"
volumes:
@sekcompsci
sekcompsci / Comparison Espressif ESP MCUs.md
Last active May 8, 2025 21:22 — forked from fabianoriccardi/Comparison Espressif ESP MCUs.md
Comparison chips (SoCs) table for ESP8266/ESP32/ESP32-S2/ESP32-S3/ESP32-C3/ESP32-C6. Forked from @fabianoriccardi

Comparison chips (SoCs) table for ESP8266/ESP32/ESP32-S2/ESP32-S3/ESP32-C3/ESP32-C6

A minimal table to compare the Espressif's MCU families.

ESP8266 ESP32 ESP32-S2 ESP32-S3 ESP32-C3 ESP32-C6
Announcement Date 2014, August 2016, September 2019, September 2020, December
@brettscott
brettscott / vscode_plantuml_docker.md
Last active October 21, 2024 20:28
Integrating PlantUML with VSCode using Windows 10, WSL2, Dockerised PlantUML Server and "jebbs.plantuml" VSCode Extension

There is no need to install Java or Graphviz on your Windows 10 Desktop. These are contained neatly within a Docker Container.

Prerequisites

  • Windows 10
  • WSL2 (Ubuntu) - optional
  • VSCode
  • Docker Desktop

Setup

@CarloCattano
CarloCattano / pi_MIDI_Brain.md
Last active November 30, 2024 22:16
Raspberry pi UART MIDI Serial

rp3.+ raspberry OS lite (or better PatchboxOS as a starting point)

https://blokas.io/patchbox-os/

testing notes
Disable bluetooth or send bt to another serial port
    sudo nano /boot/config.txt

    enable_uart=1    
   
 dtoverlay=midi-uart0
@jonlabelle
jonlabelle / ldap_search_filter_cheatsheet.md
Last active May 9, 2025 09:16
LDAP Search Filter Cheatsheet
@askpatrickw
askpatrickw / CircuitPython_Secrets.MD
Last active March 15, 2024 21:27
CircuitPython Secrets

CircuitPython Secrets

This are some notes around the use of secrets.py in CircuitPython.

Current Events

Today CP examples suggest a secrets.py files for storing passwords, SSIDs, keys, etc as a dictionary.

File: secrets.py

@ciscorn
ciscorn / circuitpython_compression.py
Last active June 27, 2023 19:21
[PoC] A more effective compression algorithm for CircuitPython's i18n strings. (merged)
from collections import Counter
import re
import huffman
class TextSplitter:
def __init__(self, words):
words.sort(key=lambda x: len(x), reverse=True)
self.words = set(words)