profile
viewpoint
Kevin K. kbknapp @BrilliantSolutionsInc DC, USA https://kbknapp.dev I love to code, skydive, and do the things.

kbknapp/cargo-outdated 552

A cargo subcommand for displaying when Rust dependencies are out of date

kbknapp/cargo-graph 200

A cargo subcommand for creating GraphViz DOT files and dependency graphs

kbknapp/cargo-count 117

a cargo subcommand for counting lines of code in Rust projects

kbknapp/cargo-extras 36

A collection of cargo subcommands

clap-rs/term_size-rs 32

Functions for determining terminal sizes in Rust

clap-rs/clap_derive 29

Custom derive for clap.

clap-rs/clap-book 10

A book detailing how to build command line applications in Rust

kbknapp/Clapp-py 10

A small library for quickly and easily creating command line applications in python.

clap-rs/clap-validators 6

Predefined argument validators that can be used with clap-rs

clap-rs/clap-www 3

clap.rs website

startedcrowdsecurity/crowdsec

started time in 17 hours

fork kbknapp/wireguard-tools

Mirror only. Official repository is at https://git.zx2c4.com/wireguard-tools

https://www.wireguard.com

fork in 6 days

push eventkbknapp/dotfiles

Kevin K

commit sha fcfc60190f5d9c143cca75dc40e5c1a7465c09d1

adds spacevim config

view details

push time in 7 days

startedrust-bpf/rust-bcc

started time in 14 days

startedzoidbergwill/awesome-ebpf

started time in 19 days

push eventkbknapp/navi-cheats

Kevin K

commit sha 68a53389c80654cf42eb24400cb3c393569ba5b1

adds command to disable cgroups v2

view details

push time in 20 days

push eventkbknapp/dotfiles

Kevin K

commit sha 798e454f9b4e7ed06fc1555ab66e18dd4cee6738

updates navi cheats dir

view details

push time in 20 days

push eventkbknapp/baseline

Kevin K

commit sha 3af68d95ffad5aa9422e07cbf7d54cc56f8638b5

comments out items that were meant as quick wip while migrating repos

view details

push time in 20 days

issue commentclap-rs/clap

Tracking Issue for 3.x

There are some AppSettings which don't make sense in a non global context, meaning using for only a single subcommand doesn't make sense. GlobalVersion is one example, but there are several. These settings were designed with the whole application in mind. The intent behind that phrase you quoted was to move away from AppSettings which only make sense in a global context and instead use variations which only apply to a single command, but allow the user to select global_setting if they preferred applying the settings to the whole application.

The reasoning behind this is so that we didn't have some settings magically affecting the whole application and others only a single command which has caused confusion in the past.

kbknapp

comment created time in 23 days

startedzsa/wally

started time in a month

push eventkbknapp/dotfiles

Kevin Knapp

commit sha 9eb7621d0bf0d2480d513a265c989c12dbd1f577

adds obsidian to git repos to update in topgrade

view details

push time in a month

startedGTFOBins/GTFOBins.github.io

started time in 2 months

issue commentGTFOBins/GTFOBins.github.io

Lots of "use of privileges results in use of privileges"

I'm not the OP, but share the OP's concerns. This project is a great idea, so it'd be great to get the real issues front and center, or at least highlight them better.

orib on Lobsters said it better than I can in their comment

[..] listing ‘cat’ as a program that when run with the suid bit set, will read privileged files is.. erm.. noise. ‘It runs with elevated privileges under sudo’ is also similarly applicable to basically everything. And as a result, programs that give surprising shell access, like patch(1), which can invoke ed(1), which has the ability to filter text through the shell, may go unnoticed in this list, when they should be ringing alarm bells.

I wouldn't be in favor of out-right removing the "noise" binaries, as you're correct they could be an issue. Perhaps there is a better way to tag/display them so they can be easily filtered, or stand out from more serious vulnerabilities?

jkaivo

comment created time in 2 months

push eventkbknapp/navi-cheats

Kevin K

commit sha f8170439d2dffe9c682cca50768f33627de22901

adds battery charge thresholds

view details

push time in 2 months

push eventkbknapp/dotfiles

Kevin K

commit sha 838d14c1c055444d3a06fa345242bd3156a78ded

moves navi cheast to their own repo

view details

push time in 2 months

push eventkbknapp/navi-cheats

Kevin K

commit sha 612c1ff561f1a819277b6525ca9c3228d59aca9e

Initial commit

view details

push time in 2 months

create barnchkbknapp/navi-cheats

branch : master

created branch time in 2 months

created repositorykbknapp/navi-cheats

Collection of navi cheats

created time in 2 months

push eventkbknapp/dotfiles

Kevin K

commit sha 0837a35a9e5558b3b4de3ca9522983d461715b56

moves baseline to its own repo

view details

push time in 2 months

push eventkbknapp/baseline

Kevin K

commit sha 94eb42fdbe6c8bd6203f954a25953d74aeedbda0

Initial source commit

view details

push time in 2 months

push eventkbknapp/baseline

Kevin K

commit sha 72bdaa3a3e38dbc48135ae25e9040cf42c02d11b

Update README.md

view details

push time in 2 months

create barnchkbknapp/baseline

branch : master

created branch time in 2 months

created repositorykbknapp/baseline

Workstation baseline tool

created time in 2 months

push eventkbknapp/dotfiles

Kevin K

commit sha 37815d911ed3e2dce692d3eac2c7b233b5dd43fe

adds a topgrade config

view details

Kevin K

commit sha 519add0d5013f968c71b45e37808ede2d6ff665f

wip: adding appimaged

view details

Kevin K

commit sha 3e4e0a2c806a2a28a280ae86243750e988821088

wip: adding obsidian

view details

Kevin K

commit sha bc623c4098bc551a76dac96a8696d43e07fe8e25

wip: adding standard notes

view details

Kevin K

commit sha e79b868f608035d02091f5602605d141c58df004

wip: removing firefox tabs

view details

Kevin K

commit sha d77b94b3af08c6db1856dec34fb9019f5143aff7

wip: adding zulip

view details

Kevin K

commit sha b67e9a26bb5f0d4011671be730d4bf0fa79b9062

fixes copying i3 files when dirs exist"

view details

push time in 2 months

push eventkbknapp/dotfiles

Kevin K

commit sha 0c602e7f8dbd35020b65e30185f0408e3b72581b

fixes flatpak commands

view details

Kevin K

commit sha e088a4c0f84081b6ef84834f1139838e9793af8d

fixes rust install of git repos

view details

Kevin K

commit sha aa43cfcaaf9c6ccd8301c5e07060b183943d977d

fix plasma5 notifications stealing focus

view details

push time in 2 months

issue commentpop-os/shell

Choose which side of the screen windows spawn to

Maybe it should be a new issue, but ability to spawn windows below or above is super helpful on vertically oriented monitors.

afolarin

comment created time in 2 months

push eventkbknapp/yew-wasm-pack-template

TrAyZeN

commit sha 7cded291e7f1d3d3e95ba51a67280a6f47315187

Upgrade all dependencies + add support for latest copy-webpack-plugin version + add test script

view details

Kevin K

commit sha a48c31da1d6f3c6fbfc94de45e7766885cbb10e6

removes netlify as part of template

view details

Kevin K

commit sha ce2ab897944b4af8469ef0e5635c11b18dd84cfa

merges with rust-webpack-template

view details

push time in 2 months

fork kbknapp/yew-wasm-pack-template

A template for starting a Yew project to be used with wasm-pack

https://todomvc.yew.rs/

fork in 2 months

startedmarshallpierce/rust-base64

started time in 2 months

PR opened RustBeginners/awesome-rust-mentors

Adding kbknapp to mentors.md

Adds Kevin Knapp (@kbknapp) the included mentors

+6 -0

0 comment

1 changed file

pr created time in 2 months

push eventkbknapp/awesome-rust-mentors

Kevin K

commit sha 03eaa5878654fc93874d6535b13b0555ad88828d

Adding kbknapp to mentors.md Adds Kevin Knapp (@kbknapp) the included mentors

view details

push time in 2 months

push eventkbknapp/dotfiles

Kevin K

commit sha c996aab4ebc6207a8e983db35dd4f6a642a64f71

fixup! adds VSCode RPM and removes default on for flatpak

view details

push time in 2 months

push eventkbknapp/dotfiles

Kevin K

commit sha c0d06196e7111c3ef9fef9b877de981108e65423

makes more space for items

view details

Kevin K

commit sha c10d39f72fd42f19a79d1532af8e15e6d1f4b94a

adds VSCode RPM and removes default on for flatpak

view details

Kevin K

commit sha 4b2f70b95225b49db0a361d10c84871ae9a4f878

adds wasm-pack for Rust

view details

Kevin K

commit sha 4d892509ea88e2ed8aff81edc97aafef3b52a6d7

changes defaults for snap apps

view details

Kevin K

commit sha 52cfa91974cb29188749cd92ae9e7186f322c3af

hides output for sccache check

view details

push time in 2 months

issue commentredsift/redbpf

cargo bpf build failure on Fedora

Fedora 32 which currently ships with kernel 5.7.14. I tried it on a few 5.7.x kernels but all had the same result.

kbknapp

comment created time in 2 months

issue openedredsift/redbpf

cargo bpf build failure on Fedora

Just compiling the hello example on fedora gives the error:

$ cargo bpf build
[ .. snip .. ]
   Compiling redbpf-probes v1.0.1
error: failed to run custom build command for `redbpf-probes v1.0.1`

Caused by:
  process didn't exit successfully: `/mnt/storage/Projects/hello-bpf/target/bpf/release/build/redbpf-probes-a7fe94a0d7f9d765/build-script-build` (exit code: 101)
  --- stderr
  /lib/modules/5.7.12-200.fc32.x86_64/source/include/net/flow_offload.h:304:4: error: use of undeclared identifier 'KBUILD_MODNAME'
  /lib/modules/5.7.12-200.fc32.x86_64/source/include/net/flow_offload.h:338:3: error: use of undeclared identifier 'KBUILD_MODNAME'
  /lib/modules/5.7.12-200.fc32.x86_64/source/include/net/flow_offload.h:342:3: error: use of undeclared identifier 'KBUILD_MODNAME'
  /lib/modules/5.7.12-200.fc32.x86_64/source/include/net/flow_offload.h:304:4: error: use of undeclared identifier 'KBUILD_MODNAME', err: true
  /lib/modules/5.7.12-200.fc32.x86_64/source/include/net/flow_offload.h:338:3: error: use of undeclared identifier 'KBUILD_MODNAME', err: true
  /lib/modules/5.7.12-200.fc32.x86_64/source/include/net/flow_offload.h:342:3: error: use of undeclared identifier 'KBUILD_MODNAME', err: true
  thread 'main' panicked at 'failed to generate bindings: ()', /home/kevin/.cargo/registry/src/github.com-1ecc6299db9ec823/redbpf-probes-1.0.1/build.rs:74:10
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: failed to compile the `block_http' program

Following the exact same instructions on Ubuntu 20.04 yields a successful build.

created time in 2 months

push eventkbknapp/dotfiles

Kevin K

commit sha 2f3eb5fc82beeabdd5795cf3f6d9745ed0b3a3ce

updates alacritty config

view details

push time in 3 months

push eventkbknapp/dotfiles

Kevin K

commit sha 2294683b711d37de151065e4fa648ae75aa9bebd

adds kde notification tricks

view details

push time in 3 months

more