$ alias tbana={install_path}/tbana.sh
$ tbana
- tab : toggle source (hosts/predefined queries)
function! RosConvert(str) | |
return substitute(a:str, '^$(\(find.\{-}\))', '$(rospack \1)', '') | |
endfunction | |
let test_gf = "$(find px4_fast_planner)/foo/bar.launch" | |
echo RosConvert(test_gf) |
local U = require "Comment.utils" | |
local VISUAL_LINE = U.cmotion["V"] | |
local min, max = math.min, math.max | |
require("Comment").setup { | |
opleader = { | |
-- line = "gc", -- TODO: had to switch these to achieve the ft-lua behaviour wanted, but messes up everything else | |
line = "gb", | |
-- block = "gb", | |
block = "gc", |
local U = require "Comment.utils" | |
local VISUAL_LINE = U.cmotion["V"] | |
local min, max = math.min, math.max | |
require("Comment").setup { | |
opleader = { | |
-- line = "gc", -- TODO: had to switch these to achieve the lua behaviour wanted | |
line = "gb", | |
-- block = "gb", | |
block = "gc", |
local api = vim.api | |
local fn = vim.fn | |
local ddc = { | |
enable = fn["ddc#enable"], | |
patch_global = fn["ddc#custom#patch_global"], | |
patch_filetype = fn["ddc#custom#patch_filetype"], | |
manual_complete = fn["ddc#map#manual_complete"], | |
get_complete_info = fn["ddc#complete_info"], | |
} |
-- OSC 4 Color Parser for Neovim | |
-- Copyright Senghan Bright 2021 | |
local uv = vim.loop | |
-- check if COLORTERM is advertised by the terminal emulator | |
local colorterm = os.getenv("COLORTERM") | |
if not (colorterm == "truecolor") then | |
error("Truecolor environment not found. Ensure your terminal enables the 'COLORTERM' environment variable.") | |
end |
#!/usr/bin/env luajit | |
local TOTAL_COLORS = 256 | |
local char = string.char | |
local io_read = io.read | |
local byte = string.byte | |
local INDEX_MAX_DIGITS = #(tostring(TOTAL_COLORS)) + 1 | |
-- Ascii decimal value lookup | |
local ascii = { |
#!/usr/bin/env bash | |
SHINKEN_HOST='http://shinken01.se-ix.delta.prod:50000' | |
OUTPUT_FILE='./output.html' | |
CURL_TIMEOUT=1 | |
declare -a COLUMN_KEYS | |
COLUMN_KEYS=( | |
host_name | |
description |
pico-8 cartridge // http://www.pico-8.com | |
version 4 | |
__lua__ | |
pallete = {1, 13, 12, 6, 7} | |
ellipse_rad_x = 30 | |
ellipse_rad_y = 10 | |
velocity = 0 | |
gravity = 0.98 | |
posy = 1 |
#!/usr/bin/env bash | |
# Senghan Bright | |
# Delta Projects | |
REPO_ROOT=$HOME/repos/chef-repo | |
COOKBOOK_DIRECTORIES=(cookbooks community_cookbooks forked_cookbooks) | |
COLOR_COOKBOOK=(131 165 151) | |
COLOR_DELIMITER=(215 153 32) |