profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/davidbanham/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.
David Banham davidbanham notbad.software Sydney https://davidbanham.com I build things! Software, products, companies, teams.

davidbanham/connect-level 9

A connect/express session store backed by LevelDB via LevelUP

davidbanham/cloudflare_dyndns 6

Updates Cloudflare with the web-accessible IP of the machine it runs on

davidbanham/cavalry 4

The per-machine worker process for Field Marshal

davidbanham/banhamslaw 1

Your ability to procure caffiene is inversely proportional to your need for it

davidbanham/cachefly-git 1

Simple bash bridge that watches git repos for changes, then rsyncs them somewhere. Designed to provide a link from git to cachefly (who are awesome by the way).

davidbanham/analyser 0

How loud is it?

davidbanham/audio-cordova 0

Component to facilitate playing audio on Cordova apps

davidbanham/auth 0

A generically useful authentication and authorisation server based on a heirarchy-free inter-entity permission system

PR opened arch-mage/mdb

Add missing err check

Hey! This missing err check tripped me up so I added it in. I was trying to read an invalid mdb database and it later failed with a segfault.

Cheers for the lib!

+3 -0

0 comment

1 changed file

pr created time in 20 days

push eventdavidbanham/mdb

David Banham

commit sha a1c9e452f760f6f8d4d05bafae729f5208f2ea58

Add missing err check

view details

push time in 20 days

fork davidbanham/mdb

mdbtools port for go

fork in 20 days

issue closeddavidbanham/express-async-errors

Not working with typescript

Hi,

Recently we switched from JS to TypeScript. Everything works fine after proper configuration except this package. We tried every crazy idea which came in our mind, but nothing helped.

We are using require('express-async-errors'); at the top of the app.ts, but it seems that errors which are thrown in async functions are not catched.

Before TS everything worked, but now I am getting the following error:

This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:

Any idea or workaround? I do not want to wrap every route.

Thanks, ty.

closed time in 2 months

tyukesz

create barnchdavidbanham/kewpie_go

branch : debug

created branch time in 2 months

release davidbanham/kewpie_go

v3.2.2

released time in 2 months

created tagdavidbanham/kewpie_go

tagv3.2.2

Kewpie implementation for Go

created time in 2 months

push eventdavidbanham/kewpie_go

David Banham

commit sha b6475786f1266598acbbf8bdba6ec739fd0bae81

Also log headers

view details

push time in 2 months

release davidbanham/kewpie_go

v3.2.1

released time in 2 months

created tagdavidbanham/kewpie_go

tagv3.2.1

Kewpie implementation for Go

created time in 2 months

push eventdavidbanham/kewpie_go

David Banham

commit sha f1d4806a3a33dc03c0e0867cb453fd70aeca12d6

Log string rather than bytes

view details

David Banham

commit sha 11363d1998e388cbf08a69a2020483ac92da4bde

Also log r.Form for invalid JSON bodies Helps to debug why the body might be blank

view details

push time in 2 months

created tagdavidbanham/kewpie_go

tagv3.2.0

Kewpie implementation for Go

created time in 2 months

release davidbanham/kewpie_go

v3.2.0

released time in 2 months

push eventdavidbanham/kewpie_go

David Banham

commit sha 0c14adf619836c6bfc698f1ca0d45f5d998cab92

Set content-type to application/json for cloud tasks Turns out Google Cloud Tasks doesn't set this without being explicitly told. Experimentally, it might also be inconsistent with whether it leaves it blank or sets it to application/octet-stream. If it's blank, then r.ParseForm() will consume the body, leaving the FromHTTP function to read in a blank body and fail. If the Content-Type header is set to either json or octet-stream, the an r.ParseForm() call will ignore the body, leaving it intact for FromHTTP. This is relevant in cases where there may be some middleware in line before your SubscribeHTTP call that might call ParseForm and gazzump your body.

view details

push time in 2 months

created tagdavidbanham/kewpie_go

tagv3.1.1

Kewpie implementation for Go

created time in 2 months

release davidbanham/kewpie_go

v3.1.1

released time in 2 months

push eventdavidbanham/kewpie_go

David Banham

commit sha 1bbfd90cbec140d833d87cb6b39f15fd62008181

Fix order of debug log

view details

push time in 2 months

created tagdavidbanham/kewpie_go

tagv3.1.0

Kewpie implementation for Go

created time in 2 months

release davidbanham/kewpie_go

v3.1.0

released time in 2 months

push eventdavidbanham/kewpie_go

David Banham

commit sha 1a5101a1482723cb996c31efe20d5e36a9ee5c76

Log invalid body when non-JSON task is received

view details

push time in 2 months

created tagdavidbanham/notifications

tagv1.2.13

Notification driver for go

created time in 3 months

push eventdavidbanham/notifications

David Banham

commit sha 6c959030c165059f8e2ace6e40349603393884a1

Update marcel version

view details

push time in 3 months

created tagdavidbanham/marcel

tagv0.0.11

An email MIME artist for golang

created time in 3 months

push eventdavidbanham/marcel

David Banham

commit sha d048d1ac9f5637587b4ce5b1e47cef2424d34b25

Only use rfc2047 when required Turns out some recipients don't handle encoded words properly. This was causing a garbled subject in Freshdesk, so only use it when required.

view details

push time in 3 months

created tagdavidbanham/notifications

tagv1.2.12

Notification driver for go

created time in 3 months

push eventdavidbanham/notifications

David Banham

commit sha dd0249f4670068ff3a39227cfe190f9aa9d9104c

Handle long subjects with new encoding

view details

push time in 3 months

created tagdavidbanham/marcel

tagv0.0.10

An email MIME artist for golang

created time in 3 months

push eventdavidbanham/marcel

David Banham

commit sha aafc7e86992492762d84a5834d0cb8ffcdaa00f8

Handle long subjects in the new encoding style

view details

push time in 3 months

created tagdavidbanham/notifications

tagv1.2.11

Notification driver for go

created time in 3 months

push eventdavidbanham/notifications

David Banham

commit sha 2920256160530f2166e1d08f5b08df8315488b28

Handle non-ASCII subjects

view details

push time in 3 months