New-ish Chapter?

Standard

So at the push of a friend and the Mrs. I’m submitting my application for a job in the morning. Something I haven’t done since I was let go when the local company I worked for was purchased by a BIG company, and at the time they did offer me a position in Reno but wasn’t a fit that I felt right for me, thus after an extra week or two, I was fully let go.

Fast forward nearly 6 years of consulting, hosting, touch of graphic design and a lot of working for a meal later 😀 times once again are changing and while I have a few things on the docket, this is one that I once again would enter the IT Director position but at a much larger scale – sure one could say when you work on servers which power sites on the internet you work for a WORLDWIDE set of people, let’s be honest, it’s much different than desktop support.

I’m honestly interested to see what it could be. If I get the position I’d be making the largest salary I’ve ever had in my life, even working for myself, it’d mean some big changes, and honestly, I’m not sure it’s a good fit, but I’m up for a challenge.

So if you think of it, I’d appreciate a prayer or three. Final formatting adjustments on the resume in the AM, making sure the app looks good, then submitting it and saying a prayer. Could be a good thing, may say:

Woah! You’re exactly what we wanted, let’s go for the higher end of the pay scale!

At which point:

I’d of gone car, but I don’t want to set any false expectations. Plus everyone loves tacos. So tomorrow we’ll give it a go and see how things turn out, might have a new IT Directorship here soon, it starts in July if I get it, so likely a lot of legwork between now and then but one step at a time, meetings galore this week, T-Ball, Swimming, Music, etc. going to be a busy one so wrapping it all up!

Night!

Crypto Status for Onion’s Omega2+

Standard

A long time ago on the magical world of this blog, and the opinion cloud  Twitter – I teased this photo:

Well since that photo I had the folks at Onion hit me up:

I did and today, after much waiting, a finally fixed up Onion (Wifi Problems) I’m tonight online and have finalized the guide! Without further backstory… Here’s the quick and dirty guide to getting it running:

Step 1: SSH In.

Get your self all ssh’d in and get ready for some copy and paste magic first off the bat is some key elements some may already be installed so any errors you hit saying “Up to date” or “Already Installed” are safe to ignore – here’s the one-liner:

opkg update; opkg install php7-mod-openssl php7-mod-json php7 php7-cgi php7-cli bash

This will handle everything you’ll need based upon some PHP trial and error no php.ini mods are needed for PHP, just install and you’re good to grab the feeds and get things rolling.

Step 2: A sprinkle of BASH

Grab the sh file, and for this instance save it as: coins.sh – Download it here, or copy and paste below.

This is not required, but it is what I will reference this file as moving forward, so if you change it, run the change through the entire process.

[UPDATE]: If you are just wanting general coin prices? Set all values to 1, it will simply return the value of a single coin if you’re just monitoring the market in general.

#!/bin/bash

## Set Your Currency
curr=$'USD'

## Coin Amounts
ltct=$'200'
btct=$'200'
etht=$'200'
dasht=$'200'

## Clear OLED Screen
oled-exp -i

## Create Values
btc=$(php-cli coins.php 'BTC' $curr $btct)
eth=$(php-cli coins.php 'ETH' $curr $etht)
dash=$(php-cli coins.php 'DASH' $curr $dasht)
ltc=$(php-cli coins.php 'LTC' $curr $ltct)

## Display on Screen
oled-exp write "CURRENT VALUE\nLTC: $ltc\nBTC: $btc\nETH: $eth\nDASH: $dash"

Basics, set your currency I’ve got mine as USD for the US Dollar, however, you may be elsewhere in the US, just put in your currency type and you’re off!

The second edit is your coin types and amounts – I didn’t do anything fancy here, just be sure anything you add is added to the value calls in Create Values, the format is:

VARIABLE FOR OUTPUT=$(php-cli coins.php ‘COIN TYPE‘ $curr $COINAMOUNT)

Lastly is the display to the screen, and you can format this as you see fit, but the \n is a new line, so anywhere you want a linebreak add a \n.

Step 3: A pinch of PHP

This is the PHP side of things which grabs the data, name it coins.php – Download it here, or copy and paste below.

<?php

/****
coins.php (v.04a) by Chuck Brown (http://www.zagnu.com/coin-source.txt)

A simple API call to get the value of a coin in the user's desired currency, great for using in Google Sheets (Use: =IMPORTDATA("yoururl") or if you simply want to grab
the current value of a certain coin. Currently geared towards USD, but hope in next version to add proper currency markings for the amount conversion.


## Changelog

.01 -   First Release
.02 -   Adjustments to code & calling methods.
        Changed from XML output to plaintext for use of IMPORTDATA vs IMPORTXML
.03 -   Removed dual posting of plaintext price for import & added amount conversion.
        Commented code.
.04 -   Added Conversion for ATM without Value Text for Onion pull - Also adding $ for easier formatting on Onion curl call.
.04a -  This is the Omega2+ version, can then be gathered from CLI vs. Installing Apache.
***/


//Get Data
$url = file_get_contents("https://min-api.cryptocompare.com/data/price?fsym=".$argv[1]."&tsyms=".$argv[2]."");
$json = json_decode($url,true);
//Check for Amount to Convert
if ($argv[3] != '') {
$value = $argv[3] * $json[$argv[2]];
$tvalue = round($value,2);
echo "$".$tvalue;
} else {
//no amount? provide plaintext response for dollar amount.
print $json[$argv[2]];
}
?>

Now if you look at the line that reads:

echo "$".$tvalue;

The $ is your currency format, so if your not using the USD as a default, just make a quick tweak and set it to yours.

I do have a slightly more up-to-date version I’m toying with on the PHP side, with configuration options up top for easy configuration & coins to take some of the bash config out of the equation and use an array to generate, but again still a very early release.

Step 4: Schedule with Cron

This can be run fairly regularly, however, be mindful if you are wanting to say lookup values every 2 minutes, Cryptocompare.com is going to block you. So every 30 works for me:

*/30 * * * * 

However if you want to do something a tad different, work on it with Crontab.guru. Handy tool, but I give that first so you can figure out your schedule then on the command line here’s what you need to do:

chmod +x /root/coins.sh
crontab -e
[PASTE in your schedule] /root/coins.sh
:x! {PRESS ENTER}

Next with that in place simply restart cron:

/etc/init.d/cron restart

And boom, you are off and running. Now be aware that cron will take and pick up at the next window, so let’s say you used my example and said every 30 minutes? Well if it’s 11:45 PM like it is now, it won’t run again until midnight. If you are before 11:30 PM it’d run at 11 PM – pretty simple.

Wrapping up!

Again probably not the cleanest code, or the most elegant, but it does a job, and has given me a nice little readout on coin values. I’m open to any and all comments and suggestions, happy to give credit where credit is due and post updated pastes and post info as improvements are contributed!

Thanks to Onion for a great little device! Quite handy indeed!

April 17+1 (New Tax Day)

Standard

So it appears that Monopoly wasn’t far off. Bank error in my favor? Kind of lol. The IRS had some issues with their site and in turn, the 17th is now the 18th for taxes due.

I keep trying to get ahead, but this year I don’t think I’m going to wait, literally next week I’m going to find some sort of accounting software that’s a tad more robust than spreadsheets, something that can track things and it will mean a bit more leg work, but I’d much rather get more put away in savings this next year + bank more towards taxes, this year I actually didn’t come down to the wire, I had my funds already set aside, but I’d like more breathing room.

Too I’m trying to figure out how I can work Church Hosting better, I’ve considered Non-Profit, but at this point with tax law changing for 2018 taxes, non-profit giving may not be a benefit anymore, so those tithes and various causes a friend asks you to support on Facebook, will be a thing of the past, so the idea of making Church Hosting a non-profit, won’t have many benefits to getting businesses to jump on board I’d imagine. No perk for them.

But I’m praying on it, working on it. Tomorrow I’ll submit, I figured since I had a rough day (been feeling off lately) I didn’t want to push it too much, sure I have 13 minutes left before midnight, but better to wrap this tomorrow with a fresh head and just call it good. Profits growing, pretty much every year, however, I’d love to see them grow enough to add an employee, or at least employ myself as a W2’d employee.

For now, time to wrap things up, after I hit submit in the AM and e-File it all away, I’m off to coding, doc writing, and working on wrapping up some projects that have been waiting for me to wrap this, then if I can get it done before swim class, I may find something completely mindless to do – do they still have those movie theatre places? 😀 Night all.

Diabetic Road: The Average that Was.

Standard

So I had achieved an average 30 days of 130 blood sugar! I was so excited! Then I hit 3 days of spikes. Now it’s gone.

But it’s back on track this morning with a waking sugar of 119! I am trying to wrap up here shortly to get to bed, trying hard to get sleep in order if I can, as that has seemed to help, but too finding anything that has corn in it and trying to reduce intake – that’s helped greatly.

I’ve also added Mustard to my mix of supplements as eating a hotdog which should spike my sugars actually seemed to lower, the mix of relish + mustard galore is the only thing I could figure out over research that a bad eating choice as some would say ended in my sugars lowered, Mustard will do that, and so I’ve added that in and it really seems to help more than the previous suggestion of Fenugreek from my optometrist.

I don’t want to supplement my way to health still trying to eat healthily, proteins, smaller portions but more meals, good fiber intake and leafy greens (aka BIG salad!) – I do need to find more veggies I can stomach, but never been a big veggie guy, so salad, carrots, definitely my go-to.

This week wraps up a mildly stressful week, actually wrapped a call tonight on a potential programming gig, would be some decent money, a lot of time, but decent money – so that’s nice and yet some stress if it comes in, I’d have a little over a month to get it done.

I’ve tried to keep stress to a minimum when and where I can at the advice of the endocrinologist and diabetic coach, been thinking about maybe heading back to counseling, I found it useful – I’ve tried online, but something about being face to face with someone to talk it out vs typing it out, but trying to make sure I’m keeping stress down, happy up.

For now, it’s 1 AM and I’m going to call it good before someone emails in needing something lol. Night.

Diabetic Road: New Meds

Standard

This week was a tough one. Sugars have sucked since we’ve fooled around with meds a bit, the PA I was seeing and working with on meds took me off the BCise and went solely on Toujeo + Jardiance – but my system seemed to really kick back a bit since that change, but as it started leveling out after some rough weeks including this past Friday with the passing of my Uncle Greg 🙁 things started doing better, actually having a 136 on the day of my doctor’s appointment.

I moved up from the PA to the primary Endocronlogist. My wife had seen him before and warned me he is a big “numbers guy” and kind of built him up in my head to be doctor type “blah” as I don’t like hardcore clinical “You’re dumb” docs who just explain and don’t listen. Pleasantly, this was not the case.

The doc was running a little late, the office actually gets me in fairly quickly and out too! But we talked about what my meter had down, he liked the lower numbers and trust me when I say lower numbers are good, still some sucky ones in which he asked about my exercise & stress, explained some spikes which worked alongside lack of sleep + sad + stressed (this week had a HUGE fire with a BIG customer) but he encouraged me to find time to pray/rest/meditate and let my body chill out without work + keep up the exercise.

We also worked out a new med to take called Soliqua which is as the doc described as a mix of Toujeo + BCise as we did see better results with BCise, so instead of two injections just one, and increasing the dose of Metformin to 1000 x 2 a day. So we are giving it a shot. I’ve had 2 doses now, actually just took one after fixing a flat tire (thanks to people for leaving dark color sharp trash on the road!) I’m having some discomfort but not sure if its the med -or- the new exercise plan I’ve picked up Seven.

Seven has been great. I have it on my iPad and in the morning I start off with 7 minutes. You’d probably think that 7 minutes wasn’t going to give you a workout, but it does! I still want to do more workout and exercise in the day and haven’t added another 7-minute window yet, but a great app on both Android and iOS (Free with Paid Options) all in all though, works great on both! Has helped my sugars I think for sure!

Lastly, I did get a call today about the blood work they ran, my A1C was 8.1. Before you say “OMG!” please bear in mind at one point it was completely out of control, 12-ish area, not good at all, so coming down from that to 10.1 on my bloodwork previously now to 8.1? Progress. Definitely want it lower, but finding a good balance of it all is key! Can’t have meds making me unable to function! So hopefully in another 3 months, we’ll see it below 7! That’d be awesome! 

For now, rest soon as tomorrow is going to be a busy one! 

Brandless. “We like to say we’re unapologetically a brand. 😇”

Standard

Occasionally the ads on Instagram are things I actually look at. Granted I’d love it Instagram would just give me ALL photos in date order vs. whatever it is it sends me lol (but that’s another post altogether) I find something I end up liking. A lot. Enter Brandless.

First and foremost pricing. Dear God. So simple. $3. Yes. $3. And it’s not some travel size nonsense, its the real deal. I got tub & tile cleaner which smells great, and again a 30FLoz bottle… $3. Now I did a search on my whole “Is it worth it?” mindset and even searching for one on the almighty Amazon the pricing is insanely better:

While you may look at that and say “Hold on there, it is only $0.80 more” no it’s not, that’s the ITEM’s price, check the shipping, and it’s a smaller bottle. Oi. And that’s the ONLY item that was EPA Safer Choice Certified, so think of them at some level as the Online Trader Joes of healthier & safer products. (TJ I still love you. This isn’t a break-up letter!)

Now if you are organic and GMO conscious this is a great site, great products to eat, clean, work, etc. but they are awesome in that they offer free meals via Feeding America (Info Here) – basically you order? They give a meal. However, if you are like me who signed up for their B.More membership (Free shipping!) they give two meals! And today for ALL orders, (March 3rd Only!) they are making it 3 meals for every order done. Amazing!

Final note I’ll say is – this is good stuff, cleaning products I’ve got work great, the cleaner I mentioned above? It really does smell GOOD! I spray it every time I get out of the tub to help keep cleaning easier, but too smells great! Snacks are amazing the Jerky (all flavors) is amazing, but the organic peppered jerky is awesome and it’s even grain fed beef! So for $3 hard to beat!

So to recap:

  • Quality Products for Kitchen, Stomach, Office, Bathroom, did I mention Stomach?
  • Gives back to others in need!
  • Simple Pricing – It’s all $3. You spend more than that @ Starbucks!
  • Real Products not TINY sized samples.
  • Delicious Snacks. (Brandless if you read this, please send more Jerky)

I wish I could use this brief review to give you some sort of deal, savings, but honestly? It’s $3 an item, shipping so far has been quick so why not give it a shot. Not sure it’ll work but on your first order try the promo code “hello” and it should make your first order’s shipping $1 (at least the recent email I got suggests that it will) again very worth it to the point my birthday present to myself was the B.More membership.

Go forth! Enjoy Brandless.

Once you go Chrome….

Standard

So I have been pondering things for a while related to switching away from the world of Mac. I actually just sold my Samsung 503 Chromebook to an old friend, it goes to live with her on Wednesday, and I have the C200M on the block to be sold as well.

I have been looking at the Chromebook 15 from Acer, it’s a 15-inch touch-display, Android Apps without any dev channels, beta channels or nasty hacks to get them work. I checked a box and it’s done.

I love the screen, the speed, the specific nature of what I can do, honestly its a good fit with a 12-hour battery life, and USB-C for charging its a nice fit. Different. What Mac always was about – but lately I just feel like Mac is becoming more about what they can put into a product to make a few more dollars. Everyone’s got to eat.

But we shall see how it goes, I’d love to have it all pan out and become my daily driver – and over the next few days. Chome is now my home? Time will tell.

Time for a Tech Yard Sale?

Standard

I think it might be.

I’ve managed to get myself a small pile of tech, some of it was given to me, some was purchased, but with all of it nowadays, it has no direct use.

I have some tablets and laptops which need new homes. I’m trying to decide how to go about selling these things. I’ve considered eBay for a few items, but most are still working hardware just not actively in my workflow anymore, and while some day some of it could be? I’m looking to offload it.

I’ve considered too Facebook’s selling area, or even OfferUp – so there are some options but stay tuned, likely in the next few weeks going to be some items up for grabs.

Shutting Down Vonage

Standard

14 years. Yowza. I hadn’t realized how long I have been with Vonage. But that all ended today.

I signed up 14 years ago while I was still living with my parents, the reason? I was doing business in Tennessee and I wanted to make it easier for locals to call, so I picked up my old 615 number and used it to talk to customers in that area.

Well fast forward 14 years and it’s been ages since I’ve actually seen the Vonage hardware. I’m not even joking, I’ve been paying monthly to keep the number safe and it was set up if the hardware wasn’t found or “offline” it’d simply route to my business line. Worked just fine. Till my business debit card changed.

It’s scary that I’m still just barely finding out months later things that were using the old card which didn’t get updated, and Vonage was one of them, so I paid my bills, called in and canceled. Now the lady told me something interesting:

You can port your number for the next 30 days.

Normally you port -> cancel, but at first, I was going to let it go, but then with the whole debit card issue, figure there might be a call or two still tied to this account, so I looked around and found NumberBarn.

Now, this ended up actually giving me more to work with overall, and for half the cost a month I actually picked up a toll-free number for the business + ported the old 615 to a parked message! Score! So for the cost of less than one month with Vonage, I got a year of the number parked, and unlimited forwarding on a toll-free number for over half the cost I was paying for the 615!

So a big win, something positive, something good. Been needing more of those lately, so a day where I don’t feel great I actually feel like I’m getting a lot accomplished. Thanks NumberBarn!

The Fight for Positivity. #struggleisreal

Standard

Today is one of those days I guess, not a fan of what I see in the bank account, a small mountain of work in front of me, and I don’t even want to sluff it off, I honestly just want to not really even stare at a wall right now. The sun is out and I’ve considered just going for a LONG walk, but sadly some of these items on the todo are time sensitive.

The loop of music I’ve got today is:

A great song, really been one of those things I’ve found myself continually reminding myself that I have something positive to hang on to, but its been a rough couple of months, even today had to just call the doctor asking about the continuation of an injectable med (BCise) as its having some mixed issues, one of which my blood sugars are higher with it, and it’s leaving knots in my gut + a lingering pain from my ribcage to my back.  Not fun.

So a mountain of stress/bad – and I’m going to keep fighting for positive, and to make this post have something actually positive, I made a sugar free bowl.

The sugar free bowl #diabetes #sugarfree #snacks #3dprinting

A post shared by Chuck Brown (@mrcbrown) on