profile
viewpoint

a-h/dynamocapacity 57

Compare cost of DynamoDB On Demand versus your current Provisioned Capacity setup.

a-h/ansible-mongodb-cluster 17

Creating a MongoDB cluster using Ansible. Based on Ansible team examples, but without the additional complexity of sharding.

a-h/ddbimport 6

Fast DynamoDB imports

a-h/alarmclock 1

Alarm clock holiday project, written in React.

a-h/AspNetCore.Antiforgery.Aes 1

An implementation of the IAntiforgery CSRF protection mechanism for dotnet core which avoids the data protection API

a-h/configurationstore 1

Provides a central repository for configuration.

a-h/core 1

Example of dotNet core with Docker build process.

push eventa-h/min

Adrian Hesketh

commit sha cfa47240824ac2bf5889d0b8034b5f0ba023fee5

Updated README.

view details

push time in 2 days

release a-h/min

v0.0.38

released time in 2 days

created taga-h/min

tagv0.0.38

A Gemini web browser

created time in 2 days

push eventa-h/min

Adrian Hesketh

commit sha 2e1ef1c0a3b4eb3cb4960d71d5d56e3e22aa25e3

Resolve issues with args.

view details

push time in 2 days

release a-h/min

v0.0.36

released time in 2 days

created taga-h/min

tagv0.0.36

A Gemini web browser

created time in 2 days

push eventa-h/min

Adrian Hesketh

commit sha 109eab15680c02de621482e9200d1373fc16fd6b

Added version number to the arguments.

view details

push time in 2 days

release a-h/min

v0.0.35

released time in 3 days

created taga-h/min

tagv0.0.35

A Gemini web browser

created time in 3 days

push eventa-h/min

Adrian Hesketh

commit sha a7b37b0ce1bbb1afc469b7b6c164c7ad7fa9fa73

Made it possible to open files with the default browser.

view details

push time in 3 days

release a-h/min

v0.0.34

released time in 4 days

created taga-h/min

tagv0.0.34

A Gemini web browser

created time in 4 days

push eventa-h/min

Adrian Hesketh

commit sha f259e05408bc9738ba77b22221286cce6bd8971e

Handle non UTF-8 encodings, and support file downloads for non-Gemini content.

view details

push time in 4 days

delete branch a-h/compute

delete branch : dependabot/npm_and_yarn/http-proxy-1.18.1

delete time in 4 days

push eventa-h/compute

dependabot[bot]

commit sha c6c8c816ab4be36700cfbf3b113574d5806ea40b

Bump http-proxy from 1.18.0 to 1.18.1 Bumps [http-proxy](https://github.com/http-party/node-http-proxy) from 1.18.0 to 1.18.1. - [Release notes](https://github.com/http-party/node-http-proxy/releases) - [Changelog](https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md) - [Commits](https://github.com/http-party/node-http-proxy/compare/1.18.0...1.18.1) Signed-off-by: dependabot[bot] <support@github.com>

view details

Adrian Hesketh

commit sha 0ad2f840827cbae57f67e9088d25fdf3f7a708ad

Merge pull request #8 from a-h/dependabot/npm_and_yarn/http-proxy-1.18.1 Bump http-proxy from 1.18.0 to 1.18.1

view details

push time in 4 days

PR merged a-h/compute

Bump http-proxy from 1.18.0 to 1.18.1 dependencies

Bumps http-proxy from 1.18.0 to 1.18.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md">http-proxy's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/http-party/node-http-proxy/compare/1.18.0...v1.18.1">v1.18.1</a> - 2020-05-17</h2> <h3>Merged</h3> <ul> <li>Skip sending the proxyReq event when the expect header is present <a href="https://github-redirect.dependabot.com/http-party/node-http-proxy/pull/1447"><code>#1447</code></a></li> <li>Remove node6 support, add node12 to build <a href="https://github-redirect.dependabot.com/http-party/node-http-proxy/pull/1397"><code>#1397</code></a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/http-party/node-http-proxy/commit/9b96cd725127a024dabebec6c7ea8c807272223d"><code>9b96cd7</code></a> 1.18.1</li> <li><a href="https://github.com/http-party/node-http-proxy/commit/335aeeba2f0c286dc89c402eeb76af47834c89a3"><code>335aeeb</code></a> Skip sending the proxyReq event when the expect header is present (<a href="https://github-redirect.dependabot.com/http-party/node-http-proxy/issues/1447">#1447</a>)</li> <li><a href="https://github.com/http-party/node-http-proxy/commit/dba39668ba4c9ad461316e834b2d64b77e1ca88e"><code>dba3966</code></a> Remove node6 support, add node12 to build (<a href="https://github-redirect.dependabot.com/http-party/node-http-proxy/issues/1397">#1397</a>)</li> <li>See full diff in <a href="https://github.com/http-party/node-http-proxy/compare/1.18.0...1.18.1">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+10 -12

0 comment

1 changed file

dependabot[bot]

pr closed time in 4 days

startedmdom/we-are-twtxt

started time in 6 days

startedpunchcard/punchcard

started time in 7 days

issue commenta-h/min

Start min the first time: no such file or directory

I've just tested it on a Raspberry Pi Zero W (Raspbian) and Raspberry Pi 4 (running Ubuntu) that I have running around the house, both required the ARM v6 build. I've updated the README to clarify that.

m040601

comment created time in 7 days

release a-h/min

v0.0.33

released time in 7 days

created taga-h/min

tagv0.0.33

A Gemini web browser

created time in 7 days

push eventa-h/min

Adrian Hesketh

commit sha ea70a910e61d25668e2842871ebf0e9cea06c527

Add GITHUB_TOKEN password manager retrieval to the release Makefile.

view details

push time in 7 days

push eventa-h/min

Adrian Hesketh

commit sha b2204d81d04fca5a08509a885a1f027198074201

Help people to download the right Raspberry Pi binary.

view details

push time in 7 days

issue commenta-h/min

Start min the first time: no such file or directory

Thanks so much for testing it out! I've got a few pis around the house including a Pi 4, so I'll give it a go on that and validate it.

I've fixed the configuration directory issue, thanks for pointing that out.

m040601

comment created time in 7 days

push eventa-h/min

Adrian Hesketh

commit sha 74031443f7d9b920c10e487c76435f6691f0d6a2

Use the configuration location of the user's OS. Fixes #1

view details

push time in 7 days

issue closeda-h/min

Start min the first time: no such file or directory

Thanks for your work on this tool. I'm testing several clients for gemini. So far I like it. Simple, uncomplicated text formats for bookmarks/history, good colors and you seem to have a good understanding of what sane and good keyboard defaults are.

Nice if you could support the XDG standard and have min put its stuff in ~/.config/min instead of the home dir.

Nice, and very important, that you thought of releasing the precompiled binaries.

The first time one tries to run it, it doesnt' start, it complains:

Error loading history: open /home/USER/.min/history.tsv: no such file or directory

One needs to first explicitly create the config dir

mkdir ~/.min

The program then runs and automatically creates the config.ini and history.tsv

Seems to be working fine afterwards. Testing both in x64 and armv6 (raspberry pi)

Additionally, on my Raspberry Pi 1.2 b (armv7h):

file ./min

ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, Go BuildID=-6cHE7WyQ2x-ZvJ4Krdt/L5jZJZp3qJ8WtnI_3DtH/YGvvPxg3wqwhoqYkUKRz/Mp6_WOvgzmbR9kI0W9dA, strippedcat clorec

Please clarify in the README's that the binary you release as "armv6" should be ok (as I presume) to run on all raspberry pi's (zero, 1, 2, 3) except the PI 4.

closed time in 7 days

m040601

create barncha-h/min

branch : edit

created branch time in 7 days

startedbuckket/twtxt

started time in 8 days

push eventa-h/dotfiles

Adrian Hesketh

commit sha d8bf9c99360393ac061b7050397da3ba5e14b753

Added link to keyboard layout.

view details

push time in 8 days

push eventa-h/dotfiles

Adrian Hesketh

commit sha 0a929608730ad89b804d75afad81653f11ec9647

Added DZ60 keyboard layout.

view details

push time in 8 days

startedqmk/qmk_toolbox

started time in 8 days

PR opened kr1sp1n/awesome-gemini

Add github.com/a-h/min browser

Added a new Go browser.

+1 -0

0 comment

1 changed file

pr created time in 8 days

push eventa-h/awesome-gemini

Adrian Hesketh

commit sha f7038bda3a1b20dfaff55ed5d8248165eb729d23

Add github.com/a-h/min browser Added a new Go browser.

view details

push time in 8 days

fork a-h/awesome-gemini

A collection of awesome things regarding the gemini protocol ecosystem.

fork in 8 days

startedqmk/qmk_firmware

started time in 9 days

push eventa-h/min

Adrian Hesketh

commit sha 249ecd022c386f38c7e21866c47c8b325870f0df

Improve navigation flow on error states.

view details

push time in 14 days

release a-h/min

v0.0.29

released time in 14 days

created taga-h/min

tagv0.0.29

A Gemini web browser

created time in 14 days

push eventa-h/min

Adrian Hesketh

commit sha 4c1d4d2ccfcb97583a1f13ad2667ac9521a61e41

Fixed issue when link lines use tabs instead of spaces. Now support both.

view details

push time in 14 days

push eventa-h/min

Adrian Hesketh

commit sha e486d768ebc837c0b2a5c007fd2d88e6c313d535

Added installation instructions.

view details

push time in 15 days

release a-h/min

v0.0.27

released time in 15 days

created taga-h/min

tagv0.0.27

A Gemini web browser

created time in 15 days

push eventa-h/min

Adrian Hesketh

commit sha ca3fcd8694daab9615a2a0e8d196e47c2ddefceb

Fix terminal style differences based on colour scheme.

view details

push time in 15 days

release a-h/min

v0.0.26

released time in 15 days

created taga-h/min

tagv0.0.26

A Gemini web browser

created time in 15 days

push eventa-h/min

Adrian Hesketh

commit sha 6fa4988707460dc194a1554118ece106c861d79e

Change binary path.

view details

push time in 15 days

created taga-h/min

tagv0.0.25

A Gemini web browser

created time in 15 days

push eventa-h/min

Adrian Hesketh

commit sha 3c5a1748f365d8c11bd91aa5af95e44c91a34b10

Fix broken YAML.

view details

push time in 15 days

created taga-h/min

tagv0.0.24

A Gemini web browser

created time in 15 days

push eventa-h/min

Adrian Hesketh

commit sha b1fa9a16ce792b23ab310d4816a653d25fe1057e

Added goreleaser setup.

view details

push time in 15 days

push eventa-h/min

Adrian Hesketh

commit sha de20c3500ca54b8c94cb9ac882d239e109d18ace

Added Go modules setup.

view details

push time in 15 days

release a-h/gemini

v0.0.44

released time in 15 days

created taga-h/gemini

tagv0.0.44

created time in 15 days

push eventa-h/gemini

Adrian Hesketh

commit sha 5115bbf9d527a8fcf1a53c6eeaeb43c83941919a

Moved browser to github.com/a-h/min

view details

push time in 15 days

create barncha-h/min

branch : master

created branch time in 15 days

created repositorya-h/min

A Gemini web browser

created time in 15 days

push eventa-h/gemini

Adrian Hesketh

commit sha 8d7eebeeec40cadb62abf19ce1cf9944fd98f0e0

browse: Ensure sequence (nav, follow link, back, follow link, back) results in ending up at nav

view details

push time in 15 days

push eventa-h/gemini

Adrian Hesketh

commit sha eceefaa9c1a25ef288d45ecbc85eb7729cfbaa46

Added help and some additional shortcuts.

view details

push time in 15 days

push eventa-h/gemini

Adrian Hesketh

commit sha 3bed2cd62a7c15ee8f88786b28f3551ccc76f588

browse: Added persistent bookmark system.

view details

push time in 15 days

push eventa-h/gemini

Adrian Hesketh

commit sha c6ca1287dc3f526f7fbbd30aaf35844a7ecea54f

Added persistent history.

view details

push time in 16 days

push eventa-h/gemini

Adrian Hesketh

commit sha d65d6b6c4e71aecf8bc5bc69c26bbbb8cee4ba10

Added notes.

view details

push time in 16 days

push eventa-h/gemini

Adrian Hesketh

commit sha a9a93b954f80342be95927198b83a5da012c2c44

Added non persistent history (back/forward).

view details

push time in 16 days

push eventa-h/gemini

Adrian Hesketh

commit sha ee47197447e5d23be601c2bdc0ac9b5e1ed654a5

Add config system and some connection timeouts.

view details

push time in 17 days

push eventa-h/gemini

Adrian Hesketh

commit sha 2f87f7578c00946715fdbd51a4a1472906e82560

browse: Added configuration and persistent host certificate store.

view details

push time in 17 days

push eventa-h/gemini

Adrian Hesketh

commit sha 680c28b1c30fe95790d06e9c80f2e3a70a43f328

Added page scrolling.

view details

push time in 18 days

push eventa-h/gemini

Adrian Hesketh

commit sha 567e4b5d845f7a9c63aff0eed50a4cb38f25ed6f

Added home/end and top/bottom scrolling movements.

view details

push time in 18 days

push eventa-h/gemini

Adrian Hesketh

commit sha a14bb59b0dbdbaaf699dc8894d3650158ba44161

Added x-scrolling to allow all preformatted content to be displayed.

view details

push time in 18 days

push eventa-h/gemini

Adrian Hesketh

commit sha 32590cacaf8f43be518ec7fd96fb97cfcd43e53a

browser: Added scrolling.

view details

push time in 18 days

push eventa-h/gemini

Adrian Hesketh

commit sha 40723be61f773a8608668867f789bd5bebbcba52

browse: Fixed backspace.

view details

push time in 19 days

push eventa-h/gemini

Adrian Hesketh

commit sha a991ea8f3dbb9df0da0ff9f534e92346747b9534

Added word wrapping.

view details

push time in 19 days

push eventa-h/gemini

Adrian Hesketh

commit sha fdb66bcbaf1d22c16d2d1c75926fc5e50d314d54

Added link following checks.

view details

push time in 19 days

delete branch a-h/cloudwatch-embedded-metric-example

delete branch : dependabot/npm_and_yarn/remote-service/bl-4.0.3

delete time in 19 days

push eventa-h/cloudwatch-embedded-metric-example

dependabot[bot]

commit sha 2c3169ae386bd4807a84ec31784fc0078a7811a5

Bump bl from 4.0.2 to 4.0.3 in /remote-service Bumps [bl](https://github.com/rvagg/bl) from 4.0.2 to 4.0.3. - [Release notes](https://github.com/rvagg/bl/releases) - [Commits](https://github.com/rvagg/bl/compare/v4.0.2...v4.0.3) Signed-off-by: dependabot[bot] <support@github.com>

view details

Adrian Hesketh

commit sha be10fb0d4c911ba53ebcd65564ffb055795e5185

Merge pull request #3 from a-h/dependabot/npm_and_yarn/remote-service/bl-4.0.3 Bump bl from 4.0.2 to 4.0.3 in /remote-service

view details

push time in 19 days

PR merged a-h/cloudwatch-embedded-metric-example

Bump bl from 4.0.2 to 4.0.3 in /remote-service dependencies

⚠️ Dependabot is rebasing this PR ⚠️

If you make any changes to it yourself then they will take precedence over the rebase.


Bumps bl from 4.0.2 to 4.0.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rvagg/bl/releases">bl's releases</a>.</em></p> <blockquote> <h2>v4.0.3</h2> <p>Fix unintialized memory access</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rvagg/bl/commit/f659836cc84211cad41b73bad89c78f7f874c626"><code>f659836</code></a> Bumped v4.0.3</li> <li><a href="https://github.com/rvagg/bl/commit/7a4ae7f818a4ceba234f3d186a1ffb3f0a34ad0c"><code>7a4ae7f</code></a> Node v14</li> <li><a href="https://github.com/rvagg/bl/commit/d3e240e3b8ba4048d3c76ef5fb9dd1f8872d3190"><code>d3e240e</code></a> Fix unintialized memory access</li> <li><a href="https://github.com/rvagg/bl/commit/1c590ad49e10a158783ada7cc0662d9e0cc6cc11"><code>1c590ad</code></a> add license MIT tag to package.json (<a href="https://github-redirect.dependabot.com/rvagg/bl/issues/83">#83</a>)</li> <li>See full diff in <a href="https://github.com/rvagg/bl/compare/v4.0.2...v4.0.3">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+3 -3

0 comment

1 changed file

dependabot[bot]

pr closed time in 19 days

delete branch a-h/cloudwatch-embedded-metric-example

delete branch : dependabot/npm_and_yarn/bl-4.0.3

delete time in 19 days

push eventa-h/cloudwatch-embedded-metric-example

dependabot[bot]

commit sha 4e43174cf42455e6741a8a4a8c4dba94fe4e06e9

Bump bl from 4.0.2 to 4.0.3 Bumps [bl](https://github.com/rvagg/bl) from 4.0.2 to 4.0.3. - [Release notes](https://github.com/rvagg/bl/releases) - [Commits](https://github.com/rvagg/bl/compare/v4.0.2...v4.0.3) Signed-off-by: dependabot[bot] <support@github.com>

view details

Adrian Hesketh

commit sha 323cd45afa6e2645489b072a7b3463ed703652da

Merge pull request #4 from a-h/dependabot/npm_and_yarn/bl-4.0.3 Bump bl from 4.0.2 to 4.0.3

view details

push time in 19 days

PR merged a-h/cloudwatch-embedded-metric-example

Bump bl from 4.0.2 to 4.0.3 dependencies

Bumps bl from 4.0.2 to 4.0.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rvagg/bl/releases">bl's releases</a>.</em></p> <blockquote> <h2>v4.0.3</h2> <p>Fix unintialized memory access</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rvagg/bl/commit/f659836cc84211cad41b73bad89c78f7f874c626"><code>f659836</code></a> Bumped v4.0.3</li> <li><a href="https://github.com/rvagg/bl/commit/7a4ae7f818a4ceba234f3d186a1ffb3f0a34ad0c"><code>7a4ae7f</code></a> Node v14</li> <li><a href="https://github.com/rvagg/bl/commit/d3e240e3b8ba4048d3c76ef5fb9dd1f8872d3190"><code>d3e240e</code></a> Fix unintialized memory access</li> <li><a href="https://github.com/rvagg/bl/commit/1c590ad49e10a158783ada7cc0662d9e0cc6cc11"><code>1c590ad</code></a> add license MIT tag to package.json (<a href="https://github-redirect.dependabot.com/rvagg/bl/issues/83">#83</a>)</li> <li>See full diff in <a href="https://github.com/rvagg/bl/compare/v4.0.2...v4.0.3">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+5 -44

0 comment

1 changed file

dependabot[bot]

pr closed time in 19 days

issue closedsuperfly/flyctl

Feature request: Runtime environment variables

I was trying out Fly today for the first time, and I couldn't see any way to set environment variables on the runtime application so that my Docker container could pick them up.

I read the docs here: https://fly.io/docs/reference/runtime-environment/

I worked around it with a custom Dockerfile that runs a start.sh, but it seems like a bit of a hack. Have I missed something?

FROM golang:1.14 as builder
WORKDIR /go/src/app
COPY . .
RUN go mod download
RUN CGO_ENABLED=0 GOOS=linux go build -v -o app
FROM alpine:latest  
COPY --from=builder /go/src/app/app /goapp/app
WORKDIR /goapp
COPY . /throwaway
RUN cp -r /throwaway/resources ./resources || echo "No resources to copy"
RUN rm -rf /throwaway
RUN apk --no-cache add ca-certificates
EXPOSE 1965
COPY start.sh /goapp/start.sh
CMD [ "sh", "/goapp/start.sh"]

The start.sh then looks like this:

HOST_NAME=xxxxxxxxx.fly.dev /goapp/app

It's that's not great, for running non-production accounts etc. because it's sort-of hard coded into the Dockerfile.

FLY_HOSTNAME might also be a useful environment name to pass to all containers.

closed time in 19 days

a-h

issue commentsuperfly/flyctl

Feature request: Runtime environment variables

Ah, great. I didn't expect that based on the name. If the secrets command was aliased as environment I would have found it easily.

flyctl secrets set HOST_NAME=xxxxx.fly.dev did the trick.

Thanks! Great tool.

a-h

comment created time in 19 days

issue commentsuperfly/flyctl

internal_port in fly.toml should be removed

I found the confusing thing here was that the default builder doesn't look at the fly.toml file to work out the internal_port port, so the automatically generated Dockerfile doesn't expose the port. This led to my deployment failing.

codepope

comment created time in 19 days

issue openedsuperfly/flyctl

Feature request: Runtime environment variables

I was trying out Fly today for the first time, and I couldn't see any way to set environment variables on the runtime application so that my Docker container could pick them up.

I read the docs here: https://fly.io/docs/reference/runtime-environment/

I worked around it with a custom Dockerfile that runs a start.sh, but it seems like a bit of a hack. Have I missed something?

FROM golang:1.14 as builder
WORKDIR /go/src/app
COPY . .
RUN go mod download
RUN CGO_ENABLED=0 GOOS=linux go build -v -o app
FROM alpine:latest  
COPY --from=builder /go/src/app/app /goapp/app
WORKDIR /goapp
COPY . /throwaway
RUN cp -r /throwaway/resources ./resources || echo "No resources to copy"
RUN rm -rf /throwaway
RUN apk --no-cache add ca-certificates
EXPOSE 1965
COPY start.sh /goapp/start.sh
CMD [ "sh", "/goapp/start.sh"]

The start.sh then looks like this:

HOST_NAME=xxxxxxxxx.fly.dev /goapp/app

It's that's not great, for running non-production accounts etc. because it's sort-of hard coded into the Dockerfile.

FLY_HOSTNAME might also be a useful environment name to pass to all containers.

created time in 19 days

issue openedsuperfly/flyctl

Feature request: Wider range of service ports

I was trying Fly out today, and wanted to expose port 1965 on the service (the default port of the TCP service), but I had to use port 10000 instead, as per the docs:

port : A string which selects which external ports you want Fly to accept traffic on. You can configure an application to listen for global traffic on ports 80, 443, 5000, and ports 10000 - 10100.

My configuration looked like this:

app = "gemini-test-suite"

[[services]]
  internal_port = 1965
  protocol = "tcp"

  [services.concurrency]
    hard_limit = 25
    soft_limit = 20

  [[services.ports]]
    port = "10000"

  [[services.tcp_checks]]
    interval = 10000
    timeout = 2000

created time in 19 days

delete branch a-h/gemini

delete branch : browser

delete time in 19 days

push eventa-h/gemini

Adrian Hesketh

commit sha e8c1a5db821583950c59c8710f60a6e45c9c01d1

Fix bug in client which duplicates port numbers when provided.

view details

Adrian Hesketh

commit sha 41aae2f760160a4832c11bd4eb2e205befa35d4c

Merge pull request #3 from a-h/browser Fix bug in client which duplicates port numbers when provided.

view details

push time in 19 days

PR merged a-h/gemini

Fix bug in client which duplicates port numbers when provided.
+119 -14

0 comment

7 changed files

a-h

pr closed time in 19 days

PR opened a-h/gemini

Fix bug in client which duplicates port numbers when provided.
+119 -14

0 comment

7 changed files

pr created time in 19 days

push eventa-h/gemini

Adrian Hesketh

commit sha e8c1a5db821583950c59c8710f60a6e45c9c01d1

Fix bug in client which duplicates port numbers when provided.

view details

push time in 19 days

push eventa-h/gemini

Adrian Hesketh

commit sha 596749f91980cda2088d95fd0ec7d8bd70b11e85

Started simple browser.

view details

Adrian Hesketh

commit sha da5d5e5b3c423db5eac22bdc6740b435b81fde36

client: fix missing meta from server repsponses.

view details

Adrian Hesketh

commit sha bc84b2896cb5df4d31686071976af9053dca40cc

Added ability to press escape to quit input boxes.

view details

Adrian Hesketh

commit sha ffca608d27c7ff8a6570727eee29c05996dc7931

Precalulate all links to remove wasted processing.

view details

Adrian Hesketh

commit sha 091fadb330cdbbc5152ffb377b2cd24bb1c29a33

Added ability to escape from dialogs, also ensured asking for URLs.

view details

Adrian Hesketh

commit sha 4cefa05c982b542c570307cb0dcb275fdc9b536a

Minor tidy up.

view details

Adrian Hesketh

commit sha 1bd0707ccdce1eb1c1f60be4a7d583c226925f01

Merge pull request #2 from a-h/browser Add WIP browser

view details

push time in 20 days

PR merged a-h/gemini

Add WIP browser
+826 -1

0 comment

4 changed files

a-h

pr closed time in 20 days

PR opened a-h/gemini

Add WIP browser
+826 -1

0 comment

4 changed files

pr created time in 20 days

push eventa-h/gemini

Adrian Hesketh

commit sha 4cefa05c982b542c570307cb0dcb275fdc9b536a

Minor tidy up.

view details

push time in 20 days

created repositorya-h/vercel-test-next-js

created time in 20 days

push eventa-h/gemini

Adrian Hesketh

commit sha 091fadb330cdbbc5152ffb377b2cd24bb1c29a33

Added ability to escape from dialogs, also ensured asking for URLs.

view details

push time in 21 days

push eventa-h/gemini

Adrian Hesketh

commit sha ffca608d27c7ff8a6570727eee29c05996dc7931

Precalulate all links to remove wasted processing.

view details

push time in 21 days

push eventa-h/gemini

Adrian Hesketh

commit sha bc84b2896cb5df4d31686071976af9053dca40cc

Added ability to press escape to quit input boxes.

view details

push time in 21 days

create barncha-h/gemini

branch : browser

created branch time in 21 days

issue closeda-h/ddbimport

javascript part I don't understand

Hi !

Sorry to bother you but I found out your article online and wanted to try all the solutions you did to insert some csv file into DynamoDB but i dont' get this part of code :/

const batchOf = (size = 25, execute) => {
  const items = [];
  return async (item, last = false) => {
    if (item) {
      items.push(item);
    }
    if (last || items.length === size) {
      await execute(items);
      items.length = 0;
    }
  };
};

First I didn't try with thousands of lines in the csv but just 5. I don't understand how the params last can ever be true because when I tried with only 5 items it never goes to the execute part.

Second i think it's more javascript related but I don't get how can you have the item as parameter of the function ?

I mean if i try to split the function :

const batchOf = (size = 25, execute) => {
    const items = [];
    async function passItem (item, last = false) {
        if (item) {
            items.push(item);
        }
        if (last || items.length === size) {
            await execute(items);
            items.length = 0;
        }
    };
    return passItem(?, ? );  // i should pass some parameters here.. 
};

How come is it working for the parameters to be pass to the function when you do the return async ? because in my example I need the declaration of the item parameter.

If you could help me for my 2 questions it'd be greatly appreciated. Thanks a lot :)

closed time in 23 days

cybernadinou

push eventa-h/cloudwatch-embedded-metric-example

Adrian Hesketh

commit sha 421c9e86aa229536a749066f52dec25fa58e8b8f

Added configured JSON logging.

view details

push time in a month

push eventa-h/cloudwatch-embedded-metric-example

Adrian Hesketh

commit sha ca4f0a3c1a71e288821b990cffff488782f035c4

Updated to use subsegments.

view details

push time in a month

push eventa-h/minim

Adrian Hesketh

commit sha 1c6c58dc25417d659dbdabb66da74b4609c53904

First commit.

view details

push time in a month

more