From da1ffdd817557e6f369c84c26b4acaa2f6ce0a7b Mon Sep 17 00:00:00 2001 From: Andrew Date: Sun, 10 Jun 2018 03:15:58 +0300 Subject: [PATCH] Changed name to andrewzolotukhin --- .travis.yml | 10 +- README.md | 10 +- _sample_configs/complex_config.yml | 6 +- .../content/posts/configuration/attributes.md | 2 +- _site/content/posts/installation.md | 6 +- _site/content/posts/modules/gcal.md | 2 +- _site/content/posts/modules/git.md | 2 +- _site/content/posts/modules/github.md | 4 +- _site/content/posts/overview.md | 2 +- _site/themes/hyde-hyde/layouts/index.html | 4 +- .../hyde-hyde/layouts/partials/sidebar.html | 2 +- bamboohr/item.go | 2 +- bamboohr/widget.go | 2 +- bargraph/widget.go | 2 +- blockfolio/widget.go | 2 +- cfg/config_files.go | 4 +- clocks/clock.go | 2 +- clocks/display.go | 2 +- clocks/widget.go | 2 +- cmdrunner/widget.go | 2 +- cryptoexchanges/bittrex/widget.go | 2 +- cryptoexchanges/cryptolive/widget.go | 2 +- docs/404.html | 2 +- docs/categories/index.html | 2 +- docs/index.html | 6 +- docs/index.xml | 4 +- .../posts/configuration/attributes/index.html | 4 +- docs/posts/configuration/index.html | 2 +- docs/posts/configuration/iterm2/index.html | 2 +- docs/posts/glossary/index.html | 2 +- docs/posts/index.html | 2 +- docs/posts/index.xml | 4 +- docs/posts/installation/index.html | 8 +- docs/posts/modules/bamboohr/index.html | 2 +- docs/posts/modules/bittrex/index.html | 2 +- docs/posts/modules/clocks/index.html | 2 +- docs/posts/modules/cmdrunner/index.html | 2 +- .../cryptocurrencies/bittrex/index.html | 2 +- .../cryptocurrencies/cryptolive/index.html | 2 +- docs/posts/modules/cryptolive/index.html | 2 +- docs/posts/modules/gcal/index.html | 4 +- docs/posts/modules/git/index.html | 4 +- docs/posts/modules/github/index.html | 6 +- docs/posts/modules/index.html | 2 +- docs/posts/modules/ipinfo/index.html | 2 +- docs/posts/modules/jira/index.html | 2 +- docs/posts/modules/newrelic/index.html | 2 +- docs/posts/modules/opsgenie/index.html | 2 +- docs/posts/modules/power/index.html | 2 +- docs/posts/modules/prettyweather/index.html | 2 +- docs/posts/modules/security/index.html | 2 +- docs/posts/modules/textfile/index.html | 2 +- docs/posts/modules/todo/index.html | 2 +- docs/posts/modules/weather/index.html | 2 +- docs/posts/overview/index.html | 4 +- docs/tags/index.html | 2 +- gcal/client.go | 2 +- gcal/widget.go | 2 +- git/display.go | 2 +- git/git_repo.go | 2 +- git/widget.go | 2 +- github/display.go | 2 +- github/widget.go | 2 +- gspreadsheets/client.go | 2 +- gspreadsheets/widget.go | 2 +- help/help.go | 10 +- ipapi/widget.go | 2 +- ipinfo/widget.go | 2 +- jira/widget.go | 2 +- newrelic/widget.go | 2 +- opsgenie/widget.go | 2 +- power/battery.go | 2 +- power/battery_linux.go | 2 +- power/source.go | 2 +- power/widget.go | 2 +- prettyweather/widget.go | 2 +- security/dns.go | 2 +- security/firewall.go | 2 +- security/users.go | 2 +- security/widget.go | 2 +- security/wifi.go | 2 +- status/widget.go | 2 +- system/system_info.go | 2 +- system/widget.go | 2 +- textfile/widget.go | 2 +- todo/display.go | 2 +- todo/widget.go | 4 +- weather/display.go | 2 +- weather/widget.go | 2 +- wtf.go | 54 +++--- wtf/config_files.go | 172 ++++++++++++++++++ wtf_tests/position_test.go | 2 +- wtf_tests/utils_test.go | 2 +- 93 files changed, 323 insertions(+), 151 deletions(-) create mode 100644 wtf/config_files.go diff --git a/.travis.yml b/.travis.yml index b20b9c4a..c90dfc89 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,9 +4,9 @@ go: sudo: false before_install: # Make sure travis builds work for forks - - mkdir -p $TRAVIS_BUILD_DIR $GOPATH/src/github.com/senorprogrammer - - test ! -d $GOPATH/src/github.com/senorprogrammer/wtf && mv $TRAVIS_BUILD_DIR $GOPATH/src/github.com/senorprogrammer/wtf || true - - export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/senorprogrammer/wtf - - cd $HOME/gopath/src/github.com/senorprogrammer/wtf + - mkdir -p $TRAVIS_BUILD_DIR $GOPATH/src/github.com/andrewzolotukhin + - test ! -d $GOPATH/src/github.com/andrewzolotukhin/wtf && mv $TRAVIS_BUILD_DIR $GOPATH/src/github.com/andrewzolotukhin/wtf || true + - export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/andrewzolotukhin/wtf + - cd $HOME/gopath/src/github.com/andrewzolotukhin/wtf -script: go get ./... && go get github.com/go-test/deep && go test -v github.com/senorprogrammer/wtf/wtf_tests +script: go get ./... && go get github.com/go-test/deep && go test -v github.com/andrewzolotukhin/wtf/wtf_tests diff --git a/README.md b/README.md index d9a53bd7..5e2177ac 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@

- +

@@ -20,13 +20,13 @@ displaying infrequently-needed, but very important, daily data. **Note:** WTF is _only_ compatible with Go versions **1.9.2** or later. It currently _does not_ compile with `gccgo`. ```bash -go get -u github.com/senorprogrammer/wtf -cd $GOPATH/src/github.com/senorprogrammer/wtf +go get -u github.com/andrewzolotukhin/wtf +cd $GOPATH/src/github.com/andrewzolotukhin/wtf make install make run ``` -Or [download the latest binary](https://github.com/senorprogrammer/wtf/releases). +Or [download the latest binary](https://github.com/andrewzolotukhin/wtf/releases). ## Support @@ -48,7 +48,7 @@ Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduc ## Authors -* Chris Cummer, [senorprogrammer](https://github.com/senorprogrammer) +* Chris Cummer, [andrewzolotukhin](https://github.com/andrewzolotukhin) ## License diff --git a/_sample_configs/complex_config.yml b/_sample_configs/complex_config.yml index 57e3f41c..52fc8507 100644 --- a/_sample_configs/complex_config.yml +++ b/_sample_configs/complex_config.yml @@ -108,7 +108,7 @@ wtf: width: 3 refreshInterval: 8 repositories: - - "/Users/chris/go/src/github.com/senorprogrammer/wtf" + - "/Users/chris/go/src/github.com/andrewzolotukhin/wtf" github: enabled: true position: @@ -119,8 +119,8 @@ wtf: refreshInterval: 300 repositories: repo-name: "owner id" - wtf: "senorprogrammer" - username: "senorprogrammer" + wtf: "andrewzolotukhin" + username: "andrewzolotukhin" jira: colors: rows: diff --git a/_site/content/posts/configuration/attributes.md b/_site/content/posts/configuration/attributes.md index 2850875e..0339bcdf 100644 --- a/_site/content/posts/configuration/attributes.md +++ b/_site/content/posts/configuration/attributes.md @@ -5,7 +5,7 @@ draft: false --- The following top-level attributes are configurable in `config.yml`. -See this example config file for more details. +See this example config file for more details. ```yaml wtf: diff --git a/_site/content/posts/installation.md b/_site/content/posts/installation.md index dcc4aafa..51c230cc 100644 --- a/_site/content/posts/installation.md +++ b/_site/content/posts/installation.md @@ -11,8 +11,8 @@ There are two ways to install WTF: Get this repo and install the dependencies: ```bash -go get -u github.com/senorprogrammer/wtf -cd $GOPATH/src/github.com/senorprogrammer/wtf +go get -u github.com/andrewzolotukhin/wtf +cd $GOPATH/src/github.com/andrewzolotukhin/wtf make install make run ``` @@ -23,7 +23,7 @@ and that should probably do it. Grab the latest version from here: ```bash -https://github.com/senorprogrammer/wtf/releases +https://github.com/andrewzolotukhin/wtf/releases ``` expand it, and `cd` into the resulting directory. Then run: diff --git a/_site/content/posts/modules/gcal.md b/_site/content/posts/modules/gcal.md index ef6a70dd..57528fb9 100644 --- a/_site/content/posts/modules/gcal.md +++ b/_site/content/posts/modules/gcal.md @@ -9,7 +9,7 @@ Displays your upcoming Google calendar events. gcal screenshot **Not:** Setting up access to Google Calendars for Go is a bit unobvious. Check out Google's [Go Quickstart](https://developers.google.com/calendar/quickstart/go) -first and if you have problems, then take a look at this [comment by WesleydeSouza](https://github.com/senorprogrammer/wtf/issues/83#issuecomment-393665229) which offers a slightly different approach. +first and if you have problems, then take a look at this [comment by WesleydeSouza](https://github.com/andrewzolotukhin/wtf/issues/83#issuecomment-393665229) which offers a slightly different approach. ## Source Code diff --git a/_site/content/posts/modules/git.md b/_site/content/posts/modules/git.md index e0a6a1f2..d47a17fa 100644 --- a/_site/content/posts/modules/git.md +++ b/_site/content/posts/modules/git.md @@ -62,7 +62,7 @@ git: width: 2 refreshInterval: 8 repositories: - - "/Users/chris/go/src/github.com/senorprogrammer/wtf" + - "/Users/chris/go/src/github.com/andrewzolotukhin/wtf" - "/Users/user/fakeapp" ``` diff --git a/_site/content/posts/modules/github.md b/_site/content/posts/modules/github.md index 3cfee576..c0b93f4f 100644 --- a/_site/content/posts/modules/github.md +++ b/_site/content/posts/modules/github.md @@ -58,8 +58,8 @@ github: refreshInterval: 300 repositories: wesker-api: "UmbrellaCorp" - wtf: "senorprogrammer" - username: "senorprogrammer" + wtf: "andrewzolotukhin" + username: "andrewzolotukhin" ``` ### Attributes diff --git a/_site/content/posts/overview.md b/_site/content/posts/overview.md index 126715d7..14745096 100644 --- a/_site/content/posts/overview.md +++ b/_site/content/posts/overview.md @@ -12,7 +12,7 @@ visible, but might check in on every now and then. ## Quick Start -1. Download the stand-alone, compiled binary. +1. Download the stand-alone, compiled binary. 2. Unzip the downloaded file. 3. From the command line, `cd` into the newly-created `/wtf` directory. 4. From the command line, run the app: `./wtf` diff --git a/_site/themes/hyde-hyde/layouts/index.html b/_site/themes/hyde-hyde/layouts/index.html index d6fed31f..88cef7ab 100644 --- a/_site/themes/hyde-hyde/layouts/index.html +++ b/_site/themes/hyde-hyde/layouts/index.html @@ -27,8 +27,8 @@ It even has weather. And clocks. And emoji.

- Download Latest - Source on Github + Download Latest + Source on Github Chat on Gitter

diff --git a/_site/themes/hyde-hyde/layouts/partials/sidebar.html b/_site/themes/hyde-hyde/layouts/partials/sidebar.html index 7d593f21..a1f9fc61 100644 --- a/_site/themes/hyde-hyde/layouts/partials/sidebar.html +++ b/_site/themes/hyde-hyde/layouts/partials/sidebar.html @@ -17,7 +17,7 @@

- + diff --git a/docs/posts/modules/clocks/index.html b/docs/posts/modules/clocks/index.html index 71a519c8..e2814986 100644 --- a/docs/posts/modules/clocks/index.html +++ b/docs/posts/modules/clocks/index.html @@ -58,7 +58,7 @@ - + diff --git a/docs/posts/modules/gcal/index.html b/docs/posts/modules/gcal/index.html index fa6de93d..d459e933 100644 --- a/docs/posts/modules/gcal/index.html +++ b/docs/posts/modules/gcal/index.html @@ -58,7 +58,7 @@ - +