In order to keep filters up to date, please use this repo.
π³οΈβπ
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
function ssht | |
# Set the remote server's address | |
set remote_server $argv[1] | |
# Export the terminal info to a temporary file | |
set tmp_file (mktemp) | |
infocmp >$tmp_file | |
# Transfer the terminfo file to the remote server | |
scp $tmp_file $remote_server:/tmp/ |
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
{ config, pkgs, lib, ... }: | |
{ | |
# This sway config is mostly based on https://nixos.wiki/wiki/Sway | |
# which integrates sway with systemd in the style described here | |
# https://github.com/swaywm/sway/wiki/Systemd-integration | |
# and the replies in https://github.com/NixOS/nixpkgs/issues/57602 | |
# with some individual packages added/removed and using sddm as the display manager. | |
# | |
# Take care to start the correct target as described by the sway proejct wiki. |
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
SPC | |
SPC: find file | |
, switch buffer | |
. browse files | |
: MX | |
; EX | |
< switch buffer | |
` eval | |
u universal arg | |
x pop up scratch |
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 -o xtrace -o errexit -o pipefail -o nounset | |
######################################################################################## | |
# CircleCI's current recommendation for roughly serializing a subset | |
# of build commands for a given branch | |
# | |
# circle discussion thread - https://discuss.circleci.com/t/serializing-deployments/153 | |
# Code from - https://github.com/bellkev/circle-lock-test |
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
# coding: utf8 | |
""" | |
This script helps to import content from a Ghost blog database to Jekyll. | |
The database is expected to be running on a reachalbe MySQL host. | |
See the very end for DB configuration. | |
Quick Usage: | |
pip install -r requirements |
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
/* Pulled from Skeleton by dhg https://github.com/dhg/Skeleton/ | |
Literally just the grid system and small utilities, | |
you're expected to write your own CSS. */ | |
/* Grid | |
ββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
.container { | |
position: relative; | |
width: 100%; |
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
(use '[clojure.string :only [trim replace]] | |
'[clojure.pprint :only [cl-format] :rename {cl-format format}]) | |
(defn- unspace [s] | |
(trim (replace s " " ""))) | |
(defn decode [bitstring] | |
"\"01100110 01101111 01101111\" -> \"foo\" | |
Whitespace in the input string is ignored." |
NewerOlder