Recent Posts
Backing up Andriod Phone with ABD command prompt
Android Back Up I was attempting to backup files from my Android Pixel 7 to an external hard drive via Windows UI and it was just taking too long. I figured I’d just use the command prompt. The only problem is that I couldn’t change directories to get to the phone storage. Searching on how to accomplish this I found an old but still valid post on android.stackexchange.com suggesting to use Android ADB command prompt to copy files.
read more
Google Analytics Hugo Theme
Google Analytics in my Hugo website I initially was using the following code to track my google analytics however it wasn’t working: <script type="application/javascript"> var doNotTrack = false; if (!doNotTrack) { window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date; ga('create', 'G-3VXD2H9YHW', 'auto'); ga('send', 'pageview'); } </script> <script async="" src="https://www.google-analytics.com/analytics.js"></script>
I’m using a Hugo theme which happens to be using a Hugo internal template. I basically entered my tag manager measurement id into the yml config file and it constructed the javascript above.
read more
US Web Design System Hugo Basic Template
The U.S. Web Design System (USWDS) is a design system for the federal government to build accessible, mobile friendly government websites. But that doesn’t mean it can’t be used outside of government. I’m going to create a very basic hugo theme that utilizes this design system. Eventually when I build it up enough, I’d like to replace the theme initially used on the BogdanWorks website, gohugo-theme-ananke theme, with the USWDS theme I’m creating.
read more
GulpJS4
The benefit of using Gulp is to automate the creation and manage redundant tasks and workflows. These tasks and workflows may include running a local server, minifying code, optimizing images, preprocessing CSS and more. I’m going to go through setting up a project with gulp and some common gulp tasks.
Prerequisites and Assumptions Node and npm is already installed in Mac environment Assuming a project has an src/ file folder with html, css and js files in it Initializing Gulp in a project Project Moving to my project folder named gulpjs4, a package.
read more
Mac Big Sur Virtual Machine on a Windows 10 VirtualBox Host
New Temporary Job I’ve recently got a new temporary position working at a different office. My supervisor mentioned that the office used Mac machines. To try and get ahead of the game, I decided that I should start doing some work on a mac. The only problem is, I don’t have one. And I’m not sure I’m ready to fork out the money for one (if this temporary position turns out to be a permanent one, maybe we can talk).
read more
Adding Formspree Contact Form to Hugo website
Formspree is a form backend, API and email service for HTML & Javascript forms. It’s a simple way to embed custom “contact us” forms on a static website, like Hugo. I’d like to add a reCAPTCHA to the form so I don’t recieve too much spam mail. It’s a simple process, but I’ll go through the steps in how I set it up for this Hugo website. And you can see my contact form in action right on this site.
read more