Skip to content

Instantly share code, notes, and snippets.

View dpmj's full-sized avatar
🤠
howdy!

Juan dpmj

🤠
howdy!
  • Universitat Politècnica de València
  • Entre Andalucía y València
  • LinkedIn in/dpmj
View GitHub Profile
@dpmj
dpmj / verify_fitgirl_files.sh
Created April 4, 2026 08:23 — forked from vanbwodonk/verify_fitgirl_files.sh
Verify Fitgirl Files in Linux
sed 's|^\([a-f0-9]\{32\}\) \*..\\\(.*\)$|\1 \2|' MD5/fitgirl-bins.md5 | md5sum -c -
@dpmj
dpmj / doubleblind.sty
Created April 4, 2026 08:21 — forked from maxanier/doubleblind.sty
Latex package - Convenient toggle-able censoring of information for double-blind review e.g. for IEEEtran class
% doubleblind - @maxanier https://gist.github.com/maxanier/c63f9b5dede1ecda6cf9b0e346ec413d
% Convenient toggle-able censoring of information for double-blind review e.g. for IEEEtran class
% Supports linebreaks in text
%
% Include as
% \usepackage[]{doubleblind}
% and add `anonym` option to enable censoring:
% \usepackage[anonym]{doubleblind}
%
% Provides the following commands:
@dpmj
dpmj / README.md
Created April 4, 2026 08:15 — forked from maxanier/README.md
Circuitikz components: Fancy transmission line, zero ohm line and matching structure. All path-style components.
example

These files may be distributed and/or modified

  • under the LaTeX Project Public License and/or
  • under the GNU Public License.
@dpmj
dpmj / EvaluateDeembed.ipynb
Created April 4, 2026 08:14 — forked from maxanier/EvaluateDeembed.ipynb
De-embeding/Extracting Passives - Scikit-RF - Library/Playground
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dpmj
dpmj / README.md
Created February 11, 2025 10:35 — forked from maxanier/README.md
Script for creating a panel of different PCB designs in KiCAD using KiKit.

Panelize multiple different designs in KiCAD

Requires KiKit and is based on code from KiKit

KiKit only allows creating panels of the same design. Creating a panel from multiple boards has too many degrees of freedom to implement in a nice GUI. Hence, for creating such a panel, a scripting attempt is necessary.

This script creates a simple panel of two different designs of identical dimensions placed above each other. With including configuration it adds a rail on top and bottom and includes tabs with mouse bites in between boards and between board and rail.

You will have to adjust the script to your own needs

@dpmj
dpmj / read-stm32-firmware.md
Created November 2, 2024 19:05 — forked from vanbwodonk/read-stm32-firmware.md
Read stm32 firmware binary with openOCD

read-stm32-firmware

OpenOCD scripts for read STM32 firmware binary

Requirements

Linux

OpenOCD (Open On-Chip Debugger) is open-source software that interfaces with a hardware debugger's JTAG port. OpenOCD provides debugging and in-system programming for embedded target devices. OpenOCD provides the ability to flash NAND and NOR FLASH memory devices that are attached to the processor on the target system. Flash programming is supported for external CFI compatible flashes (Intel and AMD/Spansion command set) and several internal flashes (LPC2000, AT91SAM7, STR7x, STR9x, LM3 and STM32x).

OpenOCD was originally developed by Dominic Rath at the University of Applied Sciences Augsburg. The OpenOCD source code is now available through the GNU General Public License (GPL).

@dpmj
dpmj / factorio_headless_guide.md
Created October 20, 2024 09:40 — forked from othyn/factorio_headless_guide.md
How to setup a Factorio Headless Server

[LINUX] Factorio Headless Server Guide

So, with credit to the Factorio wiki and cbednarski's helpful gist, I managed to eventually setup a Factorio headless server. Although, I thought the process could be nailed down/simplified to be a bit more 'tutorialised' and also to document how I got it all working for my future records.

The specific distro/version I'm using for this guide being Ubuntu Server 16.04.1 LTS. Although, that shouldn't matter, as long as your distro supports systemd (just for this guide, not a Factorio headless requirement, although most distros use it as standard now). The version of Factorio I shall be using is 0.14.20, although should work for any version of Factorio 0.14.12 and higher.

Just a note to newcomers: If there are any issues with the installation steps, people in the comments are doing a good job