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!");
  • Independent hacker
View GitHub Profile
@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]
  • Jak działa RenVM

    How RenVM Actually Works. What exactly is RenVM? And, how does it… | by Loong | Ren Project | Medium #📈Kryptowaluty #DeFi #RenVM #Bitcoin #Ethereum #ERC20
    • Versatile Decentralized, Trustless, and Permissionless Custodian
    • You give BTC to RenVM, it holds that BTC, and it mints that BTC as an ERC20 (a.k.a. renBTC) on Ethereum with 1:1 ratio to ensure your renBTC is always backed by the same amount of BTC.
    • 1. Fluid Value Exchange

      • RenVM stores the BTC in a network of decentralized nodes (called Darknodes).
      • Once RenVM receives BTC, it immediately mints a 1:1 ERC20 representation, that individuals and DeFi apps can use
      • it can be done hundreds of times per minute, at any time and in any amount without centralization, merchants, signatories, or friction, allowing the seamless movement of cross-chain digital assets (i.e. interoperability).
    • 2. Composability

@jumski
jumski / start.gcode
Created September 21, 2021 17:30
Prusa MK3S fix for leaking nozzle during mesh bed leveling (Start Gcode for PrusaSlicer)
M862.3 P "[printer_model]" ; printer model check
M862.1 P[nozzle_diameter] ; nozzle diameter check
M115 U3.9.0 ; tell printer latest fw version
G90 ; use absolute coordinates
M83 ; extruder relative mode
M104 S160 ; set extruder temp BEFORE BED LEVEL
M140 S[first_layer_bed_temperature] ; set bed temp
M190 S[first_layer_bed_temperature] ; wait for bed temp
@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

-- flat list of postgres views depencency tree, sorted by depth
SELECT * FROM (
-- Get every view & materialized view, assign a level 0
WITH RECURSIVE t AS (
SELECT
c.oid,
c.relname,
0 AS LEVEL
FROM pg_class c
JOIN pg_namespace ON c.relnamespace = pg_namespace.oid
http://www.junglebreaks.co.uk/breaks/action.wav
http://www.junglebreaks.co.uk/breaks/amen_brother.wav
http://www.junglebreaks.co.uk/breaks/apache.wav
http://www.junglebreaks.co.uk/breaks/assembly_line.wav
http://www.junglebreaks.co.uk/breaks/both_eyes_open.wav
http://www.junglebreaks.co.uk/breaks/cold_sweat.wav
http://www.junglebreaks.co.uk/breaks/do_the_do.wav
http://www.junglebreaks.co.uk/breaks/dont_change_your_love.wav
http://www.junglebreaks.co.uk/breaks/flow.wav
http://www.junglebreaks.co.uk/breaks/fools_gold.wav
@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