Skip to content

Instantly share code, notes, and snippets.

View ksetdekov's full-sized avatar
🎯
Focusing

Kirill Setdekov ksetdekov

🎯
Focusing
View GitHub Profile
@lukejones
lukejones / fix-logitech-bluetooth-lag.md
Last active December 6, 2025 12:59
Fix Logitech MX Master / Keys 3S Bluetooth Lag on MacOS

For those who get issues with input lag on their bluetooth devices, do the following to remove the lag.

  1. Open up Terminal.app (Applications > Utilities > Terminal)
  2. Run the command sudo pkill bluetoothd (just copy and paste that into Terminal).
  3. Hit Return/Enter.
  4. Enter your macOS user password (the one you sign in to your Mac with).
  5. Hit Return/Enter.
  6. Wait for a few moments while the Bluetooth receiver resets and all the devices restart.

@broadwaylamb
broadwaylamb / strava_auth.py
Created March 19, 2021 12:24
Automatic High-Res Strava Heatmap TMS link generator
#!/usr/bin/env python3
"""Automatic High-Res Strava Heatmap TMS link generator
This script signs in your Strava account using https://github.com/nnngrach/strava_auto_auth,
extracts the cookies and forms a TMS link that you can use in apps like OsmAnd or JOSM.
On macOS, leverages the keychain, so you don't have to type login and password every time.
Requires Docker.
@sepastian
sepastian / nikon_d7000_hdmi.md
Last active November 11, 2025 13:07
Nikon D7000 full screen HDMI output

Purpose

Stream HDMI video from a Nikon D7000, for usage in online meetings, video recording, etc.

Based on this video on Youtube.

Steps

1) Download firmware

@az09
az09 / awesome-gis-tg.md
Last active December 7, 2024 09:29
List of good groups and channels from the telegram network on geospatial topics. Mainly in Russian
# Sample code for building a multi-layer perceptron
# that predicts the brightness of a light bulb based
# on the month, weekday, hour and minute.
import numpy as np
from keras.models import Sequential
from keras.layers.core import Dense, Activation
from keras.utils import np_utils
from sklearn import preprocessing
@santisbon
santisbon / Update-branch.md
Last active November 26, 2025 06:53
Deploying from Git branches adds flexibility. Bring your feature branch up to date with master and deploy it to make sure everything works. If everything looks good the branch can be merged. Otherwise, you can deploy your master branch to return production to its stable state.

Updating a feature branch

First we'll update your local master branch. Go to your local project and check out the branch you want to merge into (your local master branch)

$ git checkout master

Fetch the remote, bringing the branches and their commits from the remote repository. You can use the -p, --prune option to delete any remote-tracking references that no longer exist in the remote. Commits to master will be stored in a local branch, remotes/origin/master.