Skip to content

Instantly share code, notes, and snippets.

View essingen123's full-sized avatar
😀

Karl Lindberg & Kilian Güntner essingen123

😀
View GitHub Profile
#!/bin/bash
# bash_local_test_network.sh
#
# Purpose:
# Testing utility for local network file transfers in sandbox environments.
# STRICTLY FOR TESTING AND LEARNING - NOT FOR ACTUAL USE.
#
# Features:
# - Network validation
# - Automated setup
@essingen123
essingen123 / yt_playlist_2_transcription.py
Created January 2, 2025 02:58
YouTube playlist to transcription for accessibility and ai assisted processing etc
import subprocess
import os
import re
# Fast draft by Kilian Lindberg
# Purpose: Accessibility, ease transcript processing for AI in case of limited visual video interaction limitation
# Disclaimer: Code as is, no claims but an inspirational aspiration
# Install yt-dlp using pip
subprocess.run(['pip', 'install', 'yt-dlp'])
@essingen123
essingen123 / index.md
Created November 11, 2023 18:18 — forked from ericandrewlewis/index.md
Set up an Ubuntu Web Server on an Intel Nuc, steps and code snippets
@essingen123
essingen123 / cpumonitor.py
Created August 1, 2023 01:41
Script for displaying some cpu and memory usage on a mac, may work on other OS:es too
#!/usr/bin/env python3
import os
import time
from collections import deque
# Check if required libraries are installed. If not, install them.
libraries = {
"psutil": "psutil",
"curses": "windows-curses" if os.name == "nt" else "curses"
}
@essingen123
essingen123 / envkeywordfinder.py
Created July 31, 2023 17:08
Script for finding keywords in shell configurations for mac, useful when looking for a keyword alias for example
import os
def search_keyword_in_file(file_path, keyword):
findings = []
with open(file_path, 'r', errors='ignore') as file:
lines = file.readlines()
for idx, line in enumerate(lines, start=1):
if keyword.lower() in line.lower():
findings.append((idx, line.strip()))
return findings
@essingen123
essingen123 / gitlab-fox-animated-logo.markdown
Created October 16, 2019 10:30
GitLab Fox: Animated Logo
@essingen123
essingen123 / canvas-sparkle-light-trail.markdown
Created October 2, 2019 16:46
Canvas Sparkle Light Trail
@essingen123
essingen123 / index.html
Created October 2, 2019 15:56
nested simulations
<canvas></canvas>
<!-- Click to generate a new image -->