-
How to filter internal traffic in Google Analytics
Google Analytics is used to track how a visitors interact with our website. When our Google Analytics report contains data about internal and external traffic on our website, the statistics will be incorrect, as it is adversely affected by our own visits (internal traffic). This includes from our home, our office, and anywhere else we hit our website. It may also include our co-workers, or any member of our team. But we can stop Analytics from tracking our internal traffic by filtering our IP address.
Continue reading → -
How to fix: jekyll | Error: undefined method 'to_i' for #<Date:
After successfully installing the Jekyll Algolia Plugin (the gem
jekyll-algolia
), I tried to push the content of my Jekyll website to an Algolia index. But when I run thejekyll algolia
command it throws the following error message:$ bundle exec jekyll algolia Configuration file: /Users/arthur/sites/mywebsite/_config.yml Processing site... Extracting records... jekyll 3.6.2 | Error: undefined method `to_i' for #<Date: 2017-08-25 ((2457991j,0s,0n),+0s,2299161j)> Did you mean? to_time to_s
Continue reading → -
What to do if the "Convert to APFS..." option is not available or greyed out?
I started up the Disk Utility and tried to Erase the disc and make it HFS+, then convert it to APFS. But after I get HFS+ I noticed that the “Convert to APFS…” option is for some reason deactivated. It is visible but it is greyed out and can not be selected.
Continue reading → -
How to prepare a brand new hard drive for use with macOS
I bought a brand new external hard drive (disk) Transcend StoreJet 25M3 1Tb. A Transcend company says that it can be used on both Windows and macOS. But most drives (from any manufacturer) come formatted in the NTFS file system format for OS Windows, while for macOS we needed the HFS+ format or the Apple’s brand new APFS (Apple File System) format. macOS can read but not write to NTFS formatted drives. So the only workaround is to format the disc to HFS+ or APFS.
Continue reading → -
Create a personal bin directory (~/bin) and run scripts without specifying their full path
Sometimes there is a need to download some command-line application (like ExifTool) and run it from the Terminal, but without putting it into a main system directory for the bin files -
Continue reading →/usr/local/bin/
.