profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/casey/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Casey Rodarmor casey The Blue Planet https://rodarmor.com 😻A N A R C H O ー ネ コ バ ス 😻

agora-org/agora 89

File server that accepts Lightning Network payments for downloads

casey/blaster 10

✯ Audio reactive visuals engine in C++/OpenGL

casey/boot 8

boot / ⠛⠕⠞⠞⠁⠀⠃⠕⠕⠞⠀⠮⠀⠍⠑⠞⠁⠍⠁⠡⠔⠑

casey/brev 4

💀 Do or die: quick and dirty utility functions in rust

casey/bak 3

📦 Move files out of the way

casey/bulb 2

Tulip Farm Discord bot

casey/9x 1

Plan 9 for Unix

casey/annotated-torrents 1

Rich, structured content metadata for BitTorrent

casey/askama 1

Type-safe, compiled Jinja-like templates for Rust

issue openedfort-nix/nix-bitcoin

Possible to use nix-bitcoin to run bitcoin services on NixOS?

I have a nixos server that I configure with /etc/nixos/configuration.nix. I would like to run an LND node, but LND isn't yet packaged in nixpkgs, nor configurable in nixos. I was hoping to use nix-bitcoin to run LND, but was unable to figure out how to integrate the configuration into my /etc/nixos/configuration.nix. Is this possible, and is there documentation for it? Thank you!

created time in 20 hours

issue commentcasey/just

Define MSRV and enforce on CI

MSRV stands for "minimum supported Rust version", so just the earliest version of the Rust compiler that the project works with.

casey

comment created time in a day

push eventagora-org/agora

Casey Rodarmor

commit sha 9b19b640373bcff61896d9c7b930095c8e5de844

Document in readme

view details

push time in 2 days

push eventagora-org/agora

Casey Rodarmor

commit sha f3631dc3c6eb60ff042241e91b9a7e4fca0f6147

Add Error::Bind

view details

Casey Rodarmor

commit sha a337ff2d4b4615b91c3e14bb5cf3f06938f9e37e

Use SocketIo error

view details

Casey Rodarmor

commit sha 39dc44695453289dd430996759c07d778bdd715d

Remove fixme

view details

Casey Rodarmor

commit sha e01ba52c3d9b39edbb3aaecb7c4cfaa417d75a2d

Convert argument tests to be more unity

view details

Casey Rodarmor

commit sha 5fae6d8619582dba97a1e5eb09d11f9a411eea84

Make rustls-acme a normal dependency

view details

push time in 2 days

issue commentcasey/just

--color never doesn't seem to work

No worries! Glad you got it working.

psibi

comment created time in 2 days

issue commentcasey/just

--color never doesn't seem to work

It looks like you're running just -list from a recipe in your justfile, like this:

default:
    just --list

In this case, the sub-invocation of just have access to the outer invocation's --color flag, so it defaults back to --color auto.

You could try this instead:

default:
  just --list --color never

Does that work?

psibi

comment created time in 2 days

pull request commentagora-org/deployments

Update cradle version to 0.1.0

LGTM

soenkehahn

comment created time in 4 days

pull request commentsoenkehahn/cradle

Allow only `&'static str` in `Split`

We should probably also only provide Input implementations for SplitWhitespace<'static>, Split<'static>, and SplitAsciiWhitespaceCopy<'static>.

soenkehahn

comment created time in 4 days

pull request commentsoenkehahn/cradle

Allow only `&'static str` in `Split`

I think this is reasonable. I can't think of any really important use cases for splitting non-static strings, and if someone has a use case, we can easily re-enable it.

soenkehahn

comment created time in 4 days

issue commentcasey/just

Shell completion add nushell support

You are most welcome!

Shell completions are currently mostly generated by clap, the argument parsing library. So support for nushell would have to be added to clap, or someone would have to contribute hand-written completion scripts.

hustcer

comment created time in 4 days

issue commentnix-community/nixos-install-scripts

Which issue is referenced is ovh-dedicated-wipe-and-install-nixos.sh?

Thanks for the info! I removed that line from my config which installed a 5.10 kernel, and everything was fine, both before and after rebooting.

casey

comment created time in 5 days

push eventcasey/dotfiles

Casey Rodarmor

commit sha 7965551d7a1af5a2e8b2cdbe82d0e5e7369f58b7

[bin/ssh-forget] Use ssh-keygen -R

view details

Casey Rodarmor

commit sha 355b9a401d504b6692339f88ff97d75f2209024f

[vim] Use full name in swap file path

view details

push time in 5 days

issue openednix-community/nixos-install-scripts

Which issue is referenced is ovh-dedicated-wipe-and-install-nixos.sh?

ovh-dedicated-wipe-and-install-nixos.sh contains this comment:

# OVH has an issue where on newer kernels, it can take up to 20 minutes
# for the default gateway to not be 'linkdown' when booting. See #812.
# We observed that with the 4.15 kernels so far, including OVH's own
# Ubuntu 18.04.
# Our workaround so far is to use the 4.9 kernel.
boot.kernelPackages = pkgs.linuxPackages_4_9;

I was curious if this was fixed, but didn't see an issue number 812 in this repository. Where can I find this issue?

Thanks for this repo, it's a huge help! I was able to adapt the OVH install script to a different server type and got everything working.

created time in 5 days

issue commentcasey/just

How to use positional arguments inside a string with single quotes and bracket?

Could you close and re-open the quotes around the variable? Like so:

set positional-arguments

print_name name:
    echo '{input: '$1'}'
max-block

comment created time in 5 days

issue commentalopatindev/cargo-limit

Option to include error message when invoking CARGO_OPEN command

Some more details, in case anyone is interested. The command I run is:

nvr -c "cgetexpr ['<LOCATION>', '<LOCATION>'…] | cclose"

cclose is to avoid opening the quickfix list. I also set the error format to be compatible with the format that cargo-limit produces:

set errorformat=%f:%l:%c

Once the quickfix list is populated, normal quickfix commands like :cnext and :cprev can be used to navigate between errors.

casey

comment created time in 7 days

issue commentsoenkehahn/cradle

Question: Does `cradle` support streaming output

I'm one of the maintainers of nushell and am interested in a cross-platform wrapper for std::process::Command. We have a couple requirements and I was wondering if your crate supports those.

What are you looking for in a wrapper? Just better ergonomics, or are there other requirements?

  1. Cross-platform, meaning Windows, Mac, Linux.

We test on Windows, Mac, and Linux, so everything should work.

  1. Support streaming of the output returned from std::process::Command.

We don't currently support streaming, but it seems to be a common request. I don't think we have any particular objection to adding it, although we'd have to figure out a nice API for it.

Thanks and great work on this!

Thank you for the kind words!

fdncred

comment created time in 7 days

push eventcasey/dotfiles

Casey Rodarmor

commit sha d37796cf7e34378e9d92eaaf1c71cf39364bcef7

[pkg] Rename nvim-remote-open to nvim-remote-quickfix

view details

Casey Rodarmor

commit sha e9cb05185d9f48e26840fff470452abe6355091e

[vim] If quickfix list is empty, don't try to open it

view details

Casey Rodarmor

commit sha a3be45aff419614e68b130ec0c97cb75b7b31c2e

[vim] Use simple error format

view details

push time in 7 days

push eventcasey/dotfiles

Casey Rodarmor

commit sha 3169b165be3d1b4f4d938443a27557ee5450a39d

[vim] Remove <c-c> mapping

view details

Casey Rodarmor

commit sha f5665e42257be13e62baebe1f8050f01f2bb8bc3

[bin/git-done] Don't check that current branch is merged into remote master

view details

Casey Rodarmor

commit sha ddb1c25c597938c563fa07bb6471a53044cf68bc

[vim] Don't use nightly rustfmt

view details

Casey Rodarmor

commit sha 5f024f52aed0a9e2f53d1d3112c3d48bc6d15687

[pkg/neovim-remote-open] Populate quickfix list

view details

push time in 7 days

issue openedalopatindev/cargo-limit

Option to include error message when invoking CARGO_OPEN command

I found that jumping to error locations could be a little bit disruptive, for example if you're in insert mode, so I'm trying to get cargo-limit to populate vim's quickfix list instead.

I'm using :cgetexpr to populate the quickfix list without jumping to the first entry, which works well. It would be nice to include the error messages with each entry, so I was wondering if there was some way that these could be included in the arguments to CARGO_OPEN.

Something like FILE:LINE:COLUMN:ERROR_MESSAGE would be great, but that would break existing users.

created time in 7 days

issue closedcasey/just

argument using a just variable not showing

Hi @casey,

first of all I wanna thank you for all your work and this awesome tool. I have an issue and don't know if it's a bug or my fault^^

@hello_world: (_print "{{string}}! 123")

string := 'hello world'

@_print VALUE:
    echo {{VALUE}}

When executing just it's printing: "{{string}}! 123"

Kind regards, Thomas

closed time in 7 days

tomikais

issue commentcasey/just

argument using a just variable not showing

Hi Thomas,

Thank you for the kind words!

At the moment, string interpolation is only supported in recipe bodies, not inside string literals. #822 is open to fix this, but it's stalled at the moment.

You can use concatenation with + instead:

@hello_world: (_print string + "! 123")

string := 'hello world'

@_print VALUE:
    echo {{VALUE}}

Hope that works!

tomikais

comment created time in 7 days

issue closedcasey/just

unknown start of token when using docker inspect --format

here is my code:

just x:
  docker inspect --format "{{json .State.Health.Status }}" $(docker-compose ps -q)

The pointer is pointing at . in the .State

closed time in 7 days

Rizary

issue commentcasey/just

unknown start of token when using docker inspect --format

{{ is treated specially within recipe bodies, since they start interpolations. See this section of the readme for some options for dealing with this.

The easiest way to fix this is probably to use {{{{:

just x:
  docker inspect --format "{{{{json .State.Health.Status }}" $(docker-compose ps -q)
Rizary

comment created time in 7 days

issue commentcasey/just

Can regular expression be used in Conditional Expressions? Any string functions available?

Implemented in #970! I'll try to cut a release soon, but for now it's available on master on GitHub.

The operator is =~ since that's what's used in Perl, Ruby, and other similar languages:

foo := if "hello" =~ 'hel+o' { "match" } else { "mismatch" }

bar:
  @echo {{foo}}
$ just bar
match
meicale

comment created time in 7 days

push eventcasey/just

Casey Rodarmor

commit sha 0db4589efe55c51b2e9fe1f9026c07cfeff2c127

Implement regular expression match conditionals (#970)

view details

push time in 7 days

PR merged casey/just

Implement regular expression match conditionals

Fixes #959.

+237 -109

0 comment

16 changed files

casey

pr closed time in 7 days

delete branch casey/just

delete branch : regex

delete time in 7 days

issue closedcasey/just

Can regular expression be used in Conditional Expressions? Any string functions available?

I want to test whether a sub-string (such as "GPU") is contained in a parameter or values. I tried if "GPUS" == "GPU", which can work in the shell and return the 'true' value.

closed time in 7 days

meicale

push eventcasey/just

Casey Rodarmor

commit sha 49508294c06e5b7108e7828e31b6e4a2533a90be

Placate clippy

view details

push time in 7 days