profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/scottchiefbaker/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.

dstat-real/dstat 1273

Versatile resource statistics tool (the real one, not the Red Hat clone)

scottchiefbaker/ESP-WebOTA 206

Simple web based Over-the-Air (OTA) updates for ESP based projects

mmucklo/krumo 76

krumo repository (forked, with updates / new features)

scottchiefbaker/dool 53

Python3 compatible clone of dstat

foglcz/JSONRpc2 20

Generic JSON-RPC v2 implementation

danieljbrooks/draftsim-launch 10

Draftsim - An Online Draft Simulator for Magic: the Gathering

scottchiefbaker/EasyCapture 3

EasyCapture is a simple PHP image hosting and capturing script to make hosting images easier

scottchiefbaker/krumo 2

Krumo with new and updated features

scottchiefbaker/Arduino-Makefile 1

Arduino Makefile to simplify compiling code at the CLI

scottchiefbaker/diff-so-fancy 1

Good-lookin' diffs with diff-highlight and more

push eventscottchiefbaker/EasyCapture

Scott Baker

commit sha 58854f22099b09b22cb8e339a49cced1e1e465cf

Use five full digits for randomization

view details

push time in 3 days

push eventscottchiefbaker/EasyCapture

Scott Baker

commit sha df5adefb7862d05f533360c31846b512b0b3b566

Clarify some logic

view details

Scott Baker

commit sha f95a5bd7fc6fc12a5455355f18e641edcb43b2cc

Merge branch 'master' of github.com:scottchiefbaker/EasyCapture

view details

push time in 3 days

push eventscottchiefbaker/EasyCapture

Scott Baker

commit sha ee761cdb5f10a4b21a68ef162dd7ae03a8df4f17

E_NOTICE fixes

view details

Scott Baker

commit sha d5f52fbf1d711df05ead7ddf8fa2e68030d31cc2

Merge branch 'master' of github.com:scottchiefbaker/EasyCapture

view details

Scott Baker

commit sha 3728ac8ff7cb9a7b4434e91c2a5188c9e3d5a5f6

Some E_NOTICE fixes

view details

Scott Baker

commit sha 16f6abc6642789b0d4cf8e4631eb49167e4ff951

Default resize value is 2560 now

view details

push time in 3 days

issue openedperlancar/perl-Data-Dump-Color

Is there a way to have `Data::Dump::Color` output to `STDERR` instead of `STDOUT`?

I'm printing out some JSON and sprinkling Data::Dump::Color in my code to test things. Everytime I do this it breaks the JSON parsing because of the embedded debug output.

If there was a way to have Data::Dump::Color output to STDERR instead then the JSON would parse correctly. Is there a way to do that currently? Or would that be a complicated addition?

created time in 17 days

issue commentso-fancy/diff-so-fancy

Bypass diff-so-fancy without breaking pager? (Recommended solution attached)

You can also do git diff db235481a 629e7490c > /tmp/raw.diff

Anything that redirects, and thus doesn't require a pager, will be completely bypass d-s-f. Not sure which is best though.

hk0i

comment created time in 24 days

push eventscottchiefbaker/EasyCapture

Scott Baker

commit sha db6004c419ad82364ff7eec69f687afa6f1fcf8c

PHP 8.0 fixes

view details

push time in a month

push eventscottchiefbaker/dool

Scott Baker

commit sha 02b1c69d441764b030db5e78b4b6fb231c29f8f1

Bump the version slightly

view details

push time in a month

push eventscottchiefbaker/dool

Scott Baker

commit sha e04301dc1c6f62023dbf2828a79146e4aa5ef313

Dool is Python 3 required now

view details

Scott Baker

commit sha e12416c803f0ccc2e44271076be5f8e57656d5c2

Update the memcache plugin

view details

Scott Baker

commit sha 673bee9bbc74eca00a76f85e5fbba2ffb9346842

Make sure 'time' ends up on the very end of plugins

view details

push time in a month

push eventscottchiefbaker/diff-so-fancy

Guillermo Ramos

commit sha 754f9dfbd2085eb8241d71808dda9592b463c5a8

Fix fg/bg extraction with l.t. 2 colors

view details

Scott Baker

commit sha 84aa63854c6edb07fc4aa7b5a9933b1e78a047cf

Merge pull request #414 from gramosg/master Fix fg/bg extraction with l.t. 2 colors

view details

push time in a month

push eventso-fancy/diff-so-fancy

Guillermo Ramos

commit sha 754f9dfbd2085eb8241d71808dda9592b463c5a8

Fix fg/bg extraction with l.t. 2 colors

view details

Scott Baker

commit sha 84aa63854c6edb07fc4aa7b5a9933b1e78a047cf

Merge pull request #414 from gramosg/master Fix fg/bg extraction with l.t. 2 colors

view details

push time in a month

PR merged so-fancy/diff-so-fancy

Fix fg/bg extraction with l.t. 2 colors

Hi, this PR fixes a bug I found because I have a configuration like this:

[color "diff"]
        old = red strike

In short, it wasn't considered the case where 1) less than 2 colors are specified, with 2) at least one modifier different from bold or reverse.

The bug can be reproduced by setting git config color.diff.old "red strike" in test/test_helper/util.bash and running the test suite, but I'm not familiar enough with bats to add a regression test, as it seems to affect the configuration before the tests run.

I hope it is useful :)

+6 -4

2 comments

2 changed files

gramosg

pr closed time in a month

pull request commentso-fancy/diff-so-fancy

Fix fg/bg extraction with l.t. 2 colors

Looks good! All the tests still pass, and this will make us more resilient in the future. Thanks!

gramosg

comment created time in a month

issue commentperlancar/perl-Data-Dump-Color

Weird output when mapping true/false?

I use Data::Dump::Color exclusively for all my debug print needs. In fact @leonerd and I were discussing on IRC that we'd like to see a better debug print in future versions of Perl. Data::Dumper is pretty antiquated in 2021.

The biggest drawback I see of all the current debug printers is that they try TOO hard to make the output Perl syntax. That's nice and all but it doesn't necessarily make the best human-readable output. One of the best things about Data::Dump::Color is that it prints things in mostly human readable format. I want my debug print to be 100% human readable.

This bug is a good example of something that should be better tuned for human consumption, not machines. I don't really care what Perl does internally to track variables and link them, I care how I read/interpret the output. Because 99 times out of a 100, me (as a human) is reading the output, not the Perl interpreter.

scottchiefbaker

comment created time in a month

push eventscottchiefbaker/php-Word-Integers

Scott Baker

commit sha 198dab2afa4af4052276fa8878a0e7c0a8cdd971

Add a hash lookup to speed things up I ran 100,000 interations and went from 2.6 seconds to .4 seconds

view details

push time in a month

issue commentso-fancy/diff-so-fancy

Uninitialized value error

We purposely don't implement EVERY possible ANSI config, dim just happened to one I didn't bother to put the time towards.

Glad it's working for you.

ocsw

comment created time in a month

issue commentso-fancy/diff-so-fancy

Uninitialized value error

Thanks for providing the colors... that definitely helps.

My guess is that this bug is from your frag section which has the word dim in it. d-s-f doesn't (currently) support dim. If you just switch to to 33 bold I bet this error goes away.

Also... do you want fragments to be bold, or dim? It can't be both :)

ocsw

comment created time in a month

push eventscottchiefbaker/trob

Scott Baker

commit sha 698b0eaa1183067e229afc2a439c3c17b7bbd938

Update to JQuery v3.6.0

view details

Scott Baker

commit sha 40f764e3fa7c642442f496001f34431d4a44b374

Bump bootstrap to v5.0.1

view details

push time in a month

issue closedso-fancy/diff-so-fancy

Uninitialized value error

Since upgrading to 1.4.1 this morning, I can't run diff-so-fancy (or any git command that runs it). I get the following error from Perl:

Use of uninitialized value in addition (+) at /usr/local/bin/diff-so-fancy line 942.

closed time in a month

ocsw

issue commentso-fancy/diff-so-fancy

Uninitialized value error

Ask and ye shall receive... I just released v1.4.2 which should address this issue.

ocsw

comment created time in a month

release so-fancy/diff-so-fancy

v1.4.2

released time in a month

push eventso-fancy/diff-so-fancy

Scott Baker

commit sha 0a0cf1ce31a90a297a4fb292480cb95a0a850633

Fix a failing bats test

view details

Scott Baker

commit sha 94f2638efde8e8568114cd2810c000be26bc7ccb

Bump version so we know we're working on new stuff

view details

Scott Baker

commit sha 29a0346c01d7b45548f085f985739076150686d5

Don't include the fatpacked binary anymore... just the script to build it

view details

Scott Baker

commit sha bc255b3b73bbee4d754403d852d22776a44f5908

Merge branch 'master' into next

view details

Scott Baker

commit sha 9caa68ed490823ab90fad134980b745d4e883096

Clarify the LESS_CHARSET a little better

view details

Scott Baker

commit sha 61bbdf70ccd7d37b62bf3600d23dbb3d927f94e1

Work around an undef error (really uncommon)

view details

Scott Baker

commit sha 81f104e6cf09f03c98d5bcc6af1df227bd6dbec8

Merge branch 'next' of github.com:so-fancy/diff-so-fancy into next

view details

Scott Baker

commit sha 9145233de53f6df66a0eb79b01bdb1ffe8467049

Reorganize the header so it's more consistent with my other projects

view details

Scott Baker

commit sha c975956dac8c5d5ac5b2ef3c70bb00d636ee48f0

Use 'state' for git_config_raw()

view details

Scott Baker

commit sha 21e01bb841c8602506452459927bfb1503e4c85c

Cache parsing the git config to speed things up

view details

Scott Baker

commit sha 477079e5aabfc0635c19fa6cff25fbf0ffb907bf

Reorganize the header so it's more consistent with my other projects

view details

Scott Baker

commit sha 908184c07ae2283af95f4e056f046bd0d5b00e94

Use 'state' for git_config_raw()

view details

Scott Baker

commit sha d57346d307dcc3a71751c594ae39fbf1f3435954

Cache parsing the git config to speed things up

view details

Scott Baker

commit sha ae5632ab059bba8a0f477edaf3d4bfcf8c787638

Merge branch 'next' of github.com:so-fancy/diff-so-fancy into next

view details

Scott Baker

commit sha 2fe348f78177bce8e15601a1d0dae827b2241469

Merge branch 'master' into next

view details

Scott Baker

commit sha d4eb9da6146937a47046f38e6aae00e2ffd50968

Remove the STDERR redirect to speed up execution

view details

Scott Baker

commit sha 9b9058dcf203c8521754caa6bbc178ec871c9c34

Remove Encode to speed up startup by ~15ms

view details

Scott Baker

commit sha e0e5af4e884ace90d678fe1b11c3f03e909ff71d

Add early implementation for parsing git config color strings

view details

Scott Baker

commit sha 5ed615984e9c16445d3ab5b229015af1c5503f59

Don't use DiffHighlight to get the colors because it shells out and is slow

view details

Scott Baker

commit sha 4ef5a78ecaed8e84e01dd47de2db6d549bd94d62

Use the cached git config to set the DiffHiglight colors This should speedup start up a decent amount

view details

push time in a month

created tagso-fancy/diff-so-fancy

tagv1.4.2

Good-lookin' diffs. Actually… nah… The best-lookin' diffs. :tada:

created time in a month

release scottchiefbaker/diff-so-fancy

v1.4.2

released time in a month

created tagscottchiefbaker/diff-so-fancy

tagv1.4.2

Good-lookin' diffs with diff-highlight and more

created time in a month

push eventscottchiefbaker/diff-so-fancy

Scott Baker

commit sha 77f2e5c2c063e55a5ff14540771ffb5ce344e988

Begin work on the next version of d-s-f

view details

Scott Baker

commit sha e62880433a7d1c2453c6fc18fbcaa771a787610d

Clarify wording on a test

view details

Scott Baker

commit sha 27ef4604e1046d72f12edf34d4266da549e55a8e

Add git color support for reverse 'red bold reverse' should now work

view details

Scott Baker

commit sha 8b13b49c7c5fa8505c7c12261e66558b15098035

Use better trim logic... minor speed up

view details

Scott Baker

commit sha 433b8561072184b1a6a117e8d577d728e5d14a55

Switch to a faster implementation of char_count()

view details

Scott Baker

commit sha ed6018dfb646493f424751c1b0a75bf1cd8f9635

Add support for "brightred"

view details

Scott Baker

commit sha e5c5c5d105d1de4837aad4642fd72db027fc4fc5

Better git ansi color handling

view details

Scott Baker

commit sha 493622636b7e367b2b8bb2cc460e0dbf372dfe0a

Add an external implementation (with basic tests) of git ansi color parsing

view details

Scott Baker

commit sha 5367f9f32ff57e6ce632b0d9ae329fe60c19e758

Move git_ansi_color stuff to the tests

view details

Scott Baker

commit sha e93972f7dea3db52d12aa9828066894c5ae165ce

Support a couple more git ansi color strings

view details

Scott Baker

commit sha 35095b66cb05ff36f4998c19ced45c4d13860969

Adding tests for #411

view details

Scott Baker

commit sha 5ad99c0271c4074faeb8527750bb3ba2bd3b87d7

Use the default diff-highlight colors. Addresses #374

view details

Scott Baker

commit sha 2d634db110efe1f1ec1e527b3949551ce5c0ecfd

We cache git color stuff, so we don't need the ||= anymore

view details

Scott Baker

commit sha 5c4da1cceaa3d84983b948f9fb3bc2cddf6e9ab8

Correct the diff-highlight defaults

view details

Scott Baker

commit sha 15c702b04fddc74990ba743c6f5157cafb54f8cb

Use the defaults in diff-highlight if nothing is set in the git config

view details

Scott Baker

commit sha ea42d56c372f5f43a65dd1dffb18a3164e129cf2

Set defaults doesn't "work" unless we exit() after. Addresses #413

view details

Scott Baker

commit sha 41305305dba6393c70f3cdcdf06b4b4b917090d7

The unit tests use a pre-defined config set by the tests

view details

Scott Baker

commit sha 3bbab41282713f17ef26a0ba8379ad78de33ad14

Add debug_log() for helpful debugging later

view details

Scott Baker

commit sha 31cdf3f35f7ec9e9d9662aff1d0cee2c99744c65

Add reverse and notreverse to ANSI reveal

view details

Scott Baker

commit sha 3a0ec6409d1e7d0efc660d0638be427d26535485

Merge branch 'master' into next

view details

push time in a month

push eventso-fancy/diff-so-fancy

Scott Baker

commit sha 8b5e270aacd68be724d049db8d56a54037edfee7

Add a conditional debug print clause

view details

Scott Baker

commit sha 02c8c0085385f7d65ba35556edfc58e0f48257eb

Bump the fatpacked version

view details

push time in a month

push eventscottchiefbaker/diff-so-fancy

Scott Baker

commit sha 8b5e270aacd68be724d049db8d56a54037edfee7

Add a conditional debug print clause

view details

Scott Baker

commit sha 02c8c0085385f7d65ba35556edfc58e0f48257eb

Bump the fatpacked version

view details

push time in a month

issue commentscottchiefbaker/ESP-WebOTA

Connection reset by peer

Interesting... I have not had that issue before. I'd love a PR to update the documentation with that caveat.

pitchman

comment created time in a month

push eventscottchiefbaker/nagiosvshell

Scott Baker

commit sha b5f98d967b4a62f367125588a037d49668d12eeb

Use green/red for the button states

view details

Scott Baker

commit sha 829de1b04d015dd613f1385d1eb884608c733203

Include unknown on overview page

view details

push time in a month

pull request commentfacebook/zstd

Format File Sizes Human-Readable in the CLI

If that is indeed the case, then why don't we change the new output to also be in MB instead of MiB?

Since we're introducing the new human string format, no one is expecting it to be any format, let's make that MB. That way both units are the same.

felixhandte

comment created time in a month