Insuline Self Titration

It has been a while since I started this post. This is a little old. Just posting it to get it out of the queue.

Back in June I took a relative to the doctor for a checkup and learned how to help my relative better control type 2 diabetes using Levemir and insulin titration. Wow, what a mouthful. I am glad the doctor did not use the words insulin titration. Titration is just a fancy word for adjusting the dosage so that a person does not get too much insulin or too little.

Read more…

Nikola 8.0.0 Linux pip shell script

Messed up my virtual environment for Nikola Static blog generator. I decided to create a small script to automate some of the process.

     #!/bin/sh
     python -m venv nikola
     cd nikola
     . bin/activate
     pip install --upgrade pip setuptools wheel
     pip install Nikola==8.0.0
     pip install --upgrade "Nikola[extras]"

Also, the doit process that Nikola uses keep tracks using gdbm. Gdbm does not work well with Microsofts one drive. I changed the dependency file DB backend of gdbm to sqlite3 in the file: nikola/lib/python3.7/site-packages/doit/cmd_base.py

or

--- nikola/lib/python3.7/site-packages/doit/cmd_base.py 2018-09-08 12:00:32.217679190 -0700
+++ cmd_base.py 2018-09-08 12:00:01.618008492 -0700
@@ -164,7 +164,7 @@
         'short':'',
         'long': 'backend',
         'type': str,
-    'default': "sqlite3",
+    'default': "dbm",
         'help': ("Select dependency file backend. [default: %(default)s]")
 }

CSV Table Test

Just testing different table types in RST from exmaples (and a definition sneak in)

Truth table for "not"

A

not A

False

True

True

False

csv-table

Frozen Delights!

Treat

Quantity

Description

Albatross

2.99

On a stick!

Crunchy Frog

1.49

If we took the bones out, it wouldn't be crunchy, now would it?

Gannet Ripple

1.99

On a stick!

List Table

Frozen Delights!

Treat

Quantity

Description

Albatross

2.99

On a stick!

Crunchy Frog

1.49

If we took the bones out, it wouldn't be crunchy, now would it?

Gannet Ripple

1.99

On a stick!

And a definition:

definition

the act of defining, or of making something definite, distinct, or clear

Happy B-Day to me 2018

Today's my double nickel. I saw this quote the other day on Pinterest. A little course, crude. Did not need the f-bomb to get the point across. However, I like it. I might be getting older, does not make me over the hill. A birthday poem for me...

Act my age?

What the fuck is that, “act my age?”

What do I care how old I am?

The Ocean is old as fuck. It will still drown your ass with vigor.

King Stimie

Time and Gravity

Last year a neighbor caught me finishing running. He asked me why. My answer was health, the need to be active, plus I have some physical bucket lists: 5k, triathlon, sailing, etc. His answer was time and gravity as in the fight against it. I like the phrase. Going to be my new category for personal health going forward.

Love Them Both

One of a the better quotes that I come accross:

"We must love them both, those whose opinions we share and those whose opinions we reject, for both have labored in the search for truth, and both have helped us in finding it." [1]

Thomas Aquinas

This quote belongs with this post:

Let us practice many acts of kindness and gentle clarity toward those we like the least.

—St. Frances de Sales

Sunday Sail with Dolphins

I went sailing with a friend. It was supposed to be just a mellow hour or two of sailing then pull my J/70 out of the water. Instead, we ended up sailing with a pod of dolphins. We did get caught in 25-mile gusts and large swells without enough weight. We had to furl the jib to get inshore. That short sail turned into a four-hour adventure.

My Suricata pfsense suppress list

I just moved from Snort to Suricata. The reason for my move is because Snort would die on rules update ever so often on my PfSense firewall. I am not sure of the cause, but I was getting concerned about a false sense of security.

I am no stating that Suricata is better than Snort. Just in my situation, I needed to try something different.

Read more…

Using Banner as a auth store for Portalgard

One of the biggest questions question with PortalGuard is what to use for the authentication store. Easiest for me would have been either the Luminis OpenDJ or Microsoft Active Directory. One of the things to consider is the flow. At the college that I work at, Banner is considered the gold standard. What this means is that if there is any conflict, Banner wins.

Read more…