Maryland Business Information Systems Consultant

Hello, I’m Alexander Ramsey. I specialize in delivering smart, tailored business solutions to companies across Maryland and the DMV area. My expertise spans construction, general contracting, and real estate, particularly within the dynamic DC Metro region.

With a proven track record of helping businesses expand their operations, I integrate cutting-edge marketing strategies with backend technical solutions, ensuring that companies can thrive in their core markets along the Eastern United States.

My services are designed to propel your small business forward in the digital age:

  • Marketing and Sales Enablement: Amplify your brand’s reach and drive sales with data-driven strategies.
  • Branding and Digital Advertising: Build a strong brand presence and connect with your target audience through effective digital campaigns.
  • Customer Service and Project Management: Optimize customer interactions and streamline project workflows for enhanced efficiency.
  • Security Consulting and Disaster Recovery: Safeguard your business with robust security measures and contingency planning.
  • Information Technology Integration and Silo Reduction: Enhance operational efficiency by integrating IT systems and reducing data silos.


RTS Enviro – www.rtsenviro.com
Maryland Mold Inspection and Asbestos Inspection Services


CRS Builds – www.crsbuilds.com
North Carolina Home Builder and Developer


Skillset DC – www.skillsetdc.com
DMV General Contractor

Explore My Gaggiuino Project Photos: DIY Espresso Machine Mod

I’m excited to share my latest open-source project, Gaggiuino—a fun DIY mod for the Gaggia Classic espresso machine. I’m currently putting together the internal electronics, using Arduino to control temperature, pressure, and shot timing. The goal is to give coffee lovers more control over their brew while keeping the process hands-on. It’s all about blending old-school espresso making with modern tech, and I can’t wait to see where it goes!

Update August 2024: I’ve been running the machine successfully for about six months now and it is fantastic! It has become a very powerful entry-pro espresso machine worth much more $$$ than the original sticker price.

My completed machine with the 3d printed LCD display from Ali Express:


My complete setup with a custom built coffee bar cabinet:

https://gaggiuino.github.io/#/guides-stm32/lego-component-build-guide

Initial build of 3d printed enclosure. Was messy and difficult to get these wires so tightly packed into the case. Trick is to run some between the expansion board and the blackpill.

You do not have to disconnect as much as you think! Really just the brew switches. Leave the boiler wires attached!

After tidying the cables up a bit and realizing I only needed to move the boiler a small bit, not remove it, I proceeded:

Here it is booted!

Dealing with PATH, Bash Profiles, Git config in Windows

This post serves as a convenience for me and possibly others (probably not because nobody develops on windows) on how to manage working within Git Bash and Command Line in general within Windows 10. It can be a real pain in the neck to develop on Windows. (Updated for 11 in 2023!)

I primarily use Windows because my life is between software and business.

XKCD #763

Git Bash Notes

Windows PATH Tips/Instructions:

  • Control Panel > System > Advanced > Environment Variables
  • Edit Path to add a folder or System Variable
    • Add a folder: Point the resource you need by adding a folder path without the .exe
    • Add a System Variable: First point the directory and assign a variable name by adding to the System Variables. Next append the name of the variable to the Path ( ex. %JAVA%; ).
  • Windows Environment Variable added without restarting (ha): https://serverfault.com/questions/8855/how-do-you-add-a-windows-environment-variable-without-rebooting
    Or you know, just fucking reboot
  • Add things for convenience like c:/eclipse/ and then simply type eclipse to open the IDE

.bash_profile Examples:

https://www.tldp.org/LDP/abs/html/sample-bashrc.html

# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# Suppress message about using zsh
export BASH_SILENCE_DEPRECATION_WARNING=1
# ————————————
# MOTD (Message of the Day)
# What you see when Terminal opens
# ————————————
echo "—————————-"
echo "Loaded ~/.bash_profile"
echo ""
echo "To edit run: configedit"
echo "To refresh run: configrefresh"
echo "All aliases: alias"
echo "—————————-"
# ————————————
# Configure prompt
# Includes special handling for git repos
# ————————————
# Regular Colors
Black='\[\033[0;30m\]'
Red='\[\033[0;31m\]'
Green='\[\033[0;32m\]'
Yellow='\[\033[0;33m\]'
Blue='\[\033[0;34m\]'
Purple='\[\033[0;35m\]'
Cyan='\[\033[0;36m\]'
White='\[\033[0;37m\]'
Light_Gray='\[\033[0;37m\]'
# Reset colors
NONE='\[\033[0;0m\]'
# When in a git repo, this method is used to determine the current branch
function parse_git_branch {
git branch 2>/dev/null | grep '^*' | sed 's_^..__' | sed 's_\(.*\)_(\1)_'
}
# When in a git repo, this method is used to determine if there are changes
# Changes will be indicated in the prompt by a *
function git_dirty {
if [[ -n $(git status -s –ignore-submodules=dirty 2> /dev/null) ]]; then
echo "*"
else
echo ""
fi
}
# Design the prompt
export PS1="$Purple\w$NONE \$(parse_git_branch)$Red \$(git_dirty) $NONE\$ "
# \w shows the current path
# List of other placeholders you can use:
# http://www.gnu.org/software/bash/manual/bash.html#Controlling-the-Prompt
# ————————————
# ALIASES
# ————————————
# Edit .bash_profile
alias configedit='code ~/.bash_profile'
# Force terminal to recognize changes to .bash_profile
alias configrefresh='source ~/.bash_profile'
# Ideal directory listing
alias ll="ls -laFG"
# Ask before removing files
alias rm='rm -i'
# Add your own aliases here…
view raw .bash_profile hosted with ❤ by GitHub

My .bash_profile:

# go to the root directory of my development environment on startup
cd 'C:\dev'

# set aliases for commonly used applications
alias np='start notepad++'
alias c='code .'
alias dock='docker-compose up'
alias dockb='docker-compose.exe run app --entrypoint run build:dev'
alias histg='history | grep'
alias g='git'

# save history and persist across multiple bash windows
export HISTCONTROL=ignoredups:erasedups
shopt -s histappend
export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a; history -c; history -r"

SSH – I no longer use this (2023) as I now run the service via Windows:


# ssh things
env=~/.ssh/agent.env

agent_load_env () { test -f "$env" && . "$env" >| /dev/null ; }

agent_start () {
(umask 077; ssh-agent >| "$env")
. "$env" >| /dev/null ; }

agent_load_env

# optional SSH key handling
# agent_run_state: 0=agent running w/ key; 1=agent w/o key; 2= agent not running
# agent_run_state=$(ssh-add -l >| /dev/null 2>&1; echo $?)

if [ ! "$SSH_AUTH_SOCK" ] || [ $agent_run_state = 2 ]; then
agent_start
ssh-add
elif [ "$SSH_AUTH_SOCK" ] && [ $agent_run_state = 1 ]; then
ssh-add
fi

unset env

My .gitconfig

[color "diff"]
meta = yellow bold
[alias]
st = status
ch = checkout
co = commit
s = status
p = pull
d = diff

Plan, Develop, & Deploy Applications using Azure DevOps

I am not affiliated with Microsoft, with any of their offerings, or employees. This post is my perspective.

Developing an application is more than just code. It involves organizational process, division of labor, and the careful implementation of requirements. To manage this, some teams use multiple suites of tools, frameworks, rules, methodologies, the list goes on…

Azure DevOps gives you a suite of tools, they call “dev services”. Let’s go through them:

  1. Dashboards – View metrics about your developed applications
  2. Boards / Items / Backlog / Sprints – A place for you and your team to plan and assign work
  3. Repos – Store your application code repositories (Git driven)
  4. Pipelines – Automated build and deployments from your repositories to cloud platforms / infrastructure
  5. Test Plans – Paid test manager extension…
  6. Artifacts – Fully integrated package management (private libraries of software)

Assign work items to others on your team, track State (Started) and Reason (Work started), Assign priority, effort/actual hours, assign a Work Branch from a Repo, and Relate it to other issues. Using BitBucket daily for work, I found it to be a relatively painless switch to the overall UI.

I cannot seem to find a way to view all issues. You also cannot update issues in a large table grid view. You can batch update, which requires you to enter a separate view (BitBucket is no better!).

Users can take their issue branches and make pull requests, offering teams with the ability to peer review code before merging to the baseline (master branch). One can manage version of the software via Tags.

To deploy your applications, you can use a suite of ready made templates. There are a wealth of choices. Docker, Node, Yaml, .Net, Android, and so many more. You can even create your own pipeline by following these instructions.

Let’s hope their feature request system is improved and receives backing from Microsoft. Because, I think this could be an awesome extension to Azure.

Featured image: https://azure.microsoft.com/en-us/services/devops/

Intel Kernel Row Hammer Exposure


A massive vulnerability in Intel CPU memory architecture is being addressed by operating system platforms including Windows. Primarily, virtualization performance will be affected by up to 30%, according to an article published by Extreme Tech. More information on Row Hammer vulnerability can be found here. I predict that this will have implications on cloud performance and affordability. In addition, we may see some reduction in investor confidence in Intel stock in coming months.

Mount Agung Volcano Eruption Soon?

I saw that the Mt. Agung Volcano was active and under an evacuation warning earlier today. Out of curiosity, I googled around to find out more about how I could know up to the minute what was going on with it. To weed out the nonsense from the real information I used the following query: Mount Agung seismic activity -news -guardian -express -cnn and went to page 3 or 4 to find the following:

Huge Map with Live updates on all Earthquakes in the same region of Indonesia:
https://magma.vsi.esdm.go.id/

Jakarta Post news article from Sept 25 (6 days from today!):
http://www.thejakartapost.com/news/2017/09/25/mt-agung-eruption-could-be-imminent-agency.html

Some serious details about the type of monitoring performed by an org. called WOVO:
http://www.wovo.org/1601_1607.html

8 Steps to Your Own NextCloud!

1. Go to https://cloud.techandme.se/index.php/s/whxC00V1I0l4CY8
2. Download OVA for ESXI/VM Deployment
3. Install to VM Hypervisor
4. Setup Domain to point to WAN IP via A record
5. Set Static IP to Local VM IP
6. Open 443 on Router to Local VM IP
7. Login and follow instructions, install optional addons as you wish
8. To resize, follow https://www.techandme.se/not-enough-space/

Linux Shell history Output, Ch. 01 of Ruby on Rails Tutorial


The following is output after running history command in a C9 Console (c9.io) where I am attempting my first Ruby on Rails application (Tutorial: railstutorial.org) using the Cloud 9 web IDE. Impressive amount of functionality after limited configuration. Going from zero to running application in ~50 commands is a rare feat today with how complicated the web stack world can be. Even have two environments running: prod and dev by using Heroku to deploy prod.

Project Console History Output (console 1)
Get Ruby Version
1 ruby -v
Setup Git/Bitbucket
2 git config --global user.name "your name"
3 git config --global user.email email@gmail.com

Quick aside: Server Daemon Console history output (console 2)
Install rails
1 gem install rails -v 5.1.2
Make rails app on c9
2 rails _5.1.2_ new hello_app
Goto app dir
4 cd hello_app/
Quickly read README
6 cat README.md
Quickly read Rakefile
8 cat Rakefile
9 ls

Troubleshoot bundle (dependency mgmt)
10 bundle install
11 bundle update listen

Update bundle of Gems after modifying Gemfile due to version differences
12 bundle update
13 bundle install

Spin up local rails server without params
14 rails server
Spin up rails server with params
15 rails server -b $IP -p $PORT
Create a new Git repo
7 git init
Add files to Git repo using gitignore
8 git add -A
Check status of working tree in Git
9 git status
Make a commit to repo with added files
10 git commit -m "Init repo"
Take a look at SSH for BitBucket setup
11 cat ~/.ssh/id_rsa.pub
Returning to Project Console (console 1) History Output
Add SSH key for use with BitBucket
16 git remote add origin ssh://git@bitbucket.org/username/project
Push to origin current repo, failed because of bad syntax
17 git push -u origin all
Check status of repo
18 git status
Check log of repo
19 git log
Create a master branch to troubleshoot failed push
20 git checkout -b master
Realized my username was wrong for use with BitBucket
21 git config --global user.name "username"
Pushed again, correct syntax this time
25 git push -u origin --all
Checkout to newly created modify branch for Readme work
26 git checkout -b modify-README
See branches for heck of it
27 git branch
Commit changes to repo
29 git commit -a -m "Update readme"
Go back to Master branch
30 git checkout master
Merge branches
31 git merge modify-README
Remove modify branch
32 git branch -d modify-README
Push changes
33 git push
Check status again
34 git status
Modify Gemfile to include :development and :production
35 bundle install
38 bundle install --without production
39 git commit -a -m "Update Gemfile for Heroku"

Check Heroku version for deployment to production
40 heroku version
Setup Heroku
41 heroku login
42 heroku keys:add

Create Heroku Virtual App Instance
44 heroku create
45 git push heroku master
46 git commit -a -m "Update Gemfile for Heroku"

Check on Heroku Virtual App Instance
49 heroku help
50 heroku status
51 heroku sessions
52 heroku webhooks

See progress of issued commands in the Console Window
53 history

This concludes Chapter 1 output. I will post subsequent chapters as I complete them. My goal is to revisit the process I go through to reinforce learning and identify where I made mistakes for future avoidance and for more understanding.

Java AOP

AspectJ Notes: Aspect Oriented Programming allows you to achieve an extra level of separation of concerns ontop of OOP methodology.

Key terms:
– Pointcut defines wherein the code a joinpoint (injection is what they should’ve called it) will occur.
– Advice defines what happens at the specific joinpoint.
– Weaving is the process of injecting the advice into the joinpoints.

Example code:

public aspect LicenseFee {

// playing with this to see if I can get this to work
// eclipse constantly checks to see if you actually are implementing the method before weaving occurs
// almost like it actively weaves before runtime, no wonder my computer is so slow running this thing
// so that means that when I go to run tests, some errors may occur but it should be okay/runnable despite the fact

pointcut test(): target(Main) &&
(call(void testSaveAccount()));

after(): test(){
System.out.println("TestSaveAccount called");
}

pointcut test2(): target(Main) &&
(call(void testOpenAccount()));

before(): test2(){
System.out.println("Derp");
}

}

Eclipse Semantics for Advice