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
name: <%= name %> | |
root: . | |
startup_window: <%= name %> | |
on_project_start: "grep -q '^set -g pane-border-status top$' ~/.tmux.conf 2>/dev/null || echo 'set -g pane-border-status top' >> ~/.tmux.conf" | |
PRE: &PRE | |
- alias pane_title="printf '\033]2;%s\033\\' $1" | |
- alias tmux_layout="tmux list-windows | sed -Ern '/\*/ {s/.*layout ([^]]+).*/\1/p}'" |
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
### Keybase proof | |
I hereby claim: | |
* I am metacoma on github. | |
* I am bebebeko (https://keybase.io/bebebeko) on keybase. | |
* I have a public key ASC1Gqjn0c8Bghg7wdDU02tLr3QhBu3mPyVYX4zhnxKF0go | |
To claim this, I am signing this object: |
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 tcp = socket:tcp() | |
local connection, err = tcp:connect("127.0.0.1", 3333) | |
if (err ~= nil) then | |
error("Connection error") | |
end | |
local conn = np.attach(tcp, "bebebeko", "") |
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 data = require'data' | |
local np = require'9p' | |
local socket = require 'socket' | |
local pprint = require 'pprint' | |
local tcp = socket:tcp() | |
local connection, err = tcp:connect("127.0.0.1", 3333) |
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
; mount -A tcp!192.168.1.136!5555 /mnt/9front | |
; bind /mnt/9front/mnt/plumb/send /tmp/chan/plumb.input | |
; lc /tmp/chan | |
plumb.input | |
; ns | |
bind -b '#^' /dev | |
bind -b '#m' /dev | |
bind -b '#c' /dev | |
bind '#p' /prog | |
bind '#d' /fd |
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
/tmp/mnt/aws/ | |
/tmp/mnt/aws/regions | |
/tmp/mnt/aws/regions/eu-north- | |
/tmp/mnt/aws/regions/eu-north-1/ec | |
/tmp/mnt/aws/regions/eu-north-1/eks | |
/tmp/mnt/aws/regions/ap-south- | |
/tmp/mnt/aws/regions/ap-south-1/ec | |
/tmp/mnt/aws/regions/ap-south-1/eks | |
/tmp/mnt/aws/regions/eu-west- | |
/tmp/mnt/aws/regions/eu-west-3/ec |
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 | |
echo $1 | awk -F/ ' | |
function output_fuse_dir(path) { | |
return sprintf("ino=1 mode=drwxr-xr-x nlink=1 uid=0 gid=0 rdev=0 size=1024 blksize=512 blocks=2 atime=0 mtime=0 ctime=0 %s\0", $0) | |
} | |
function environment_args(path, regex) { | |
vars = "" | |
r = match(path, /^\/([^\/]+)\//, groups) | |
printf("r = %s\n", r) |
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
paths: | |
"/": | |
cmd: aws ec2 describe-regions | |
output: *aws-describe-regions | |
cache: 400 | |
# /us-east-1/ec2/ | |
"/([a-z-0-9]+)/ec2/": | |
cmd: aws ec2 describe-instances --region $ARG_1 |
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 | |
if [ "$1" = "/" ]; then | |
echo 'ino=1 mode=drwxr-xr-x nlink=1 uid=0 gid=0 rdev=0 size=1224 blksize=512 blocks=2 atime=0 mtime=0 ctime=0 ' | |
elif [ "$1" = "/README" -o "$1" = "/README1" ]; then | |
echo 'ino=1 mode=-rwxr-xr-x nlink=1 uid=0 gid=0 rdev=0 size=1111 blksize=512 blocks=2 atime=0 mtime=0 ctime=0 ' | |
elif [ -n "`echo $1 | grep ami-`" ]; then | |
echo 'ino=1 mode=-rwxr-xr-x nlink=1 uid=0 gid=0 rdev=0 size=1111 blksize=512 blocks=2 atime=0 mtime=0 ctime=0 ' | |
elif [ "$1" = "/createme" ]; then |
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
-- register line | |
minetest.registry_line({ | |
initial_properties = { | |
color = "black", | |
width = "10" | |
}, | |
on_touch = function(player, ....) { | |
} |