Skip to content

Instantly share code, notes, and snippets.

View matrixik's full-sized avatar

Dobrosław Żybort matrixik

View GitHub Profile
@deimi
deimi / Propoint Linux Settings.md
Last active January 15, 2023 09:49
My personal Swiftpoint ProPoint settings

Buttons

Temporary change

xinput list
xinput set-button-map *id* 1 3 2 4 5 6 7 9 8 10

Permanent change

Add a custom X11 configuration

sudo su -
var timer=100;document.querySelectorAll("div > input[type='checkbox']:checked").forEach((interest) => {setTimeout(function(){interest.click()},timer);timer+=2000;});
@CumpsD
CumpsD / dontfeedthebeast.md
Created February 11, 2020 15:55 — forked from anonymous/dontfeedthebeast.md
Don’t Feed the Beast – the Great Recruitment Agency Infestation

Don’t Feed the Beast – the Great Recruitment Agency Infestation

“Don’t move to that London” warned my northern grandfather once. “It’s full of spivs”.

The Oxford Dictionary (somewhat chauvinistically) defines a spiv as:

A man, typically a flashy dresser, who makes a living by disreputable dealings

“But I work in IT” I told him. “engineers aren’t like that”.

@cmod
cmod / hugofastsearch.md
Last active July 26, 2026 18:43 — forked from eddiewebb/readme.md
Fast, instant client side search for Hugo static site generator
@theodorosploumis
theodorosploumis / Nework_throttling_profiles.md
Last active May 26, 2026 21:33
Web development - Custom network throttling profiles
Profile download (kb/s) upload (kb/s) latency (ms)
Native 0 0 0
GPRS 50 20 500
56K Dial-up 50 30 120
Mobile EDGE 240 200 840
2G Regular 250 50 300
2G Good 450 150 150
3G Slow 780 330 200
@matrixik
matrixik / start_bash.sh
Last active August 9, 2023 14:03
Short starter for bash scripts
#!/usr/bin/env bash
# Uncomment for debugging
# set -o xtrace
set -eo pipefail # Exit the script if any statement returns error.
log() { echo -e "$(date --iso-8601=seconds)" "$1"; }
error() { log "ERROR: $1"; }
warn() { log "WARNING: $1"; }
@brunoamaral
brunoamaral / copyright.html
Created May 31, 2020 09:24
Automatic Unsplash Copyright Shortcode for Hugo
@medakk
medakk / where-is-my-domain-blacklisted.sh
Created June 8, 2020 14:17
Find out which list on NextDNS is responsible for blacklisting your domain
#!/bin/bash
# where-is-my-domain-blacklisted.sh
# Copyright 2020 medakk
# Released under MIT License
if [ -z $1 ] ; then
echo "Usage: $0 <domain to search for>"
echo "Make sure you have jq and wget installed"
exit 1

Instructions for a mac on how to play with pyenv and poetry

Why both? Pyenv to manage multiple python versions. You can make virtualenvs with pyenv of course, but using poetry will simplify that process

# Install pyenv.
brew install pyenv

# Add pyenv initializer to shell startup script.
echo -e '\nif command -v pyenv 1>/dev/null 2>&1; then
@olets
olets / zsh-plugin-manager-plugin-installation-procedures.md
Last active July 22, 2026 16:40
zsh plugin manager cross-reference

Instructions for installing zsh plugins, for a variety of plugin managers