Skip to content

Instantly share code, notes, and snippets.

View enko's full-sized avatar
🐉
🧙

Tim enko

🐉
🧙
View GitHub Profile
import { Sway } from "..";
import child_process = require("child_process");
import * as lodash from 'lodash';
import { TreeNode } from "../interfaces/tree.interface";
type Entry = {
id: number;
workspace: string;
appName: string;
appTitle: string;
#!/usr/bin/env bash
set -euo pipefail
tree=$(swaymsg -t get_tree)
readarray -t win_ids <<< "$(jq -r '.. | objects | select(has("app_id")) | .id' <<< "$tree")"
readarray -t win_names <<< "$(jq -r '.. | objects | select(has("app_id")) | .name' <<< "$tree")"
readarray -t win_types <<< "$(jq -r '.. | objects | select(has("app_id")) | .app_id // .window_properties.class' <<< "$tree")"
switch () {
import * as shelljs from 'shelljs';
import { Logger } from '@flyacts/backend-logger';
import * as path from 'path';
import * as fs from 'fs/promises';
import * as os from 'os';
const logger = new Logger();
(async function(){
const settingsPath = path.resolve(
---
version: '3'
services:
app:
# Comment to use dockerhub image
image: 0xaffe/pixelfed:latest
restart: unless-stopped
ports:
- "127.0.0.1:8091:80"
depends_on:
Debugger entered--Lisp error: (invalid-read-syntax "Expected opening brace after \\N")
read(#<buffer *load*-722879>)
#<subr eval-buffer>(#<buffer *load*-722879> nil "/home/tschumacher/.emacs.d/.local/straight/build/apel/poe.el" nil t)
apply(#<subr eval-buffer> (#<buffer *load*-722879> nil "/home/tschumacher/.emacs.d/.local/straight/build/apel/poe.el" nil t))
eval-buffer(#<buffer *load*-722879> nil "/home/tschumacher/.emacs.d/.local/straight/build/apel/poe.el" nil t) ; Reading at buffer position 42082
load-with-code-conversion("/home/tschumacher/.emacs.d/.local/straight/build/apel/poe.el" "/home/tschumacher/.emacs.d/.local/straight/build/apel/poe.el" nil t)
require(poe)
#<subr eval-buffer>(#<buffer *load*-227762> nil "/home/tschumacher/.emacs.d/.local/straight/build/flim/std11.el" nil t)
apply(#<subr eval-buffer> (#<buffer *load*-227762> nil "/home/tschumacher/.emacs.d/.local/straight/build/flim/std11.el" nil t))
eval-buffer(#<buffer *load*-227762> nil "/home/tschumacher/.emacs.d/.loc
Debugger entered--Lisp error: (file-missing "Cannot open load file" "Datei oder Verzeichnis nicht gefunden" "std11")
require(std11)
#<subr eval-buffer>(#<buffer *load*> nil "/home/tschumacher/.emacs.d/.local/straight/build/wanderlust/wl.el" nil t)
apply(#<subr eval-buffer> (#<buffer *load*> nil "/home/tschumacher/.emacs.d/.local/straight/build/wanderlust/wl.el" nil t))
eval-buffer(#<buffer *load*> nil "/home/tschumacher/.emacs.d/.local/straight/build/wanderlust/wl.el" nil t) ; Reading at buffer position 1162
load-with-code-conversion("/home/tschumacher/.emacs.d/.local/straight/build/wanderlust/wl.el" "/home/tschumacher/.emacs.d/.local/straight/build/wanderlust/wl.el" nil t)
#<subr autoload-do-load>((autoload "~/.emacs.d/.local/straight/build/wanderlust/wl" ("/home/tschumacher/.emacs.d/.local/autoloads.pkg.elc" . 159798) t nil) wl nil)
apply(#<subr autoload-do-load> ((autoload "~/.emacs.d/.local/straight/build/wanderlust/wl" ("/home/tschumacher/.emacs.d/.local/autoloads.pkg.elc" . 159798) t n
Debugger entered--Lisp error: (file-missing "Cannot open load file" "No such file or directory" "std11")
require(std11)
#<subr eval-buffer>(#<buffer *load*> nil "/home/enko/.emacs.d/.local/straight/build/wanderlust/wl.el" nil t)
apply(#<subr eval-buffer> (#<buffer *load*> nil "/home/enko/.emacs.d/.local/straight/build/wanderlust/wl.el" nil t))
eval-buffer(#<buffer *load*> nil "/home/enko/.emacs.d/.local/straight/build/wanderlust/wl.el" nil t) ; Reading at buffer position 1162
load-with-code-conversion("/home/enko/.emacs.d/.local/straight/build/wanderlust/wl.el" "/home/enko/.emacs.d/.local/straight/build/wanderlust/wl.el" nil t)
#<subr autoload-do-load>((autoload "~/.emacs.d/.local/straight/build/wanderlust/wl" ("/home/enko/.emacs.d/.local/autoloads.pkg.elc" . 156344) t nil) wl nil)
apply(#<subr autoload-do-load> ((autoload "~/.emacs.d/.local/straight/build/wanderlust/wl" ("/home/enko/.emacs.d/.local/autoloads.pkg.elc" . 156344) t nil) wl))
autoload-do-load((autoload "~/.emacs.d/.local/stra
@enko
enko / config.el
Created May 5, 2019 17:32
My wanderlust config with doom
(autoload 'wl "wl" "Wanderlust" t)
(autoload 'wl-other-frame "wl" "Wanderlust on new frame." t)
(autoload 'wl-draft "wl-draft" "Write draft with Wanderlust." t)
(autoload 'wl-user-agent-compose "wl-draft" nil t)
(if (boundp 'mail-user-agent)
(setq mail-user-agent 'wl-user-agent))
(if (fboundp 'define-mail-user-agent)
(define-mail-user-agent
'wl-user-agent
@enko
enko / modules.org
Created April 24, 2019 19:56
example modules org file with a table