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
#read-only-cursor-text-area, pre, code, .js-path-segment, .blob-code, .blob-code-marker, .PRIVATE_TreeView-item-content-text, .react-directory-truncate { | |
font-family: 'PragmataProMonoLiga Nerd Font' !important; | |
} | |
h1, h2, h3, h4, h5, p, a, b, u, em, strong, blockquote, address, cite, q, ul, ol, li, dl, dt, dd { | |
font-family: 'Seitu' !important; | |
} |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>AllowClipboardAccess</key> | |
<true/> | |
<key>AppleAntiAliasingThreshold</key> | |
<integer>1</integer> | |
<key>ApplePressAndHoldEnabled</key> | |
<false/> |
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
env: | |
TERM: xterm-256color-italic | |
WSLENV: TERM | |
shell: | |
program: wsl | |
scrolling: | |
history: 10000 |
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/bash | |
pkill -u "$(whoami)" -SIGINT firefox | |
pkill -u "$(whoami)" -SIGINT browsh | |
FILE=$(echo "$1" | sed -e 's/http:\/\/localhost:20015\/file:\/\///g') | |
cp "$FILE" "$HOME/.neomutt/tmp" | |
#HOMEDIR=$(echo $HOME | sed -e 's/\//\\\//g') | |
#PATTERN="s/file:\/\/$HOMEDIR\///g" | |
#URL=$(echo $1 | sed -e $PATTERN) | |
#echo $URL | |
browsh --startup-url http://localhost:20015/.neomutt/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
# Run as root | |
curl -LO https://github.com/neomutt/neomutt/archive/refs/tags/20220429.zip | |
unzip 20220429.zip | |
cd neomutt-20220429 | |
apt install xsltproc xml-core libxml2 gettext libidn11-dev libidn2-dev libxml2-utils docbook docbook-xml libgpgme-dev libsasl2-2 gnutls-bin lua5.3 liblua5.3-dev notmuch libnotmuch-dev libdb5.3-dev libdb5.3++-dev libqdbm-dev libqdbm++-dev libgdbm-dev liblmdb-dev libkyotocabinet-dev librocksdb-dev libtdb-dev libtokyocabinet-dev libl4-dev libzstd-dev | |
./configure --everything | |
make | |
make install |
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
rem This starts up everything for WSL2 | |
C:\windows\system32\wsl.exe -e exit | |
rem and then it starts up WSLHostPatcher | |
C:\"Program Files"\WSLHostPatcher\WSLHostPatcher.exe | |
rem Finally, it starts the SSH server | |
C:\windows\system32\wsl.exe -e sudo service ssh start |
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/bash | |
# Copy this to /usr/local/bin/remote | |
ps cax | grep lemonade> /dev/null | |
if [ $? -eq 0 ]; then | |
echo "lemonade is running." | |
else | |
echo "lemonade is not running." | |
nohup lemonade server & | |
fi |
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/bash | |
# Copy this to /usr/local/bin/xclip | |
stdin="$([[ -p /dev/stdin ]] && cat -)" | |
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then | |
SESSION_TYPE=remote/ssh | |
else | |
case $(ps -o comm= -p "$PPID") in | |
sshd|*/sshd) SESSION_TYPE=remote/ssh;; | |
esac |
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
on local and remote machine: | |
go get github.com/pocke/lemonade (if you have Go installed, if not download lemonade binary from github) | |
make sure $GOPATH/bin is in your path on both machines | |
-- or move $GOPATH/bin/lemonade to a place already in your path like /usr/local/bin | |
on your local machine add a script like this: | |
cat ~/bin/remote |
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
local M = {} | |
M.options, M.ui, M.mappings, M.plugins = {}, {}, {}, {} | |
M.options.tabstop = 4 | |
M.plugins = { | |
status = { | |
neoscroll = true, | |
colorizer = true, | |
truezen = true, |