Skip to content

Instantly share code, notes, and snippets.

View HateFindingNames's full-sized avatar

HateFindingNames

View GitHub Profile
@HateFindingNames
HateFindingNames / compose.yaml
Last active April 26, 2025 09:35
iic osic tools custom compose file
services:
opdktools:
image: hpretl/iic-osic-tools:latest
container_name: opdktools
environment:
- DISPLAY=:1
- XDG_RUNTIME_DIR=/tmp/runtime-default
- XAUTHORITY=/headless/.xauthority
- TZ=Europe/Berlin
volumes:
@HateFindingNames
HateFindingNames / .designinit
Last active April 26, 2025 09:34
Design init file for iic opkd tools using sg13g2 node.
export PDK=ihp-sg13g2
export PDKPATH=$PDK_ROOT/$PDK
export STD_CELL_LIBRARY=sg13g2_stdcell
export SPICE_USERINIT_DIR=$PDKPATH/libs.tech/ngspice
export KLAYOUT_PATH=$PDKPATH/libs.tech/klayout:$PDKPATH/libs.tech/klayout/tech
# Adding my projects to Qucs-s
mkdir -p /headless/QucsWorkspace
find /headless/QucsWorkspace/ -type l -delete
ln -s $PDKPATH/libs.tech/qucs/user_lib /headless/QucsWorkspace/
@HateFindingNames
HateFindingNames / xschemrc
Last active April 16, 2025 16:00
My xschemrc file for use with IHP OpenPDK
#### xschemrc system configuration file
#### values may be overridden by user's ~/.xschem/xschemrc configuration file
#### or by project-local ./xschemrc
###########################################################################
#### XSCHEM INSTALLATION DIRECTORY: XSCHEM_SHAREDIR
###########################################################################
#### Normally there is no reason to set this variable if using standard
#### installation. Location of files is set at compile time but may be overridden
@HateFindingNames
HateFindingNames / keyd_config.md
Created March 7, 2025 16:44
``keyd`` - Linux keyboard remapping tool

Installing and configuring keyd - Keyboard remapping tool

Installation

From the GitHub repo:

git clone -b v2.5.0 https://github.com/rvaiya/keyd
cd keyd
make && sudo make install

Using WSL2

ID the Drive

In elevated PowerShell:

> wmic diskdrive list brief
@HateFindingNames
HateFindingNames / __auslagenerstattung.tex
Created October 1, 2024 08:50
Simple TeX template to generate compliant applications to get my g'damn money back!
\documentclass{article}
\usepackage{graphicx}
\usepackage{pdfpages}% https://ftp.rrze.uni-erlangen.de/ctan/macros/latex/contrib/pdfpages/pdfpages.pdf
\usepackage[a4paper, margin=5mm]{geometry}
%
% ============ Input Files ==================
\newcommand{\bill}{rechnung.png}
\newcommand{\pdf}{ausgefuellter_und_signierter_antrag.pdf}
% ===========================================
%

Ingredients (about 18pcs)

  • 500g Butter
  • 200g White Sugar
  • 300g Brown Sugar
  • 6 Bags Vanilla Sugar (those small bags)
  • 4 Eggs
  • 720g Flour Type 405
  • ~2 Teaspoons Baking Powder
  • 400g Dark Chocolate (Chunked)
@HateFindingNames
HateFindingNames / git_cheat_sheet.md
Created April 7, 2024 11:02
Git/Github cheat sheet

Workflow new Repository

cd to project dir.

Note

Optional: create a file .gitignore and add all file endings, relative paths and/or file names not to be included to the repository.

Then

  • git init Initializes the repo with branch main.
  • Optional: git init -b Initializes the repository with a custom branch name.
@HateFindingNames
HateFindingNames / movestuff.md
Created February 2, 2024 10:17
Find files matching PATTERN in cwd and move to DESTINATION
find . ! -type d -print | grep -i -E "PATTERN" | rsync -nhaPvv --files-from=- --exclude="*/" --no-implied-dirs . DESTINATION

find

  • ! -type d: exclude directories from results
  • -print: output to stdin

grep

  • -i: match case-insensitive
@HateFindingNames
HateFindingNames / settings.json
Last active March 30, 2025 13:21
VSCode Settings
{
"window.zoomLevel": 1,
"[python]": {
"editor.formatOnType": true
},
"workbench.startupEditor": "none",
"markdown-preview-enhanced.previewTheme": "github-dark.css",
"terminal.integrated.defaultProfile.windows": "Command Prompt",
"jupyter.askForKernelRestart": false,
"editor.fontFamily": "Fira Mono Regular",