Skip to content

Commit

Permalink
Remove noaa-proxy subcommand
Browse files Browse the repository at this point in the history
  • Loading branch information
frioux committed May 29, 2019
1 parent c0b5d13 commit 499153a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 64 deletions.
18 changes: 0 additions & 18 deletions README.mdwn
Expand Up @@ -236,24 +236,6 @@ $ netrc-password google.com me@gmail.com
supersecretpassword
```

### `noaa-proxy`

`noaa-proxy` creates a proxy for https://tgftp.nws.noaa.gov, but http, and listening on
9090. This is because Ubuntu 18.04 ships with [taffybar]() 0.4.6, which only
supports http for the weather widgets and has hardcoded URLs.

To install, add this line to your hosts file:

```
127.0.0.1 tgftp.nws.noaa.gov
```

And run this iptables command:

```
iptables -t nat -A OUTPUT -o lo -p tcp --dport 80 -j REDIRECT --to-port 9090
```

### `pomotimer`

`pomotimer` starts a timer for 25m or the duration expressed in the first
Expand Down
2 changes: 0 additions & 2 deletions cmd/leatherman/dispatch.go
Expand Up @@ -17,7 +17,6 @@ import (
"github.com/frioux/leatherman/internal/tool/groupbydate"
"github.com/frioux/leatherman/internal/tool/minotaur"
"github.com/frioux/leatherman/internal/tool/netrcpassword"
"github.com/frioux/leatherman/internal/tool/noaa"
"github.com/frioux/leatherman/internal/tool/pomotimer"
"github.com/frioux/leatherman/internal/tool/prependemojihist"
"github.com/frioux/leatherman/internal/tool/replaceunzip"
Expand Down Expand Up @@ -51,7 +50,6 @@ func init() {
"group-by-date": groupbydate.Run,
"minotaur": minotaur.Run,
"netrc-password": netrcpassword.Run,
"noaa-proxy": noaa.Proxy,
"pomotimer": pomotimer.Run,
"prepend-emoji-hist": prependemojihist.Run,
"render-mail": email.Render,
Expand Down
44 changes: 0 additions & 44 deletions internal/tool/noaa/noaa.go

This file was deleted.

0 comments on commit 499153a

Please sign in to comment.