Skip to content

Instantly share code, notes, and snippets.

View dajo's full-sized avatar

Jason Lachowsky dajo

View GitHub Profile
@seinecle
seinecle / list-of-ai-apps-for-visual-creation.md
Last active November 21, 2025 15:49
updated regularly!

129 AI apps for visual creation in 11 categories

A curated list of generative AI applications for creating, editing, and enhancing visual assets: images, videos, 3D models and more.

by Clement Levallois


💎 : nearly unmatched

@kirbah
kirbah / dual-boot-windows-and-ubuntu-with-luks-tpm2-encryption.md
Last active November 8, 2025 17:40
Dual booting Windows 11 and Ubuntu 22.04 LTS with LUKS and TPM2 encryption

Dual booting Windows 11 and Ubuntu 22.04 LTS with LUKS and TPM2 encryption

Note

Ubuntu 24.04 Compatibility

This guide is not compatible with Ubuntu 24.04 and a clear migration path from the Ubuntu 22.04 setup described here is not available. A guide for Ubuntu 24.04 has not been prepared.

The major differences in Ubuntu 24.04 are:

  • LUKS Setup: The setup for LUKS during installation is tricky and requires the following steps:
    1. When you get to the "Disk setup" step, select "Erase disk and install Ubuntu".
@DustinWehr
DustinWehr / beeftext_to_espanso.js
Created March 4, 2021 19:20
Beeftext snippets to Espanso snippets
/*
1. Replace my snippets json with yours.
2. Copy paste this whole file into your browser console.
*/
beeftext_json = {
"combos": [
{
"creationDateTime": "2019-01-25T11:23:30.000",
"enabled": true,

WSL 2 Cisco AnyConnect Networking Workaround

Overview

WSL 2 uses a Hyper-V Virtual Network adapter. Network connectivity works without any issue when a VPN is not in use. However when a Cisco AnyConnect VPN session is established Firewall Rules and Routes are added which breaks connectivity within the WSL 2 VM. This issue is tracked WSL/issues/4277

Below outline steps to automatically configure the Interface metric on VPN connect and update DNS settings (/etc/resolv.conf) on connect/disconnect.

Manual Configuration

Set Interface Metrics

@deargle
deargle / client.conf
Last active November 2, 2025 00:02
OpenVPN server.conf and client.conf
##############################################
# Sample client-side OpenVPN 2.0 config file #
# for connecting to multi-client server. #
# #
# This configuration can be used by multiple #
# clients, however each client should have #
# its own cert and key files. #
# #
# On Windows, you might want to rename this #
# file so it has a .ovpn extension #
@paveleremin
paveleremin / Cisco.vbs
Created February 24, 2017 06:45
Cisco AnyConnect: save password
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run """%PROGRAMFILES(x86)%\Cisco\Cisco AnyConnect Secure Mobility Client\vpnui.exe"""
WScript.Sleep 1500
WshShell.AppActivate "Cisco AnyConnect Secure Mobility Client"
WshShell.SendKeys "{TAB}"
WshShell.SendKeys "{TAB}"
@tstellanova
tstellanova / stlink-raspi.md
Last active June 7, 2025 15:50
Install st-link on raspberry pi
@jacobsalmela
jacobsalmela / requestMedicalRecords.py
Created June 3, 2016 14:10
Template script to quickly fill out PDFs
#!/usr/bin/env python
# Jacob Salmela
# 2016-06-02
# Writes text to a PDF at coordinates. Use for quickly filling out forms that you use regularly.
# This takes some manual setup, but saves a ton of time once done
# http://stackoverflow.com/a/17538003
# Make sure to install the two utilities below first
# sudo easy_install pyPdf
# sudo easy_install reportlab
@Hexalon
Hexalon / Imaging-Win10.ps1
Last active August 17, 2017 18:05
Provides interactive/automated imaging operations using DISM and WinPE
#requires -version 4.0
#requires -modules Storage,DISM
#Requires -RunAsAdministrator
<#
.NOTES
===========================================================================
Created with: SAPIEN Technologies, Inc., PowerShell Studio 2016 v5.2.117
Created on: 3/16/2016 10:05
Created by: Colin Squier <[email protected]>
Filename: Imaging-Win10.ps1
@dieseltravis
dieseltravis / PS-BGInfo.ps1
Last active March 21, 2025 19:16
update wallpaper background image with powershell (like Sysinternals BGInfo)
# PS-BGInfo
# Powershell script that updates the background image with a random image from a folder and writes out system info text to it.
# run as a lower priority task
[System.Threading.Thread]::CurrentThread.Priority = 'BelowNormal'
# Configuration:
# Font Family name
$font="Input"