I hereby claim:
- I am nicholastmosher on github.
- I am nicholastmosher (https://keybase.io/nicholastmosher) on keybase.
- I have a public key ASAbPPk2jH7OiuMti5rQ52q0azR1I0QXil1sxey6uA3c_Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Resources:
| impl<'a, A, B> JSValue<'a> for (A, B) | |
| where | |
| A: JSValue<'a>, | |
| B: JSValue<'a>, | |
| { | |
| fn convert_to_rust(env: &'a JsEnv, js_value: napi_value) -> Result<Self, NjError> { | |
| use crate::sys::napi_get_array_length; | |
| if !env.is_array(js_value)? { | |
| return Err(NjError::Other("not array".to_owned())); | |
| } |
| def -docstring 'invoke fzf to open a file' \ | |
| fzf-file %{ | |
| %sh{ | |
| if [ -z "$TMUX" ]; then | |
| echo echo only works inside tmux | |
| else | |
| ( | |
| FILE=$(rg --files --hidden | fzf-tmux -d 15) | |
| if [ -n "$FILE" ]; then | |
| printf 'eval -client %%{%s} edit %%{%s}\n' "${kak_client}" "${FILE}" | kak -p "${kak_session}" |
| # Add this to your PATH on your CS account to gain access to "kak". | |
| # Kakoune configurations still live in your `~/.config/kak/` directory. | |
| export PATH="~ntm8772/usr/local/bin:$PATH" |
| # On the server (i.e. playback device), find the sink number by running: | |
| pactl list short sinks | |
| # Open that sink on a port (e.g. 1234) to be accessed remotely: | |
| pactl load-module module-native-protocol-tcp port=1234 auth-anonymous=1 | |
| # Make sure you know the ip address of your server device: | |
| ifconfig | |
| # On the client (i.e. the device with the audio application), connect to the remote sink: |