Scott Alpaugh discusses the best html tags to utilize for SEO
Tag: Tech World
Writing a Simple Javascript Form to Capture Data
In this article Andrew Alpaugh gives some examples on how to capture form data in a website you are developing and prepare the data to insert into the database.
OOP vs Functional Programming
What are the differences between oo programming and functional programming? Scott Andrew Alpaugh writes to explain.
Home Automation: Are you using it?
Home automation is the use of technology to control and automate various systems and devices in your home. This can include things like lighting, heating, cooling, security, and even appliances. With the rise of smart home technology, there are now many different options available for automating your home. One popular option is using smart devices…
Simple shell script to find and replace strings in files
#!/bin/bash # Define the search and replace strings search=”old_text” replace=”new_text” # Define the directory to search (include trailing slash) dir=”/path/to/search/in/” # Find all files in the directory and its subdirectories files=$(find $dir -type f) # Iterate through each file for file in $files; do # Check if the file contains the search string…
Writing a simple mapper in Java
This can be done using the Jackson library and can be very useful in small to medium data transformation applications! In this example, the source data is in JSON format and has fields “name”, “age”, and “address”. The target data format is defined as a Java class with fields “firstName”, “age”, and “city”. The ObjectMapper’s…
Coming Soon! tebcoshop.com
The rise of the internet and online marketplaces has made it easier than ever before to buy and sell goods and services. However, while these platforms have made it simple to connect buyers and sellers, they often come with significant costs for those who wish to advertise their products or services. This has led to…
How to encode/decode base64 using Java
In Java, you can use the Base64 class in the java.util package to encode and decode data in Base64. To encode data in Base64, you can use the getEncoder() method to obtain an encoder, and then use the encodeToString() method to perform the encoding: Copy codeimport java.util.Base64; public class Main { public static void main(String[]…
Creating a JWT token in Java
I ran across this problem on a project and I thought I’d share some sample code to get you going. As far as passing the generated jwt you can do it as a header Authorization parameter. A good tool for trying this out is postman which you can download with the link below. In a…
A view with a room
Welcome to my blog! I’m excited to share a little bit about my life, including my love of technology, my adventures in travel, and our debonaire English Pointer named Kylo. why did I title this ( my first ) post “A view with a room”? Well I was thinking about that phrase .. a room…