~adnano

Earth

https://adnano.co

~adnano/go-gemini-devel

Last active a day ago

~adnano/vsprite-discuss

Last active 8 days ago

~adnano/vsprite-devel

Last active 8 days ago

~adnano/vsprite-announce

Last active 8 days ago

~adnano/go-gemini-announce

Last active 12 days ago

~adnano/go-collide-devel

Last active 25 days ago

~adnano/go-collide-announce

Last active 25 days ago

~adnano/kiln-announce

Last active a month ago

~adnano/astronaut-discuss

Last active a month ago

~adnano/miso-discuss

Last active 2 months ago
View more

Recent activity

[PATCH gddo] doc: Don't parse references from non-Go files 9 hours ago

From Adnan Maolood to ~sircmpwn/public-inbox

---
 doc/builder.go | 27 ---------------------------
 1 file changed, 27 deletions(-)

diff --git a/doc/builder.go b/doc/builder.go
index 0dac830..1c5e366 100644
--- a/doc/builder.go
+++ b/doc/builder.go
@@ -104,31 +104,6 @@ Loop:
	return s
}

var referencesPats = []*regexp.Regexp{
	regexp.MustCompile(`"([-a-zA-Z0-9~+_./]+)"`), // quoted path
[message trimmed]

[PATCH gddo] gddo-server: Remove unused configuration variables 15 hours ago

From Adnan Maolood to ~sircmpwn/public-inbox

---
 gddo-server/config.go | 15 ++-------------
 1 file changed, 2 insertions(+), 13 deletions(-)

diff --git a/gddo-server/config.go b/gddo-server/config.go
index e543f94..17a18a9 100644
--- a/gddo-server/config.go
+++ b/gddo-server/config.go
@@ -13,10 +13,7 @@ import (
)

const (
	userAgentEnvVar          = "USER_AGENT"
	githubTokenEnvVar        = "GITHUB_TOKEN"
[message trimmed]

[PATCH gddo] gddo-server: Remove GitHub authentication support 15 hours ago

From Adnan Maolood to ~sircmpwn/public-inbox

---
 gddo-server/client.go      |  10 ---
 httputil/transport.go      |  87 -------------------------
 httputil/transport_test.go | 126 -------------------------------------
 3 files changed, 223 deletions(-)
 delete mode 100644 httputil/transport.go
 delete mode 100644 httputil/transport_test.go

diff --git a/gddo-server/client.go b/gddo-server/client.go
index 8ceaef2..5119a14 100644
--- a/gddo-server/client.go
+++ b/gddo-server/client.go
@@ -16,8 +16,6 @@ import (
	"github.com/gregjones/httpcache"
[message trimmed]

[gddo] GitHub authentication 15 hours ago

From Adnan Maolood to ~sircmpwn/public-inbox

Currently gddo has support for authenticating with the GitHub API, as
well as built-in support for crawling certain source code sites (e.g.
GitHub, launchpad, code.google.com, etc.). With the move to Go modules,
I think it would be best to remove this functionality and let GOPROXY
deal with it. What do you think?

[PATCH gddo] gddo-server: Don't insert stub for empty examples a day ago

From Adnan Maolood to ~sircmpwn/public-inbox

This stub is what kept the 'ge' shortcut working.
---
 gddo-server/assets/site.js            | 2 +-
 gddo-server/assets/templates/pkg.html | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/gddo-server/assets/site.js b/gddo-server/assets/site.js
index 49e1d4b..eeb51d8 100644
--- a/gddo-server/assets/site.js
+++ b/gddo-server/assets/site.js
@@ -205,7 +205,7 @@ document.onkeydown = function(e) {
			}
		case "ge":
			var pkgExamples = document.querySelector("#pkg-examples")
[message trimmed]

[PATCH gddo] gddo-server: Fix error on non-existent jump modal a day ago

From Adnan Maolood to ~sircmpwn/public-inbox

Fix a JavaScript error when trying to bring up a non-existent jump modal
with the 'f' keyboard shortcut.
---
 gddo-server/assets/site.js | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/gddo-server/assets/site.js b/gddo-server/assets/site.js
index b9bdf05..49e1d4b 100644
--- a/gddo-server/assets/site.js
+++ b/gddo-server/assets/site.js
@@ -1,9 +1,5 @@
// modal
function Modal(el) {
	if (el == null) {
[message trimmed]

[PATCH gddo] gddo-server: Remove version query for static assets a day ago

From Adnan Maolood to ~sircmpwn/public-inbox

---
Let the browser handle cache busting on its own.

 gddo-server/assets/templates/graph.html  | 4 ++--
 gddo-server/assets/templates/layout.html | 6 +++---
 gddo-server/assets/templates/pkg.html    | 2 +-
 gddo-server/template.go                  | 1 -
 4 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/gddo-server/assets/templates/graph.html b/gddo-server/assets/templates/graph.html
index 08c1b3d..15fc1dd 100644
--- a/gddo-server/assets/templates/graph.html
+++ b/gddo-server/assets/templates/graph.html
@@ -2,8 +2,8 @@
[message trimmed]

[PATCH gddo] gddo-server: Ensure that footer is on bottom a day ago

From Adnan Maolood to ~sircmpwn/public-inbox

---
This patch ensures that the footer is always on the bottom of the page.

 gddo-server/assets/site.css              | 25 ++++++++++++++++++++----
 gddo-server/assets/templates/layout.html |  3 +++
 2 files changed, 24 insertions(+), 4 deletions(-)

diff --git a/gddo-server/assets/site.css b/gddo-server/assets/site.css
index e83a141..1ac77d2 100644
--- a/gddo-server/assets/site.css
+++ b/gddo-server/assets/site.css
@@ -1,9 +1,26 @@
html {
    background-color: whitesmoke;
[message trimmed]

Re: [PATCH gddo 2/3] gosrc: Remove presentation code a day ago

From Adnan Maolood to ~sircmpwn/public-inbox

On Tue Jan 26, 2021 at 5:13 PM EST, Adnan Maolood wrote:
> This code for fetching presentations is unused by gddo.

I would have also deleted the gosrc/testdata directory had it not made
for such a large patch.

[PATCH gddo 3/3] gddo-server: Remove support for browse URLs a day ago

From Adnan Maolood to ~sircmpwn/public-inbox

Remove support for importing URLs from links to online source browsers.
---
 gddo-server/browse.go      | 97 --------------------------------------
 gddo-server/browse_test.go | 40 ----------------
 gddo-server/main.go        |  4 --
 3 files changed, 141 deletions(-)
 delete mode 100644 gddo-server/browse.go
 delete mode 100644 gddo-server/browse_test.go

diff --git a/gddo-server/browse.go b/gddo-server/browse.go
deleted file mode 100644
index e74128b..0000000
--- a/gddo-server/browse.go
[message trimmed]