Small tweaks to several pages. Adding Tasks and contact pages. Template: Changed title, modified navbar

This commit is contained in:
David Thurstenson 2017-01-11 15:26:14 -06:00
parent 9a07da1ad1
commit 7c7c0547d7
7 changed files with 61 additions and 33 deletions

View File

@ -50,12 +50,12 @@ Term 2::
== Tables ==
| Column 1 | Column 2 | Column 3 |
| --------------------- | ----------------------------------- | -------- |
| Data 1 | Data 2 | Data 3 |
| this takes rows below | this takes the next collumn as well | > |
| \/ | > | > |
| Data 4 | | |
| Column 1 | Column 2 | Column 3 |
|-----------------------|----------------------------------------------------------------------------------|----------|
| Data 1 | Data 2 | Data 3 |
| this takes rows below | this takes the next collumn as well and will not wrap this text to the next line | > |
| \/ | Data 5 | > |
| Data 4 | | |
== Preformatted Text ==

16
Tasks.wiki Normal file
View File

@ -0,0 +1,16 @@
=Tasks=
==General==
==Wiki==
===Pages===
* [ ] Thurstylark-VPS
* [ ] Cgit
* [ ] Apache
===Template===
* [ ] Figure out TOC
* [ ] Finish building out navbar
* [ ] Change page title to "Thurstylark Wiki -- %title%"
* [ ] Breadcrumbs?

View File

@ -1,8 +1,9 @@
=Thurstylark-VPS=
Just a little Linode vps running arch, but it's a powerful little sucker.
Just a little Linode VPS running Arch, but it's a powerful little sucker.
==Services==
* Cgit
* Apache
* [[Weechat]]

View File

@ -12,6 +12,7 @@ Requirements:
The best option so far is weechat run in a multiplexer like tmux.
----
==Starting Weechat==
Easiest way to get this done is to start weechat at boot with a systemd system service:
@ -37,6 +38,7 @@ WantedBy=multi-user.target
* I run this service as my user and group, because I use the default locations for weechat config: `~/.weechat/`. This greatly simplifies weechat configuration.
* tmux configuration needs to be passed to tmux by using `-t /path/to/config`. Full path is used just to be thorough.
----
==Configuring tmux==
tmux needs a configuration to disable the status bar, visual bell, and other things that won't be useful in this setup.
@ -122,6 +124,7 @@ I will usually use this within yet another tmux session, so I end up needing to
* `C-a a d`: Disconnect the nested session from this client.
* `C-a a :`: Get command prompt on nested session
----
==Weechat Relay==
Here are all the options related to weechat relay:
@ -176,17 +179,26 @@ Here are all the options related to weechat relay:
* `relay.port.weechat = 9001`
* The relay client will want to know this.
===Reference===
* https://weechat.org/files/doc/stable/weechat_user.en.html#relay_plugin
----
==Workstation Client==
By far, the most use of weechat will be from a workstation. With this setup, the only requirements of the client is ssh or mosh. I prefer mosh in this case because of it's reconnect capabilities, making it much less painful to keep a session running on a mobile workstation.
Also, the easiest way to launch this connection is to run literally `weechat`, so I set up a couple aliases for this:
Also, the easiest way to launch this connection is to run literally `weechat`, so I set up a couple aliases for this in my `~/.bashrc` (found [[https://git.thurstylark.com/vcsh/bashrc.git/tree/.bashrc|here]]):
{{{class="prettyprint"
# If you don't have weechat installed, connect to the existing screen session through mosh
# If you don't have weechat installed, connect to the existing tmux session through mosh
[[ ! -s /usr/bin/weechat ]] && alias weechat='mosh vps -- tmux attach -dt weechat'
# If you are thurstylark-vps, connect to the existing screen session locally
# If you are thurstylark-vps, connect to the existing tmux session locally
[[ "$HOSTNAME" = "thurstylark-vps" ]] && alias weechat='tmux attach -dt weechat'
}}}
This gets run when bash starts, so this allows me to use the same `~/.bashrc` on the client and the server. More details on the Bash page.
The only thing not noted is that if the client has weechat installed (to /usr/bin/weechat) and `$HOSTNAME` is not "thurstylark-vps", an alias for 'weechat' will not be created, and weechat will launch normally.
Configuration that allows one to use an arbitrary string as a hostname for ssh/mosh can be found on the ssh config page.

7
contact.wiki Normal file
View File

@ -0,0 +1,7 @@
=Contact Info=
| Service | |
|----------------|-----------------------|
| Email | thurstylark@gmail.com |
| IRC (Freenode) | thurstylark |
| Twitter | @thurstylark |

View File

@ -67,37 +67,25 @@ $("table").addClass("table table-condensed table-hover");
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="active"><a href="%root_path%index.html">Wiki <span class="sr-only">(current)</span></a></li>
<li><a href="#">Link</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">Separated link</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">One more separated link</a></li>
</ul>
</li>
<li class="active"><a href="%root_path%index.html">Wiki Home<span class="sr-only">(current)</span></a></li>
</ul>
<form class="navbar-form navbar-left">
<!--<form class="navbar-form navbar-left">
<div class="form-group">
<input type="text" class="form-control" placeholder="Search">
</div>
<button type="submit" class="btn btn-default">Submit</button>
</form>
</form>-->
<ul class="nav navbar-nav navbar-right">
<li><a href="#">Link</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Other <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Action</a></li>
<li><a href="https://git.thurstylark.com/">Cgit</a></li>
<!--
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
-->
<li role="separator" class="divider"></li>
<li><a href="#">Separated link</a></li>
<li><a href="contact.html">Contact Info</a></li>
</ul>
</li>
</ul>

View File

@ -11,7 +11,11 @@
* [[Thurstylark-VPS]] -- All the services and little tweaks unique to my VPS
* [[LetsEncrypt]] -- Usage of certbot, and relevant info for Apache configuration
=== General ===
* [[Tasks]] -- Things to be done _yesterday_
* [[Formatting Cheat Sheet]]
===Dotfiles===
=== General ===
* [[Tasks]] -- Things to be done
* [[Formatting Cheat Sheet]]
[[contact|Contact Info]]