Skip to content

Instantly share code, notes, and snippets.

View mattmc3's full-sized avatar
๐Ÿ
Python!

mattmc3 mattmc3

๐Ÿ
Python!
View GitHub Profile
@lambdamusic
lambdamusic / gist-backup.py
Last active July 27, 2023 14:28 — forked from fedir/gist-backup.py
Clone or update all user's gists #gists
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
Forked from https://gist.github.com/fedir/5466075
Changes:
- allows to import Github gists into a local DASH database (https://kapeli.com/dash)
- gists are added to any existing snippet already in database
- filetypes are added, but support is very basic
@pythoninthegrass
pythoninthegrass / init.lua
Last active February 11, 2025 08:09
wezterm + hammerspoon (quake mode)
-- SOURCE: https://github.com/wez/wezterm/issues/1751#issuecomment-2014752114
-- brew install --cask hammerspoon
-- ~/.hammerspoon/init.lua
-- Import necessary Hammerspoon modules
local hotkey = require "hs.hotkey"
local application = require "hs.application"
local mouse = require "hs.mouse"
local screen = require "hs.screen"
local geometry = require "hs.geometry"
local spaces = require "hs.spaces"
@AndrewRadev
AndrewRadev / netrw_icons.vim
Last active June 13, 2025 23:10
Render icons in netrw
" Save as ~/.vim/ftplugin/netrw_icons.vim
if exists('b:netrw_icons_loaded')
finish
endif
let b:netrw_icons_loaded = 1
autocmd TextChanged <buffer> call s:NetrwAddIcons()
if empty(prop_type_get('netrw_file_icon', {'bufnr': bufnr('%')}))