Skip to content

Instantly share code, notes, and snippets.

Avatar
🤔

Milan Zivic milanzivic

🤔
View GitHub Profile
@tsnieman
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
gene1wood / aws-lambda-relative-import-no-known-parent-package.md
Last active May 19, 2023 11:53
Python relative imports in AWS Lambda fail with `attempted relative import with no known parent package`
View aws-lambda-relative-import-no-known-parent-package.md

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

.
├── lambda_file.py
└── example.py
@AmreeshTyagi
AmreeshTyagi / workbench-ui-fix.sh
Last active January 19, 2023 15:41
Exclude MySQL Workbench from dark theme with mojave Mac dark theme
View workbench-ui-fix.sh
#!/bin/bash
defaults write com.oracle.workbench.MySQLWorkbench 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
rcugut / [GUIDE] macos yarn nvm install.md
Last active April 15, 2023 16:40
GUIDE for mac OS X yarn nvm node install
View [GUIDE] macos yarn nvm install.md

GUIDE to install yarn, nvm (node) on macOS

last update: Dec 4, 2020

Assumptions:

  • macOS >= 10.14 (Mojave); tested with 10.15 (Catalina)
  • homebrew properly installed
@cecilemuller
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
Geoff-Ford / composing-software.md
Last active May 23, 2023 20:50
Eric Elliott's Composing Software Series
View composing-software.md

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.

View Effective_Engineer.md

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 newsnews.ycombinator.com. 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
d2s / installing-node-with-nvm.md
Last active May 24, 2023 12:30
Installing Node.js to Linux & macOS & WSL with nvm
View installing-node-with-nvm.md

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
PurpleBooth / README-Template.md
Last active May 27, 2023 08:01
A template to make good README.md
View README-Template.md

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.

Prerequisites

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