nobe4

Results 22 issues of nobe4

During local development of a transparent proxy, I encountered a couple of _interesting_ behaviors. I tried to send an authenticated request to `http://localhost:8080` and was able to do it with:...

feedback

### Describe the bug `gh api` adds a header not displayed with `GH_DEBUG=api` ### Steps to reproduce the behavior 1. In a terminal, run ``` nc -l -p 8080 ```...

bug
p3
gh-api

Hi GitHub 👋 I've noticed that https://github.com/github/entitlements-app/blob/main/docs/reorgs.md is empty. Re-Orgs can be pretty intense and some explanation as to how Entitlements function under this scenario would be lovely. Thanks ❤️

This would allow for an easier edit back when the file is installed. E.g. ```xml ... ```

**Is your feature request related to a problem? Please describe.** I worked on https://github.com/github/redacting-logger/pull/48 and didn't find an easy answer to "what is the format used for tokens?" **Describe the...

docs
enhancement

https://github.com/AlecAivazis/survey has been archived and won't received updates in the future. It is used in https://github.com/cli/go-gh/blob/25db6b99518c88e03f71dbe9e58397c4cfb62caf/pkg/prompter/prompter.go#L10 It should probably be moved to another library.

# Problem statement While working on [`gh-not`](https://github.com/nobe4/gh-not) I started experimenting with Actors interacting with the GitHub API. A very simple one would be to mark a notification as `read`, as...

As discussed in https://github.com/cli/go-gh/issues/161, this might be one other fix for supporting empty bodies from the server. The test is a POC, and should probably be refactored into something better.

external

This PR is a showcase of solution 1 for https://github.com/cli/go-gh/issues/161. It adds an empty body check before trying to unmarshall it.

external

Consider the following code: ```go package main import ( "fmt" "github.com/fatih/color" ) func main() { a := color.New(color.FgRed).SprintFunc()("aaa") b := color.New(color.FgBlue).SprintFunc()("bbb") c := color.New(color.Underline).SprintFunc()(a + b) fmt.Println(c) d := color.New(color.Underline).SprintFunc()("aaabbb")...