This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;;; -*- Mode: Lisp; indent-tabs-mode: nil -*- | |
(in-package :split-sequence) | |
(declaim (inline | |
collect-until | |
count-while | |
split-list split-list-if split-list-if-not | |
split-list-from-end split-list-from-start split-list-internal)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defcommand screen-single () () | |
(loop with laptop = "eDP1" | |
with extern = "DP1" | |
for (output commands) in `((,laptop ("--primary")) | |
(,extern ("--off")) | |
(,laptop ("--preferred"))) | |
do (uiop:run-program `("xrandr" "--output" ,output ,@commands)))) | |
(defcommand screen-multi () () | |
(loop with laptop = "eDP1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<item> | |
<name>Greek Layer</name> | |
<appendix>Right PC Application key activates the Greek key layer.</appendix> | |
<identifier>space_cadet.greek_layer</identifier> | |
<autogen> | |
--KeyToKey-- | |
KeyCode::PC_APPLICATION, | |
KeyCode::VK_STICKY_EXTRA4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<item> | |
<name>Math Layer</name> | |
<appendix>Right Control key activates the Math key layer.</appendix> | |
<identifier>space_cadet.math_layer</identifier> | |
<autogen> | |
--KeyToKey-- | |
KeyCode::CONTROL_R, | |
KeyCode::VK_STICKY_EXTRA3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defcommand move-focus* (direction) | |
((:direction "Enter a direction: ")) | |
(labels ((in-float-p () | |
(typep (current-group) 'float-group)) | |
(focus-first-frame () | |
(unless (in-float-p) | |
(dotimes (i 10) | |
(move-focus (ecase direction | |
(:left :right) | |
(:right :left)))))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defcommand wrapping-move-focus (direction) | |
((:direction "Enter a direction: ")) | |
(let ((frame (current-frame))) | |
(move-focus direction) | |
(when (eql frame (current-frame)) | |
(ecase direction | |
(:right (gnext) (dotimes (i 10) (move-focus :left))) | |
(:left (gprev) (dotimes (i 10) (move-focus :left))))))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -eio pipefail | |
ssh -t "0.backends.$2.$1" postgres-readonly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TIER | ITEM-KEY | DISPLAY-NAME | |
0 | PLANT | [Plant] | |
0 | GODSHROOM | &oelcatl | |
0 | SHIMSCALE-MANGROVE-TREE_BLUE | shimscale mangrove tree | |
0 | SHIMSCALE-MANGROVE-TREE | shimscale mangrove tree | |
0 | BANANA-TREE | banana tree | |
0 | SPOTTED-SHAGSPOOK-1 | spotted shagspook | |
0 | SPOTTED-SHAGSPOOK-2 | spotted shagspook | |
0 | DANDY-CAP-1 | dandy cap | |
0 | DANDY-CAP-2 | dandy cap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TIER | ITEM-KEY | DISPLAY-NAME | |
0 | PLANT | [Plant] | |
0 | GODSHROOM | &oelcatl | |
0 | SHIMSCALE-MANGROVE-TREE_BLUE | shimscale mangrove tree | |
0 | SHIMSCALE-MANGROVE-TREE | shimscale mangrove tree | |
0 | BANANA-TREE | banana tree | |
0 | SPOTTED-SHAGSPOOK-1 | spotted shagspook | |
0 | SPOTTED-SHAGSPOOK-2 | spotted shagspook | |
0 | DANDY-CAP-1 | dandy cap | |
0 | DANDY-CAP-2 | dandy cap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#|-*- mode:lisp -*-|# | |
#| | |
exec ros -Q -- $0 "$@" | |
|# | |
#| | |
A Roswell script to open the HyperSpec page of a specified symbol in the default browser. |