I have been working with a lot a photos I take during my walks in NYC and when I travel to visit coffee farms in Latin America. I needed an efficient way to process my images for the web. I put these brief instructions together. You can also make this a script and process images …
Author Archives: rgm
Linux dig Command
The Linux dig command is useful for DNS lookup and to query specific DNS name servers. Basic syntax is: This will give you a generic answer similar to this: ; <<>> DiG 9.10.6 <<>> oopsla.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31918 ;; flags: qr rd ra; …
Create Symbolic Links in Linux
Symbolic links in Linux is the same as creating a shortcut in Windows. Use the ln command to create symbolic links. I was a little confusing to me when I was learning about it. But, then I got it. After a walk in the new Long Island RR station at the Grand Central Terminal in …
Disable SELinux RedHat/Centos Server
To disable SELinux on RedHat/Centos server is an easy process. All we need is to edit a config file located here: Use your favorite text editor (I like vim) and edit the above file: Change the value to SELINUX=disabled Then, you must reboot your RedHat/Centos server in order for changes take effect: That’s all! Go …
Changes in Flask Don’t Show in Docker Compose
When working on my blood pressure readings app I noticed changes in Flask Don’t Show in Docker Compose automatically. I had to do a docker compose down and then up to see a simple change to one of my HTML template files. This got me very frustrated and I had to run to the kitchen …
Continue reading “Changes in Flask Don’t Show in Docker Compose”
The pg_trgm PostgreSQL extension is not present. The extension is required by Drupal 10
I got this pg_trgm PostgreSQL error after trying to run Drupal and Postgres using Docker compose for testing purposes. After taking the NYC subway to my home office I decided to look into this. The solution for this error was to install the missing extension in Postgres. Not sure why this is not installed by …
Clean Install macOS Without a USB
Performing a clean install macOS without a USB is fairly easy compared to other operating systems. I know traditionally most IT admins (IT Handy men) think about using a USB to quickly wipe and re-install a OS. But, some times there is NO USB available or the laptop does NOT have a USB port anymore …
Manage WiFi using macOS Terminal
A customer called asking if I could disable WiFi for some of his new iMacs at the office. He wanted his users to connect via Ethernet cable. After digging around I found a way to manage WiFi using macos Terminal. There are a few simple steps you can take. First, a great cup of coffee! …
Clear Other Storage in macOS
A macOS customer contacted me the other day asking how to clear other storage in macos. Some of the customer’s laptops were taking significant disk space in this ‘other’ mysterious storage. While riding the New York City Subway I started researching how to clear other storage in macos. There are some cleaning tools out there, …
How to Install pkg Using Terminal macOS
A client wanted to install some new Multi-factor Authentication software on the background while users where working. After brewing a great cup of Catuai coffee at home I found how to install a .pkg using the Terminal macOS. This is a simple command. Open your Terminal and ssh to the desired macOS you need to …