Skip to content

Instantly share code, notes, and snippets.


Milan Zivic milanzivic

View GitHub Profile
tsnieman / logid.cfg
Last active May 25, 2023 09:35
Logiops (Linux driver) configuration example for Logitech MX Master 3. Includes gestures, smartshift, DPI. Tested on logid v0.2.2-35-g1c209ed. File location: `/etc/logid.cfg`
View logid.cfg
// Logiops (Linux driver) configuration for Logitech MX Master 3.
// Includes gestures, smartshift, DPI.
// Tested on logid v0.2.2-35-g1c209ed.
// File location: /etc/logid.cfg
devices: ({
name: "Wireless Mouse MX Master 3";
smartshift: {
gene1wood /
Last active May 19, 2023 11:53
Python relative imports in AWS Lambda fail with `attempted relative import with no known parent package`

Python relative imports in AWS Lambda fail with attempted relative import with no known parent package

The Problem

In AWS Lambda if I attempt an explicit relative import like this

AmreeshTyagi /
Last active January 19, 2023 15:41
Exclude MySQL Workbench from dark theme with mojave Mac dark theme
defaults write NSRequiresAquaSystemAppearance -bool yes
echo "Successfully patched!"
echo "Now restart MySQL Workbench to see the Workbench in light theme."
#Restart MySQL Workbench after executing this.
rcugut / [GUIDE] macos yarn nvm
Last active April 15, 2023 16:40
GUIDE for mac OS X yarn nvm node install
View [GUIDE] macos yarn nvm

GUIDE to install yarn, nvm (node) on macOS

last update: Dec 4, 2020


  • macOS >= 10.14 (Mojave); tested with 10.15 (Catalina)
  • homebrew properly installed
cecilemuller / launch.json
Last active May 27, 2023 22:00
Run ts-node in VSCode Debugger
View launch.json
"version": "0.2.0",
"configurations": [
"name": "Example",
"type": "node",
"request": "launch",
"runtimeExecutable": "node",
"runtimeArgs": ["--nolazy", "-r", "ts-node/register/transpile-only"],
Geoff-Ford /
Last active May 23, 2023 20:50
Eric Elliott's Composing Software Series

Eric Elliott's "Composing Software" Series

A collection of links to the excellent "Composing Software" series of medium stories by Eric Elliott.

Edit: I see that each post in the series now has index, previous and next links. However, they don't follow a linear flow through all the articles with some pointing back to previous posts effectively locking you in a loop.


FWIW: I (@Rondy) am not the author of the content presented here, which is an outline from Edmond Lau's book. I've just copy-pasted it from somewhere and saved as a personal gist, before it got popular on I don't remember where exactly the original source is from and neither could find the author's name, so I cannot give him/her the proper credits.

Effective Engineer - Notes

d2s /
Last active May 24, 2023 12:30
Installing Node.js to Linux & macOS & WSL with nvm

Installing Node.js with nvm to Linux & macOS & WSL

A quick guide on how to setup Node.js development environment.

Install nvm for managing Node.js versions

nvm allows installing several versions of Node.js to the same system. Sometimes applications require a certain versions of Node.js to work. Having the flexibility of using specific versions can help.

  1. Open new Terminal window.
PurpleBooth /
Last active May 27, 2023 08:01
A template to make good

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.


staltz /
Last active May 27, 2023 05:21
The introduction to Reactive Programming you've been missing