Skip to content

Instantly share code, notes, and snippets.

View alsibir's full-sized avatar

Al Sibir alsibir

  • Moscow
  • 11:21 (UTC +03:00)
View GitHub Profile
@alsibir
alsibir / keychron_linux.md
Created October 8, 2022 05:31 — forked from andrebrait/keychron_linux.md
Keychron keyboards on Linux + Bluetooth fixes

Here is the best setup (I think so :D) for K-series Keychron keyboards on Linux.

Most of these commands have been tested on Ubuntu 20.04 and should also work on most Debian-based distributions. If a command happens not to work for you, take a look in the comment section.

Make Fn + F-keys work

Keychron Keyboards on Linux use the hid_apple driver (even in Windows/Android mode), both in Bluetooth and Wired modes. By default, this driver uses the F-keys as multimedia shortcuts and you have to press Fn + the key to get the usual F1 through F12 keys.

@alsibir
alsibir / services.markdown
Created October 15, 2018 10:51 — forked from rwilcox/services.markdown
How to create a new gist from OS X Service

How to create a Public Gist Service:

Step 0: Open Automator, New Service.

Step 1: Drag out Run Shell Script action. Pass Input to STDIN

Step 2: This code:

open `gist`
@alsibir
alsibir / iterm2-solarized.md
Created March 11, 2017 17:16 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)

Default

Default

Powerlevel9k

Powerlevel9k

@alsibir
alsibir / weblancer.py
Last active October 15, 2018 15:51 — forked from mr-linch/weblancer.py
Исходный код для урока (https://youtu.be/KPXPr-KS-qk)
#!/usr/bin/env python3
import csv
import urllib.request
from bs4 import BeautifulSoup
BASE_URL = 'http://www.weblancer.net/projects/'