By marcom on Friday, May 14, 2021
Sunset avove Indian ocean Varkala

Apache "Solr is the popular, blazing-fast, open source enterprise search platform built on Apache Lucene™." it is "highly reliable, scalable and fault tolerant, providing distributed indexing, replication and load-balanced querying, automated failover and recovery, centralized configuration and more. Solr powers the search and navigation features of many of the world's largest internet sites."

You can easily install Solr on your MacOS using homebrew.

By marcom on Tuesday, April 7, 2020
MacBook Pro turned on beside Apple Magic Mouse on top of white surface

When making changes in your httpd-vhost.conf file, make sure to test it before reloading the apache config file or restarting apache.

Mac OSX

apachectl configtest

XAMPP OSX

/Applications/XAMPP/xamppfiles/bin/apachectl configtest

Errors should display, if there are any, otherwise you'll see the Syntax OK to indicate that there are no errors and you can reload the apache config file or restart apache.

By marcom on Monday, March 22, 2021
OBS Studio

I previously wrote how to Display copyright disclaimer on your webcam using CamTwist, and here's how to do the same using the Open Broadcaster Software (OBS).

Tags
By marcom on Tuesday, January 12, 2021
Think positive

Being part of leading team requires to motivate and inspire your colleagues in doing their work well. In our weekly meeting, I'll be tracking the quotes I've scoured the internet throughout the year.
 

If I had nine hours to chop down a tree, I’d spend the first six sharpening my axe
Abraham Lincoln

Don't be busy, be productive

Intelligence is the ability to adapt to change
- Stephen Hawking

Tags
By marcom on Saturday, October 10, 2020
Find and rename %20 from file names with a space in terminal

At times, there are differences between your local or staging and production environment in handling URL encodings. In strict environments (likely production), HTML links to files with encoded characters in their file name will result to a 403 (not found) error. Therefore, you must rename the file names in your directory.

Install rename utility

In MacOS, use homebrew to install the rename utility.

By marcom on Wednesday, November 4, 2020
Keys

If you’re using multiple Webex accounts, you might get stuck signing-in to the same account even though you login into another when starting or joining a meeting using the Webex Meetings app. This certainly might get annoying but here is the work-around.

For MacOS (Catalina), what you have to do is clear your saved logins using the Keychain Access app.

By marcom on Tuesday, October 27, 2020
Macbook Coffee @danielcgold

Part of administering web servers is looking through log files for clues whenever you come across issues with your web server or web applications. The logs most often will tell you exactly what went wrong. However, log files can be separated into multiple files and compressed to save space.

To search for a particular text through these compressed files easily, use the following command:

find . -name "*.gz" | xargs -n 1 zgrep -H "[text to search]"

 

Tags
By marcom on Tuesday, May 26, 2020
Languages

I finally figured out how to make Google Translate work with the Drupal 8 site! I kept getting a 403 forbidden message whenever I change the language. This is because of the Drupal security directive in place in the .htaccess file.

By marcom on Saturday, September 19, 2020
https://unsplash.com/photos/842ofHC6MaI

Using git-format-patch exports commits as patch files. You can then send these to your colleagues to be applied on another branched or cloned repository of the project. These patch files can contain one or more commits and Git replays that commit when you apply it.

Tags
By marcom on Saturday, August 29, 2020
Amazon Associates

I just signed up in the Amazon Associate Program where I can earn from qualifying purchases through links of any eligible products from amazon.ca which uses my own special tag. Follow the steps below to use my tag!

1. Click on the banner below.

2. Search any product you want to buy.

3. Click on the add to cart button and complete your order!

By marcom on Tuesday, July 7, 2020
SwiftUI

Learning a new programming language is not easy. I've always been wanting to get myself into learning Objective-C and create apps for iOS, Apple's mobile operating system, but thankfully, they've made it easy by creating the Swift programming language and even easier by creating SwiftUI for building interfaces!

The Apple Developer website has this awesome tutorial in Introducing SwiftUI to learn the basics and concepts of creating beautiful and dynamic apps.

By marcom on Thursday, June 25, 2020
CamTwist

It's now a new normal to meet online using video conferencing software for just about everything, because of this COVID-19 pandemic. With millions of things you can possibly do online, you may need to legally protect yourself and or your organization when broadcasting by adding a copyright disclaimer at the bottom of your video.