Skip to content

Instantly share code, notes, and snippets.

View loxodes's full-sized avatar

Jon Klein loxodes

View GitHub Profile
@ourownstory
ourownstory / encrypted_dual_boot_xps_17.md
Last active January 7, 2024 13:31
Encrypted dual boot setup for Pop!_OS and Windows 10 using LUKS and Bitlocker on Dell XPS 17 9700

Encrypted dual boot setup with Pop!_OS and Windows 10

How to guide, using LUKS and Bitlocker on Dell XPS 17 9700

This guide is for those who want to use their XPS 17 in dual boot with their (preinstalled) Windows 10 and a new Pop!_OS installation, without giving up Bitlocker Encryption in Windows nor LUKS encryption in Linux.

The only guides that I could find were for Ubuntu, which it should be identical to, but I found the ommission of a few steps to resolve issues that I encountered in my first install attempt. Hoping to save you some trouble, I am sharing the steps that worked for me, linking the original guides that I found useful.

1. Preparation

  • 1.1 Of course: Backup all your data! You always do this when people tell you to, right? Maybe this time better be safe than sorry.
  • 1.2 Safely note your Bitlocker recovery key somewhere off your XPS. Where to find it
@korken89
korken89 / add_pad_to_die_length.py
Last active July 18, 2019 14:44
This is a script which adds the die to pad lengths to a package in a PCB design
#!/usr/bin/env python3
import sys, math
import pcbnew
"""
This is a script which adds the die to pad lengths to a package in a PCB design.
Based on the script here: https://forum.kicad.info/t/die-length-doesnt-seem-to-work/786
By Emil Fresk (@korken89), https://www.github.com/korken89
@korken89
korken89 / length_match.py
Created July 9, 2019 21:07
KiCAD bus length matching script which also adds in the "Pad to die length" into the calculations
#!/usr/bin/env python3
import sys
import os
import re
import time
import pcbnew
"""
This is a modified version of https://github.com/mithro/kicad-length-matching-checks.git
which also adds in the "Pad to die length" into the calculations (plus different formating).
@probonopd
probonopd / linux_fusion360.md
Last active May 21, 2024 07:40
Autodesk Fusion 360 on Linux

Autodesk Fusion 360 on Linux

In the Web Browser

Ubuntu, Fedora, openSUSE, CentOS, SUSE Linux Enterprise, Debian,... users can finally use Autodesk Fusion 360 in the Linux Browser now.

https://myhub.autodesk360.com

On Chromium 55.0.2843.0 I get NET::ERR_CERTIFICATE_TRANSPARENCY_REQUIRED.

@JoanTheSpark
JoanTheSpark / KiCAD_CopperSpiral_v2.py
Created November 27, 2015 08:54
v2 with spin direction and increasing amount of segments per turn for smoother result in outer circles
import sys, os
import shutil
import math
import itertools
from copy import deepcopy
# 0 1 2 3 4 5 6
LIST_elmt = [" ("," (start ",") (end ",") "," (layer ",") ","))"]
#LIST_elmt = [" (gr_line (start 131.571908 182.314571) (end 112.874456 120.68499) (angle 90) (layer Dwgs.User) (width 0.1))"]
#LIST_elmt = [" (segment (start 118.7 106.7) (end 119.4 106.7) (width 0.25) (layer B.Cu) (net 0))"]