diff --git a/posts/irc/weechat_ssh_and_notification.rst b/posts/irc/weechat_ssh_and_notification.rst index f2cf338..4582dc6 100644 --- a/posts/irc/weechat_ssh_and_notification.rst +++ b/posts/irc/weechat_ssh_and_notification.rst @@ -1,6 +1,6 @@ .. title: Weechat, SSH and Notification .. date: 2019-01-01 -.. updated: 2019-06-21 +.. updated: 2019-07-02 .. status: published .. tags: irc, ssh, weechat, notification, .. category: irc @@ -36,7 +36,7 @@ Configuration Let's look at the configuration to accomplish this... As mentioned in the beginning of the post, I run weechat in *tmux* on a server. So I *ssh* to the server before attaching *tmux*. The safest way to do this is to **port forward over ssh** and this can be done easily by *ssh*'ing using the following example. -.. code-block:: +.. code:: text $ ssh -R 5431:localhost:5431 server.example.com @@ -44,7 +44,7 @@ At this point, you should have port **5431** forwarded between the server and yo Once the previous step is done, you can test if it works by trying to run the *weenotify* script in server mode on your machine using the following command. -.. code-block:: +.. code:: text $ python weenotify.py -s Starting server... @@ -52,7 +52,7 @@ Once the previous step is done, you can test if it works by trying to run the *w The server is now running, you can test port forwarding from the server to make sure everything is working as expected. -.. code-block:: +.. code:: text $ telnet localhost 5431 Trying ::1... @@ -63,7 +63,7 @@ If the connection is successful then you know that port forwarding is working as Now we are ready to install the plugin in weechat and configure it. In weechat, run the following command. -.. code-block:: +.. code:: text /script search weenotify @@ -75,13 +75,13 @@ At which point, you should be greeted with the buffer shown in the screenshot be You can install the plugin with **Alt + i** and make sure it autoloads with **Alt + A**. You can get more information about working with weechat scripts by reading the help menu. You can get the scripts help menu by running the following in weechat. -.. code-block:: +.. code:: text /help script The *weenotify* plugin is installed at this stage and only needs to be configured. The plugin has a list of values that can be configured. My configuration looks like the following. -.. code-block:: +.. code:: text plugins.var.python.weenotify.enable string "on" plugins.var.python.weenotify.host string "localhost" @@ -90,7 +90,7 @@ The *weenotify* plugin is installed at this stage and only needs to be configure Each one of those configuration options can be set as shown in the example below in weechat. -.. code-block:: +.. code:: text /set plugins.var.python.weenotify.enable on diff --git a/posts/kubernetes/deploying_helm_in_your_kubernetes_cluster.rst b/posts/kubernetes/deploying_helm_in_your_kubernetes_cluster.rst index 1b0c729..f79df13 100644 --- a/posts/kubernetes/deploying_helm_in_your_kubernetes_cluster.rst +++ b/posts/kubernetes/deploying_helm_in_your_kubernetes_cluster.rst @@ -1,6 +1,6 @@ .. title: Deploying Helm in your Kubernetes Cluster .. date: 2019-03-16 -.. updated: 2019-06-21 +.. updated: 2019-07-02 .. status: published .. tags: kubernetes, helm, tiller, .. category: kubernetes @@ -48,7 +48,7 @@ This is where we start by creating a ``ServiceAccount``. The ``ServiceAccount`` We de deploy the ``ServiceAccount`` to the cluster. Save it to ``ServiceAccount.yaml``. -.. code:: yaml +.. code:: text $ kubectl apply -f ServiceAccount.yaml serviceaccount/tiller created diff --git a/posts/kubernetes/minikube_setup.rst b/posts/kubernetes/minikube_setup.rst index d3dea14..19db74a 100644 --- a/posts/kubernetes/minikube_setup.rst +++ b/posts/kubernetes/minikube_setup.rst @@ -1,6 +1,6 @@ .. title: Minikube Setup .. date: 2019-02-09 -.. updated: 2019-06-21 +.. updated: 2019-07-02 .. status: published .. tags: minikube, kubernetes, ingress, ingress-controller, .. category: kubernetes @@ -126,7 +126,7 @@ Ingress An ingress is an object of kind ``ingress`` that configures the ingress controller of your choice. -.. code:: text +.. code:: yaml --- apiVersion: extensions/v1beta1