Skip to content

Instantly share code, notes, and snippets.

View michaelblyons's full-sized avatar

Michael michaelblyons

View GitHub Profile
@thehaniak
thehaniak / Ubuntu_Fedora_Wavlink_WL-UG6902H.md
Last active December 25, 2025 19:38
Multiple screens on Ubuntu and Fedora using Wavlink WL-UG6902H
@miguelmota
miguelmota / bootable_usb.sh
Last active September 11, 2025 00:34
Linux copy img.xz to usb drive (bootable drive) using xzcat and dd
lsblk
sudo umount /dev/sd<?><?>
xzcat ~/Downloads/linux.img.xz | sudo dd of=/dev/sd<?> conv=fdatasync status=progress
@jfcherng
jfcherng / Symbol List - Heading.tmPreferences
Last active September 12, 2021 22:11
ST 4083 Markdown headings beautifying
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>scope</key>
<string>text.html.markdown markup.heading - meta.whitespace.newline.markdown</string>
<key>settings</key>
<dict>
<key>showInSymbolList</key>
<integer>1</integer>
<key>symbolTransformation</key>
@wbond
wbond / package_control.py
Last active August 14, 2020 18:42
How to monkey patch a Python module with code from another location
import importlib
import os
__pkg_path = os.path.join(
os.path.dirname(os.path.dirname(os.path.dirname(__file__))),
'Packages',
'Package Control',
'package_control'
)
__file_path = os.path.join(__pkg_path, '__init__.py')

Completion Kinds

  • python: sublime.KIND_ID_AMBIGUOUS, .sublime-completions: "ambiguous"
  • python: sublime.KIND_ID_KEYWORD, .sublime-completions: "keyword"
  • python: sublime.KIND_ID_TYPE, .sublime-completions: "type"
  • python: sublime.KIND_ID_FUNCTION, .sublime-completions: "function"
  • python: sublime.KIND_ID_NAMESPACE, .sublime-completions: "namespace"
  • python: sublime.KIND_ID_NAVIGATION, .sublime-completions: "navigation"
  • python: sublime.KIND_ID_MARKUP, .sublime-completions: "markup"
  • python: sublime.KIND_ID_VARIABLE, .sublime-completions: "variable"
import sublime, sublime_plugin
import re
import threading
# This is an example plugin that simulates a completion interaction with an
# LSP server, while correctly apply any edits that are received from the
# server. This is trickier than you'd expect, due to the async nature the
# server communication, the async auto complete system in Sublime Text, and
# the use of row+col offsets within the LSP protocol.
@jfcherng
jfcherng / st4-changelog.md
Last active November 5, 2025 09:53
Sublime Text 4 changelog just because it's not on the official website yet.
@rjhansen
rjhansen / keyservers.md
Last active December 23, 2025 23:24
SKS Keyserver Network Under Attack

SKS Keyserver Network Under Attack

This work is released under a Creative Commons Attribution-NoDerivatives 4.0 International License.

Terminological Note

"OpenPGP" refers to the OpenPGP protocol, in much the same way that HTML refers to the protocol that specifies how to write a web page. "GnuPG", "SequoiaPGP", "OpenPGP.js", and others are implementations of the OpenPGP protocol in the same way that Mozilla Firefox, Google Chromium, and Microsoft Edge refer to software packages that process HTML data.

Who am I?

@OdatNurd
OdatNurd / Adaptive.sublime-theme
Last active May 7, 2024 16:01
Patched Adaptive.sublime-theme for modifying the color of files in the sidebar based on their git status
[
// VCS badges
{
"class": "vcs_status_badge",
"parents": [{"class": "file_system_entry", "attributes": ["untracked"]}],
"layer0.texture": "Theme - Default/common/status_untracked.png",
"layer0.tint": "color(var(--yellowish) blend(rgb(255, 255, 255) 60%))",
"layer0.opacity": 1.0,
"content_margin": 6
},