Skip to content

Instantly share code, notes, and snippets.

View jumski's full-sized avatar
🐴
For the lack of a nail, throw new HorseshoeNailNotFoundException("no nails!");

Wojtek Majewski jumski

🐴
For the lack of a nail, throw new HorseshoeNailNotFoundException("no nails!");
View GitHub Profile
@jumski
jumski / README.md
Created February 1, 2026 19:27 — forked from sgasser/README.md
Claude Code security hook - blocks dangerous commands, credential files, and bypass attempts

Claude Code Security Setup

Two-layer protection for sensitive files and destructive commands.

Setup

  1. Copy settings.json content to ~/.claude/settings.json
  2. Save security-validator.py to ~/.claude/hooks/security-validator.py
  3. Make executable: chmod +x ~/.claude/hooks/security-validator.py
@jumski
jumski / printer-prusa-mk3s-2021-bondtech.cfg
Created May 18, 2022 19:22 — forked from dz0ny/printer-prusa-mk3s-2021-bondtech.cfg
Klipper MK3S/+ Config including optional Bondtech Extruder, Bear Extruder, etc.
# This file contains pin mappings and reasonable defaults for Prusa i3 MK3S
# printers. It will work with MK3 (non-S) by selecting the alternative filament
# sensor. References to common community mods are included as well.
#
[include mainsail.cfg]
[skew_correction]
[force_move]
@jumski
jumski / gleam.ino
Last active December 1, 2020 17:27 — forked from mahenzon/gleam.ino
Rainbow gleam Arduino / esp8266
// Metro library for timing: https://github.com/surik00/Arduino-Metro
#include <Metro.h>
#define RED_PIN 16
#define GREEN_PIN 14
#define BLUE_PIN 12
#define ARR_LEN 6
#define RGB_MAX 255
@jumski
jumski / lenovo_legion_y530_linux_compatibility_issues_fix.md
Created September 8, 2020 08:53 — forked from AnnoyingTechnology/lenovo_legion_y530_linux_compatibility_issues_fix.md
Lenovo Legion Y530 Linux issues and solutions for wifi and touchpad mostly (Debian & Ubuntu)

Intel i7-8750H nVidia GTX 1050 Ti

Summary of my findings (Please comment if you can get further than me) :

edit: 06/2019 guys in the comments have found workarounds and new solutions !

Most importantly : Lenovo refuses to provide any kind of support for their product on Linux, even though the computer is sold without an OS

Ubuntu 18.04

@jumski
jumski / 00-intro.md
Created May 30, 2020 15:15 — forked from mdo/00-intro.md
Instructions for how to affix an Ikea Gerton table top to the Ikea Bekant sit-stand desk frame.

Ikea Bekant standing desk with Gerton table top

@jumski
jumski / setup.md
Created January 21, 2019 16:15 — forked from jdesive/setup.md
Mount NFS share from synology NAS to Ubuntu

Mount Synology NFS share to Ubuntu 16.04

I have all hardware virtualized in ESXi 6.5...
Synology DSM 5.2-5644
Ubuntu 16.04

Start

On your fresh install on Ubuntu 16.04:

  1. Click the Connections icon on the top bar
  2. Goto Edit Connections
@jumski
jumski / IFTTTDate.md
Created October 4, 2016 16:07 — forked from oscarmorrison/IFTTTDate.md
Make IFTTT Date Format play nice with Google Spreadsheets

##Date and Time

=TIMEVALUE(SUBSTITUTE("{{OccurredAt}}"," at ", " ")) + DATEVALUE(SUBSTITUTE("{{OccurredAt}}"," at ", " "))

##Date

=DATEVALUE(SUBSTITUTE("{{OccurredAt}}"," at ", " "))

##Time

@jumski
jumski / README.md
Created January 29, 2016 11:46 — forked from phillbaker/README.md
A micro Gem for rspec controller spec default parameters.