Skip to content

Instantly share code, notes, and snippets.

View NateEag's full-sized avatar

Nate Eagleson NateEag

View GitHub Profile
@NateEag
NateEag / progress.py
Created May 2, 2012 16:15
A way to DRY wxPython progress dialogs for background threads.
#! /usr/bin/env python
"""Tools for running threads behind a wx.ProgressDialog."""
# Standard library imports.
import sys
import threading
import time
# Third party imports.
@NateEag
NateEag / gist:5179360
Created March 17, 2013 02:57
web-mode's fill-paragraph behavior test case - before fill-paragraph
{#
This is a test comment. Imagine I was writing some lengthy explanation
of an odd subtlety in this template's behavior, and at some point, I
reached a point where I wanted to refill the paragraph, so I pressed
M-q. web-mode will mangle the following code badly.
#}
{% for diff in commit.diffs %}
<div class="source-view">
<div class="source-header">
<div class="meta"><a name="{{ loop.index }}">{{ diff.file }}</div>
@NateEag
NateEag / gist:5179366
Created March 17, 2013 02:59
web-mode's fill-paragraph behavior test case - after fill-paragraph
{# This is a test comment. Imagine I was writing some lengthy explanation of an
odd subtlety in this template's behavior, and at some point, I reached a
point where I wanted to refill the paragraph, so I pressed M-q. web-mode
will mangle the following code badly. #} {% for diff in commit.diffs %}
<div class="source-view"> <div class="source-header"> <div class="meta"><a
name="{{ loop.index }}">{{ diff.file }}</div> </div>
@NateEag
NateEag / repro.el
Last active March 16, 2018 14:59
use-package invocations to show issue with moody and solarized-theme's dark variations
;; Configure solarized-theme package as suggested
(use-package solarized-theme
:config
;; Use solarized-dark instead of solarized-light
(load-theme 'solarized-dark t)
(let ((line (face-attribute 'mode-line :underline)))
(set-face-attribute 'mode-line nil :overline line)
(set-face-attribute 'mode-line-inactive nil :overline line)
(set-face-attribute 'mode-line-inactive nil :underline line)
(set-face-attribute 'mode-line nil :box nil)
@NateEag
NateEag / gist:07c3e4f6e1c3d731b6550aa2516fa500
Created December 22, 2022 18:53
Crash log for FlyCut Version 1.9.6 (9)
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: Flycut [54134]
Path: /Applications/Flycut.app/Contents/MacOS/Flycut
Identifier: com.generalarcade.flycut
Version: 1.9.6 (9)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]