Giter Site home page Giter Site logo

best's Introduction

Hi, I'm Ethan!

I'm a software developer with a focus on tooling, automation, and cloud infrastructure.

My Fish Plugins

fish-promptfessional
Your flexible and highly-customizable Fish shell prompt.

  • Customize your prompt without doing everything from scratch.
  • Add your own prompt components without worrying about updates.
  • Have a prompt that's both stylish and fast (<50ms).

fish-securenv
A fish function for on-demand retrieval of sensitive environment variables.

  • Keep sensitive environment variables encrypted on disk.
  • Load them only when needed!
  • Wrap commands to load them only for the wrapped commands.

fish-kubeswitch
A kubectx/kubens replacement for fish.

  • Change the config file, context, and namespace.
  • Only applies to the current shell! (no outdated prompts)

fish-plugin-better-cd
A better version of cd (and pushd) for your Fish shell.

  • cd relative to git repo root.
  • Jump to paths with z.
  • Fuzzily change directories with fzf.

fish-cd-ranger
Ranger integration for fish shell.

  • Hotkey to change the directory to a ranger bookmark.
  • cd-ranger command to change the directory with ranger.

fish-contextual-greeting
Upgrade your fish_greeting experience with greetings that only show up under certain contexts.

  • Custom greetings for:
    • SSH
    • Tmux
    • IDE terminals

My Obsidian Plugins & Developer Resources

Plugins

Callout Manager
Easily create and customize callouts.

  • Customize callout icons & colors.
  • Create custom callouts.
  • Supports mobile Obsidian.
  • API for integration with other plugins.

Libraries

obsidian-undocumented
Definitions for undocumented/private Obsidian.md APIs.

obsidian-extra
Safe abstractions over obsidian-undocumented.

Resources

obsidian-dev-helper A Bash-based helper script that makes it easy to test Obsidian plugins while you develop them.

best's People

Contributors

eth-p avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

best's Issues

Add support for `assert_exit`.

In some cases, we want a script to fail. best should have some mechanism for declaring what the exit code should be, and failing the test if it doesn't match what it received.

Prefix functions.

There's a remote possibility that some of the functions provided by best will override (or be overridden by) some of the functions that would be tested by a test suite. Should I prefix the functions with a colon?

test:something() {
    :description "My test"
    :expect [ 1 = 3 ]
}

Add tests for `best`.

This is getting a bit meta, but there should be tests to ensure that best does not run into regressions.

Fails if TMPDIR environment variable not set

I tried to install your bat-extras in a Ubuntu 20.04 docker container, and it failed during the verification step with a bunch of error messages like this:

/home/jetzerb/tmp/install/bat-extras/.test-framework/libexec/best-runner.sh: line 173: /96419.async_96445.report: Permission denied
/home/jetzerb/tmp/install/bat-extras/.test-framework/libexec/best-runner.sh: line 63: /96419.test_version.stdout: Permission denied
mv: cannot stat '/96419.async_96445.report': No such file or directory

Turns out the TMPDIR environment variable isn't set. After setting the variable to a suitable tmp dir, I tried again and everything ran to completion as expected.

FYI: I also have a Manjaro system that doesn't set TMPDIR by default, so perhaps it's not a very reliable variable?

Could you update to check whether TMPDIR is set, and if not then set it to a suitable value, such as one of the following:

  • a newly-created dir within $__BEST_ROOT
  • the output of mktemp -d
  • /var/tmp
  • /tmp

thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.