Skip to content

Instantly share code, notes, and snippets.

View leana8959's full-sized avatar

Léana 江 leana8959

View GitHub Profile
@leana8959
leana8959 / gist:100d06bbecc5375f3d5f4e673c995de4
Created February 19, 2024 14:08
patched custom build iosevka
Examining 54 font files
| Filename | | PS Name | | Fullname | | Family | | Subfamily | | Typogr. Family | | Typogr. Subfamily | |
|---------------------------------------------------|--|-----------------------------------------------------------------|--|-----------------------------------------------------------------|--|--------------------------------------------------------|--|-------------------------------|--|-----------------------------------------|--|-----------------------------------------|--|
| HiosevkaNF-Bold.ttf |19| HiosevkaNF-Bold |15| Hiosevka NF Bold |16| Hiosevka NF
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pypa-install-hook
Using pypaInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
@leana8959
leana8959 / gist:631b69891b7bd877547c27b5b2ad8611
Created December 3, 2023 08:00
home-manager install issue
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing pypa-build-hook
Using pypaBuildPhase
Sourcing pypa-install-hook
Using pypaInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
@leana8959
leana8959 / hls error message
Last active December 2, 2023 05:36
stack nix issue
$ haskell-language-server-wrapper -d --lsp
No 'hie.yaml' found. Try to discover the project type!
Run entered for haskell-language-server-wrapper(haskell-language-server-wrapper) Version 2.4.0.0 aarch64 ghc-9.4.8
Current directory: /Users/leana/repos/leana/AOC2023
Operating system: darwin
Arguments: ["-d","--lsp"]
Cradle directory: /Users/leana/repos/leana/AOC2023
Cradle type: Stack
Tool versions found on the $PATH
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/22dj4sy1d16hxyjkdpxy7qh4688i438k-2.1.5.zip
source root is opam-2.1.5
'opam-2.1.5/src_ext/0install-solver.tbz' -> '/nix/store/31rq8pkld14pwvjnnvzly0gfg2r7dqv7-0install-v2.17.tbz'
'opam-2.1.5/src_ext/base64.tbz' -> '/nix/store/k6prmng2v9vhpk89f6jjkh4zszwci71p-base64-v3.5.0.tbz'
'opam-2.1.5/src_ext/cmdliner.tbz' -> '/nix/store/gd74q3ywizflzdkqcfgzj4jh5rqp6smg-cmdliner-1.0.4.tbz'
'opam-2.1.5/src_ext/cppo.tar.gz' -> '/nix/store/47c1fw7hbjh0phirxy3jk5myghagsjpm-v1.6.8.tar.gz'
'opam-2.1.5/src_ext/cudf.tar.gz' -> '/nix/store/4i059nac0jw26i3j6jcfw7nq7argci08-cudf-v0.10.tar.gz'
'opam-2.1.5/src_ext/dose3.tar.gz' -> '/nix/store/gk3r9ibqf43dzlwwglkq0l084fvi6ql4-dose3-7.0.0.tar.gz'
@leana8959
leana8959 / watchexec.log
Created September 14, 2023 11:11
watchexec's log, used with Haskell's Cabal
{"timestamp":"2023-09-14T11:10:33.370243Z","level":"INFO","fields":{"message":"logging initialised"},"target":"watchexec_cli"}
{"timestamp":"2023-09-14T11:10:33.370355Z","level":"DEBUG","fields":{"message":"arguments","args":"Args { command: [\"cabal repl\"], paths: [], screen_clear: None, on_busy_update: Restart, watch_when_idle: false, restart: true, signal: None, kill: false, stop_signal: None, stop_timeout: TimeSpan(60s), debounce: TimeSpan(50ms), stdin_quit: false, no_vcs_ignore: false, no_project_ignore: false, no_global_ignore: false, no_default_ignore: false, no_discover_ignore: false, postpone: false, delay_run: None, poll: None, shell: None, no_shell: false, no_shell_long: false, no_environment: false, emit_events_to: Environment, env: [], no_process_group: false, once: false, notify: false, project_origin: None, workdir: None, filter_extensions: [\"hs\"], filter_patterns: [], filter_files: [], ignore_patterns: [], ignore_files: [], filter_fs_events: [Create, Remove, Rename, Modify, Metadata], filte
@leana8959
leana8959 / README.md
Created May 25, 2023 23:22 — forked from zopsicle/README.md
Firefox monospace address bar / URL preview
@leana8959
leana8959 / init.lua
Created February 25, 2023 19:24
lsp-cfg/init.lua
require "mason".setup()
require "mason-lspconfig".setup()
-- See `:help vim.diagnostic.*` for documentation on any of the below functions
local opts = { noremap = true, silent = true }
vim.keymap.set('n', '<space>e', vim.diagnostic.open_float, opts)
vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, opts)
vim.keymap.set('n', ']d', vim.diagnostic.goto_next, opts)
vim.keymap.set('n', '<space>q', vim.diagnostic.setloclist, opts)
@leana8959
leana8959 / colorscheme.fish
Last active February 22, 2023 03:50
Fish colorscheme template
# This is a template to fine tune your own fish colorscheme! Have fun :)
# I removed some color variables since I don't need them.
# Learn more: https://fishshell.com/docs/current/interactive.html
## General
# Default color
set -gx fish_color_normal normal
# Commands (binary)
set -gx fish_color_command 000000 #black
# Options starting with “-”, up to the first “--” parameter