Skip to content

Instantly share code, notes, and snippets.

@jloow
jloow / hy-pyinstaller.org
Created March 15, 2021 10:16
Some notes on getting hy to work with pyinstaller

Using hy causes some problems with regards to exporting the project using pyinstaller.

First, it is not possible to export using a hy file directly. Instead, one has to write a simple wrapper. The wrapper needs to do three things:

  1. Import the hy mode
  2. Import the hy script
  3. Call a main or init function of the hy script
@jloow
jloow / papercolor.json
Created January 25, 2020 19:01
PaperColor theme for Windows Terminal
// Theme based on https://github.com/NLKNguyen/papercolor-theme
// Add the following under "schemes" in "profiles.json"
{
"name": "PaperColor",
"foreground": "#444444",
"background": "#eeeeee",
"black": "#1c1c1c",
"red": "#af0000",
"green": "#008700",
"yellow":"#d75f00",
@jloow
jloow / Makefile
Created August 13, 2019 07:42 — forked from kristopherjohnson/Makefile
Makefile that uses Pandoc to generate HTML, PDF, DOCX, etc. from Markdown source files
# Makefile
#
# Converts Markdown to other formats (HTML, PDF, DOCX, RTF, ODT, EPUB) using Pandoc
# <http://johnmacfarlane.net/pandoc/>
#
# Run "make" (or "make all") to convert to all other formats
#
# Run "make clean" to delete converted files
# Convert all files in this directory that have a .md suffix
@jloow
jloow / Config.ini
Created May 31, 2019 08:39
Simple bug.n dark theme
;;; A simple dark theme for bug.n ;;;
; Copy and past into Config.ini (press Ctrl + Win + E)
; Set colour of status bar etc. to black
; Red is used to indicate active tags. Replace with "Black" to hide
Config_foreColor_#1=Red;Black;Black;Black;Black;Black;Black;Black;Black
; Set borders to black
Config_backColor_#1=Black;;;;;;;;