Skip to content

Commit

Permalink
Merge branch 'master' into cryptolive
Browse files Browse the repository at this point in the history
  • Loading branch information
jeangovil committed Jun 2, 2018
2 parents adafcb1 + c51d6bd commit 0c6aaa4
Show file tree
Hide file tree
Showing 50 changed files with 434 additions and 105 deletions.
21 changes: 21 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
max_line_length=120

[*.go]
indent_style = tab
indent_size = 4
charset = utf-8
trim_trailing_whitespace = true

[*.html]
indent_style = tab
indent_size = 4
charset = utf-8
trim_trailing_whitespace = false

[*.md]
trim_trailing_whitespace = false
19 changes: 19 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,21 @@
### Go ###
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib

# Test binary, build with `go test -c`
*.test

# Output of the go coverage tool, specifically when used with LiteIDE
*.out

# Misc
.DS_Store
gcal/client_secret.json
#intellij idea
.idea/

dist/*
3 changes: 2 additions & 1 deletion _site/content/posts/configuration/attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ change. <br />
Values: A positive integer, `0..n`.

`term` <br />
This value is _optional_. Sets a custom value for the terminal type this app runs in. Leave this entry out of the config if you simply want to use your terminal's
_Optional_. <br />
Sets a custom value for the terminal type this app runs in. Leave this entry out of the config if you simply want to use your terminal's
default setting. <br />
**Note:** If an invalid value is provided for this setting, the app will
crash with a `"terminal entry not found"` error. <br />
Expand Down
2 changes: 2 additions & 0 deletions _site/content/posts/modules/ipinfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ draft: false

Displays your current IP address information, from ipinfo.io.

<img src="/imgs/modules/ipinfo.png" width="320" height="199" alt="ipinfo screenshot" />

## Source Code

```bash
Expand Down
64 changes: 64 additions & 0 deletions _site/content/posts/modules/prettyweather.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
---
title: "Prettyweather"
date: 2018-06-02T05:32:04-07:00
draft: false
---

**🔬 Experimental**

Displays weather information as ASCII art from
[Wttr.in](http://wttr.in).

<img src="/imgs/modules/prettyweather.png" width="320" height="191" alt="prettyweather screenshot" />

## Source Code

```bash
wtf/prettyweather/
```

## Required ENV Variables

None.

## Keyboard Commands

None.

## Configuration

```yaml
prettyweather:
enabled: true
city: "tehran"
position:
top: 3
left: 5
height: 1
width: 1
refreshInterval: 300
unit: "c"
```
### Attributes
`city` <br />
_Optional_. It will grab the current location from your IP address if
omitted.<br />
Values: The name of any city supported by [Wttr.in](http://wttr.in).

`enabled` <br />
Determines whether or not this module is executed and if its data displayed onscreen. <br />
Values: `true`, `false`.

`position` <br />
Defines where in the grid this module's widget will be displayed. <br />

`refreshInterval` <br />
How often, in seconds, this module will update its data. <br />
Values: A positive integer, `0..n`.

`unit` <br />
_Optional_. It will use metric if you are out of US and imperial for US.<br />
The temperature scale in which to display temperature values. <br />
Values: `F` for Fahrenheit, `C` for Celcius.
Binary file added _site/static/imgs/modules/ipinfo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _site/static/imgs/modules/prettyweather.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions _site/themes/hyde-hyde/layouts/partials/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ <h3 style="color: white;">Content</h3>
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/power/">Power</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/prettyweather/">PrettyWeather <span title="experimental">🔬</span></a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/textfile/">Text File</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/">Todo</a></li>
Expand Down
23 changes: 0 additions & 23 deletions dist/CHANGELOG.md

This file was deleted.

73 changes: 0 additions & 73 deletions dist/config.yaml

This file was deleted.

Binary file removed dist/darwin_amd64/wtf
Binary file not shown.
Binary file removed dist/linux_amd64/wtf
Binary file not shown.
2 changes: 0 additions & 2 deletions dist/wtf_0.0.3_checksums.txt

This file was deleted.

Binary file removed dist/wtf_0.0.3_darwin_amd64.tar.gz
Binary file not shown.
Binary file removed dist/wtf_0.0.3_linux_amd64.tar.gz
Binary file not shown.
1 change: 1 addition & 0 deletions docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ <h3 style="color: white;">Content</h3>
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/power/">Power</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/prettyweather/">PrettyWeather <span title="experimental">🔬</span></a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/textfile/">Text File</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/">Todo</a></li>
Expand Down
1 change: 1 addition & 0 deletions docs/categories/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ <h3 style="color: white;">Content</h3>
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/power/">Power</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/prettyweather/">PrettyWeather <span title="experimental">🔬</span></a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/textfile/">Text File</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/">Todo</a></li>
Expand Down
Binary file added docs/imgs/modules/ipinfo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/imgs/modules/prettyweather.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ <h3 style="color: white;">Content</h3>
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/power/">Power</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/prettyweather/">PrettyWeather <span title="experimental">🔬</span></a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/textfile/">Text File</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/">Todo</a></li>
Expand Down
18 changes: 17 additions & 1 deletion docs/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,27 @@
<description>Recent content on WTF - A Terminal Dashboard</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Fri, 01 Jun 2018 23:18:48 -0700</lastBuildDate>
<lastBuildDate>Sat, 02 Jun 2018 05:32:04 -0700</lastBuildDate>

<atom:link href="https://wtfutil.com/index.xml" rel="self" type="application/rss+xml" />


<item>
<title>Prettyweather</title>
<link>https://wtfutil.com/posts/modules/prettyweather/</link>
<pubDate>Sat, 02 Jun 2018 05:32:04 -0700</pubDate>

<guid>https://wtfutil.com/posts/modules/prettyweather/</guid>
<description>🔬 Experimental
Displays weather information as ASCII art from Wttr.in.
Source Code wtf/prettyweather/ Required ENV Variables None.
Keyboard Commands None.
Configuration prettyweather:enabled:truecity:&amp;#34;tehran&amp;#34;position:top:3left:5height:1width:1refreshInterval:300unit:&amp;#34;c&amp;#34; Attributes city Optional. It will grab the current location from your IP address if omitted.
Values: The name of any city supported by Wttr.in.
enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.
position Defines where in the grid this module&amp;rsquo;s widget will be displayed.</description>
</item>

<item>
<title>Module: IPInfo</title>
<link>https://wtfutil.com/posts/modules/ipinfo/</link>
Expand Down
4 changes: 3 additions & 1 deletion docs/posts/configuration/attributes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ <h3 style="color: white;">Content</h3>
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/power/">Power</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/prettyweather/">PrettyWeather <span title="experimental">🔬</span></a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/textfile/">Text File</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/">Todo</a></li>
Expand Down Expand Up @@ -174,7 +175,8 @@ <h3 id="attributes">Attributes</h3>
Values: A positive integer, <code>0..n</code>.</p>

<p><code>term</code> <br />
This value is <em>optional</em>. Sets a custom value for the terminal type this app runs in. Leave this entry out of the config if you simply want to use your terminal&rsquo;s
<em>Optional</em>. <br />
Sets a custom value for the terminal type this app runs in. Leave this entry out of the config if you simply want to use your terminal&rsquo;s
default setting. <br />
<strong>Note:</strong> If an invalid value is provided for this setting, the app will
crash with a <code>&quot;terminal entry not found&quot;</code> error. <br />
Expand Down
1 change: 1 addition & 0 deletions docs/posts/configuration/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ <h3 style="color: white;">Content</h3>
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/power/">Power</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/prettyweather/">PrettyWeather <span title="experimental">🔬</span></a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/textfile/">Text File</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/">Todo</a></li>
Expand Down
1 change: 1 addition & 0 deletions docs/posts/configuration/iterm2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ <h3 style="color: white;">Content</h3>
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/power/">Power</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/prettyweather/">PrettyWeather <span title="experimental">🔬</span></a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/textfile/">Text File</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/">Todo</a></li>
Expand Down
1 change: 1 addition & 0 deletions docs/posts/glossary/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ <h3 style="color: white;">Content</h3>
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/power/">Power</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/prettyweather/">PrettyWeather <span title="experimental">🔬</span></a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/textfile/">Text File</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/">Todo</a></li>
Expand Down
8 changes: 8 additions & 0 deletions docs/posts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ <h3 style="color: white;">Content</h3>
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/power/">Power</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/prettyweather/">PrettyWeather <span title="experimental">🔬</span></a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/textfile/">Text File</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/">Todo</a></li>
Expand All @@ -96,6 +97,13 @@ <h3 style="color: white;">Content</h3>
<h1 class="title">Posts</h1>
<ul class="posts">
<li>
<span>
<a href="https://wtfutil.com/posts/modules/prettyweather/">Prettyweather</a>

<time class="pull-right post-list">Jun 02, 2018</time>

</span>
</li><li>
<span>
<a href="https://wtfutil.com/posts/modules/ipinfo/">Module: IPInfo</a>

Expand Down
18 changes: 17 additions & 1 deletion docs/posts/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,27 @@
<description>Recent content in Posts on WTF - A Terminal Dashboard</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Fri, 01 Jun 2018 23:18:48 -0700</lastBuildDate>
<lastBuildDate>Sat, 02 Jun 2018 05:32:04 -0700</lastBuildDate>

<atom:link href="https://wtfutil.com/posts/index.xml" rel="self" type="application/rss+xml" />


<item>
<title>Prettyweather</title>
<link>https://wtfutil.com/posts/modules/prettyweather/</link>
<pubDate>Sat, 02 Jun 2018 05:32:04 -0700</pubDate>

<guid>https://wtfutil.com/posts/modules/prettyweather/</guid>
<description>🔬 Experimental
Displays weather information as ASCII art from Wttr.in.
Source Code wtf/prettyweather/ Required ENV Variables None.
Keyboard Commands None.
Configuration prettyweather:enabled:truecity:&amp;#34;tehran&amp;#34;position:top:3left:5height:1width:1refreshInterval:300unit:&amp;#34;c&amp;#34; Attributes city Optional. It will grab the current location from your IP address if omitted.
Values: The name of any city supported by Wttr.in.
enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.
position Defines where in the grid this module&amp;rsquo;s widget will be displayed.</description>
</item>

<item>
<title>Module: IPInfo</title>
<link>https://wtfutil.com/posts/modules/ipinfo/</link>
Expand Down
1 change: 1 addition & 0 deletions docs/posts/installation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ <h3 style="color: white;">Content</h3>
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/power/">Power</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/prettyweather/">PrettyWeather <span title="experimental">🔬</span></a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/textfile/">Text File</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/">Todo</a></li>
Expand Down
1 change: 1 addition & 0 deletions docs/posts/modules/bamboohr/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ <h3 style="color: white;">Content</h3>
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/power/">Power</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/prettyweather/">PrettyWeather <span title="experimental">🔬</span></a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/textfile/">Text File</a></li>
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/">Todo</a></li>
Expand Down
Loading

0 comments on commit 0c6aaa4

Please sign in to comment.