Yuchen Ying

Results 51 comments of Yuchen Ying

@bassopenguin Yes at the end I figured out how to do this. Your solution is actually not complete, as there's no guarantee the `$PIHOLE_IP` will not change. In order to...

In case it might help someone else, here's the docker-compose.yaml file I'm using: https://github.com/yegle/your-dns/blob/master/docker-compose.yaml

No it's not the intended behaviour. With `ls` you can do `ls --color` and it will interpret as `ls --color=always`.

To be more specific, I want to be able to mark a flag as `optional_argument` provided in `getopt.h`, like how `color` flag was handled in `ls` http://git.savannah.gnu.org/cgit/coreutils.git/tree/src/ls.c#n845

I'm trying to do everything `getopt_long` can do to be used in `go-coreutils` project. It's nice to distinguish between "flag present without argument" and "flag not present" but for now...

Hmm, never thought about reusing a decoder for multiple flags. I was thinking about a single flag with `[]string{"a", "b"}` as Names field. I think your code works, I'll use...

This is pretty common in open source code. E.g. `ls` on OS X: > The -1, -C, -x, and -l options all override each other; the last one specified determines...

Unfortunately no, but it should be relatively easy to migrate to `absl-py`

It looks like the Javascript sets the cookie. If you open https://wq.360buyimg.com/wxsq_project/portal/m_jd_index/js/index.59127717.js and search `document.cookie=` you'll find a couple references.

Hmm actually Ruby 2.6 is EOL and maybe we should update to 2.7 instead?