Skip to content

Instantly share code, notes, and snippets.

FROM ubuntu:latest
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
apt-transport-https \
openjdk-8-jdk \
software-properties-common \
sudo \
wget
#!/bin/sh
# Tmux session embedding an nvim instance to be used with nvim-mode for atom
# See : https://github.com/carlosdcastillo/vim-mode#how-do-you-run-this
NVIM_PIPE="/tmp/neovim"
TMUX_SESSION="atomNvim"
mkdir -p $NVIM_PIPE;
tmux new-session -s $TMUX_SESSION -d;
tmux send-keys -t 1 "NVIM_LISTEN_ADDRESS=$NVIM_PIPE/neovim nvim" C-m

Keybase proof

I hereby claim:

  • I am bathizte on github.
  • I am bathizte (https://keybase.io/bathizte) on keybase.
  • I have a public key whose fingerprint is 826C A76C F220 7247 245B BDD4 1CE2 910C C9B1 7823

To claim this, I am signing this object:

@bathizte
bathizte / lighttpd_transmission_proxy.conf
Last active January 30, 2024 09:26
Lighttpd CORS reverse proxy for transmission
# Lighttpd as a CORS reverse proxy to Transmission XML-RPC API
server.modules = (
"mod_rewrite",
"mod_setenv",
"mod_proxy"
)
server.document-root = "/var/www"
# CORS preflighted request (HTTP OPTIONS) not handled yet by Transmission : Emulate a 200 OK
$HTTP["request-method"] =~ "^OPTIONS$" {