Blog Admin

Latest News


October 12, 2021

Added Dale's Site

This was probably the more significant update. I moved Dale's site from where it was before (Dead on Webfaction) to here. So here it lives. Anthony got mad to me because apparently I take shit notes from myself. To be fair I thought I'd never have to code again for the rest of my adult life, but here we are. HERE WE ARE.

October 13, 2021

I'm a dev lol

Over a year, and I can just update my website in two clicks. How dope am I? #HAXOR4LYFE

February 16, 2020

Oh man. I peeked back in and realized how much I've forgotten.

Man.... I haven't done code in like 7 months, and I've literally forgotten everything. EVERYTHING. Well, it's time to get up and running again. 'Bash' gets you back into Linux. You know where to find your other login information now.

July 26, 2019

C Sharp?

I would like to learn C#, and Anthony suggested this Udemy Course: C Sharp For Beginners It was 11 bucks like... a couple days ago. Now it's back to 180. So imma wait. UPDATE: I'm doing the docs.microsoft.com site for C# and I've passed the Hello C# Tutorial. This means I've mastered all of programming. Snip of amazing C# Passing Success

July 16, 2019

What you do first after you install Linux (Ubuntu specifically)

sudo apt update && sudo apt upgrade -y That should update all the things.

June 19, 2019

HAS IT BEEN 16 DAYS?!?!

Dear Journal, It's been 16 days since last I posted. No I have not gotten any better at Javascript. My life has kind of turned sideways for many good reasons. But Anthony just told me to buy a book on Algorithms and Data Structures. So there is a small but noticeable light in the distance.

June 3, 2019

No updates. I DON'T KNOW WHAT TO DO ABOUT JAVASCRIPT

The site is functional. I want to get better at Javascript, but I have no idea what to do for this site. I tried to learn about a basic hamburger menu to add on, but that didn't seem to make sense. So this site is probably going to start deteriorating starting now.

June 1, 2019

Updated localhost password and caddyfile to include data accesss library

If this post goes through, it means that all of the other functionally associated with updating the password worked. I think my next task is going into Javascript. After that... THE WORLD.

May 30, 2019

Implemented a Data Access Library + Configuration File

So this post is an edit, but basically I was able to bring all of the functions into one file which are then being called by the individual php files. On top of that I've also created an out of root file that has the usernames and passwords. However I do need to update the password as well as add items to the caddyfile to reflect protection.

May 27, 2019

The End of my Stay-Cay and the next steps

And so my watch has ended.


a pic I found online that has the game of thrones Night's Watch
9 days of coding bliss, where we've seen massive leaps and bounds of improvement and changes, and here we are at the last Memorial Day before I return to work. What's left to do? Well, tons, really. That's not the question. What's NEXT is to unify all of the business logic into what Anthony tells me is a "Database Library File" thingy. One file to handle all functions. That sounds nice. The next thing is to stash away my login information which currently resides on several files. So my guess is some required configuration file that sits outside of GIT's lustful eyes. The bad news is because I return to work, I will not get these lovely little pit stops in the middle of the day to hound Anthony and make these advances in my site. It is then my responsibility to find time in the evening to continue progressing. Big shout out to all my followers, subscribers, and Patreon sponsors for following along this journey with me. HAHAH just kidding, it's just me and Anthony.

May 26, 2019

Pushed through like birth.

This morning, I pushed everything to production. I made some quick changes to make the flow better. I updated the caddy file to make sure the new admin screens were under Authentication. So I think we livin. (I came back in here and edited to show that it can be done. What what?!) Edit 1:33pm > Added Secret Ninja Blog Admin Entry. Not that it's a huge deal, but I made a portion of my logo a clickable link to my admin page so that I wouldn't have to type /form.php on my url. On top of that i gave the Admin page a little graphical change as well as added an edit icon to add a new blog post.

May 25, 2019

Big branch coming through

Today I primarily worked on the administration pages by adding the ability to delete and update pages. The biggest obstacles for me was understanding Concepts like placing font awesome buttons and HTML form elements like "input". Lastly it was understanding how to escape HTML when repopulating it back on A form, and then decoding it for update. I'll need to merge my branch and then Push it up to production. After that I'll also need to update my authentication Things. But this was a pretty significant step!

May 24, 2019

Mobile update

So I'm updating a post from my phone like a boss. If this works, I'll cry tears of joy.

May 24, 2019

Major update to the site

So... pretty neato day today. We removed all the old test posts, as well as migrated the original posts into the database. On top of that, we also removed the news.php tab and are populating new posts back in the home tab where they belong. If this post goes through, then I'll test posting via mobile device. Then it's on to the next project. Go team! Or if I was a dumb person I would say 'CHEERS'.

May 21, 2019

'_$' + doublequotes will get ya!

So my first task was to create a test php file that would connect to my newly created database. Pretty straightforward if you were a normal person. For me, I didn't quite understand what that meant. What it means to a laymen like me is to literally get a php file and put code that would do a basic connect to my database. Literally what I said earlier. Oh well, hopefully you throw enough crap on a wall and something sticks. Learning about developing = crap. Wall = my brain. Any how the task itself seemed easy, but there was one small caveat that caused me issues: This issue in particular: Snip of my dumb php connection error Anyhow, the lesson to be learned is: My dumb password had _$ in the characters and on top of that the entire login code was wrapped in double quotations. According to Anthony:

"if you put it in double quotes it will treat the $ as a variable use single quotes"
That being said, I kept my dumb password, changed the quotes, and lo and behold. It worked like a twerk. ONWARD to the next thing.

May 20, 2019

MYSQL & PHP Installed

Can we say... "GO PRODUCTIVITY!" So for my Dev Laptop (which is in Linux Mint) and my home desktop, I was able to install and configure both MYSQL and PHP. On top of that I built identical databases on both with the 'news' table that I will be populating later. So I suppose I should await the next instructions. I think Anthony mentioned something about using PHP to write to the table, but I'll have to ask for more details on what that means. Also HERE is the link to the GIST that Anthony wrote to configure MYSQL & PHP for future reference. Today's helpful tidbit of knowledge: When you run php -S localhost:8888, it runs the server on whatever folder you're on.

May 18, 2019

Coder Stay-cation?

Starting today, until Monday, May 27th, I'm on vacation. Mostly because Lisa's parents are visiting from South Dakota, so for the most part we'll be at home with only local destinations. That being said, this means possibly a lot of later evenings available. Should I try to accomplish something in this time? I think it would be a no-brainer to try to complete my dev setup at home. On top of that, maybe pushing all of these blogs to the remote database would also be good. Would it be too ambitious to create a rudimentary blogging tool? If I use something like Quill.JS that might be the ticket. Regardless, I have 9 days to see if i can both enjoy my in-laws visiting and make some kind of dent in my code. Also, I need to remember this PHP thingy so I can run a temp PHP server if i want to see page edits: Snip of a conversation where I'm told what php command to use Also, changed all the files to PHP. Need to look into editing my RSYNC to clean up my server files so it doesn't leave clutter.

May 16, 2019

If i'm doing anything, I have to at least put up an update.

So it's been 8 days since my last update. There's a couple reasons I haven't been able to.

  1. I'm actually quite busy at work with several time sensitive projects.
  2. I'm at a point where I need to setup two dev environments (potentially 3) Home/Work/Dev Laptop
  3. Lisa's parents are visiting, and I have a lot of other things need be doing.
I know, not the best excuses, but excuses nonetheless. I also learned that I really need to pay attention to selectors when doing JQuery. On top of that Anthony hates the fact that I CopyPasta code. But it's a hard habit to break when i'm trying go get immediate results. I have that shoot everyone and let god sort the bodies type of code writer. It's not good. Lastly, casing is super important. Especially when referencing selectors.

May 8, 2019

DIE IN A FIRE STACKED OVERFLOW!

Remember that thing I did last night? I was right. It was a TERRIBLE idea. According to Anthony I done screwed up my default settings, and nothing worked right. Please see this fun exchange: Snip of a conversation where Anthony shits on Stacked Overflow Moral of the story. NEVER EVER EVER EVER use Stacked Overflow for any type of help whatsoever. Also ESC then SHIFT + Z Z to save in VIM OTHER notes for today:

May 7, 2019

Busy at work + setting up MYSQL

I haven't really been able to do any updates/logs to this for the last 4 days, mostly because I don't touch this site on the weekends, and my last couple work days have been a little busy, not to mention my anniversary was today. That being said, the last thing I was working on before I had to stop working was setting up MYSQL because I think I have enough content to start connecting this to a database. By last Friday, I had setup most of it, but I didn't know what to do next. Then when I tried to follow the instructions on THIS page, that's when I realized I couldn't log into root. That was frustrating, so I tried contacting Anthony, but he was unavailabe so I did what any hot blooded American would do.... I googled it, and I got this solution: Snip of a webpage showing me a MYSQL root password fix I'm almost 100% positive Anthony will look down on this choice, but WHAT AM I SUPPOSED TO DO WHEN YOU AREN'T AVAILABLE?? FEND FOR MYSELF? I WOULD DIE.

May 3, 2019

FLEX BABY

So I did a navigation Tutorial and googled a bunch of different CSS Menu Navigation things, and I got some neato designs. So I tried both a vertical and a horizontal menu style with hover effects, and for the most part things looked pretty good. But then Anthony told me to look into Flexbox, and I totally got scared pumped. But after getting a better understanding of selectors, I was able to fix my flex so that the nav stretches across the screen

May 2, 2019

Nothing new. But blogging because Anthony said I should.

Of course I can't work on my site because there's a host of activity at work. I'm trying to think of anything I've learned in the last couple days. Primarily I've been trying to read up on Dockerization and Kubernetes Cluster Still would like to understand in a practical application how that all works, but DO(Digital Ocean) prices to setup something like that is pricey. So hopefully when we spin up our dev sandbox here at work, I can get some type of access to it. I guess the next thing I want to do is make this site LESS ugly, so I need to continue to learn CSS I do wish there was a more hands on way to dive into it, but whatevs. Oh, also, "TYPESCRIPT IS A GAMECHANGER" LOL

April 30, 2019

A BORING ASS UPDATE

Today I was able to do some housekeeping on the site. Updated all the html files with the neato stuff on the news.html file. But then I realized that my index was really bare, and I'd rather have the news there. So I nixed the news.html file and made sure all of the cool meta data stuff was updated on all the other files. I also added a favicon to the mix, because that's the type of person I am. That's the type of priorities I keep. Then I decided to fatten out the other menu items so they weren't SO barren. Oh yeah, and I also redid the blog post order so it was newest first, going to oldest. Finally, I got permission on high to start looking into adding css to this. But then I started reading the documentation and I hate it. Waaaaaaah

April 29, 2019

How to rename a branch in BitBucket

So in a bold move of courage, I dug deep within and found the strength to rename the primary dev branch for the Work Website. Long story short, you branch off the old branches to a new one locally, then push that up to the BitBucket repo, and then from there, you physically delete the old branches via site. Lastly, if you want to, you can then delete your local branches. Pretty sick huh? *SHINGGGGGGGGGGGGGGGGGG!* Bitbucket conversation for renaming branches In other news, I failed miserably at following Anthony's instructions on how to start a webserver: So first here is the link to the guide

April 26, 2019

AM I STARTING TO GET GIT?

As I was driving to work, I suddenly came to the conclusion I didn't need to ever LEAVE the public folder. I simply just had to BRANCH from my master, and I'd STILL be in the same folder. There was this mental block to understanding GIT, and I'm thinking that today, something clicked. So I branched, and I pulled, and low and behold I was able to seamlessly update the site with the merge in the Development Branch. That being said Anthony thinks pulling directly into serving a website is a horrific idea. Oh well.

April 24, 2019

Layoffs and Source Control

Today's lesson is: You don't have to CLONE every branch of a Repository. You know how there's no such thing as a stupid question? There is stupid answers. And my answer for how to handle a Master/Dev/Dev2019 branch was to clone it several times. Yeah. You only need to clone it once. Also, how did I fix my Digital Ocean problem? Basically I was still logged into it at work, so I hopped into the account, and updated the e-mail address. But unfortunately, I had little to no time to work on it because today my company laid off like 15% of the office. Or 8 people. So I was so busy with mini meetings and "oh shit are we next" chatter that i didn't even get to update my feed. Anyway, my lesson was "I still need to learn a lot about Git".

April 23, 2019

Things I did today

I created the PNG logo and added it to the site. I also created a bunch of .html files to build the navigation. With help I was able to get the Zohomail connected to the autus.dev domain. I was also able to create a droplet on Digital Ocean. My plan was to get this basic page onto there, but then I screwed myself over because I used a domain e-mail for my verification e-mail which also meant I activated the E-mail 2-Factor for it as well. Basically I screwed myself over. I just read that I wrote "screwed myself over" twice. Three times. Lyrics of fury.