Custom Git Status and Git Pull commands to work with all of your repositories

If you work with many Git repositories it is easy to miss a repository when you commit your changes, and very time consuming to pull from all repositories. It is easy to automate both processes. In this example, we will place all files in the ~/Git/devops-scripts folder. If you want to place your files at another […]

How to verify or generate file checksums

You can verify the checksum of a file with the built-in features of the operating systems On Macintosh and Linux Open the terminal window and execute the commands SHA-256 shasum -a 256 FILE_NAME On Windows CRC32, CRC64, SHA256, SHA1, BLAKE2sp Right-click the file in Windows Explorer and select CRC SHA > * (star) The popup window will […]

Bluetooth: Not Available in Sierra on the Macintosh

After software update in Sierra on my Macintosh, my Bluetooth mouse usually stops working. The toolbar displays the Bluetooth not available icon:  When I click it, the “Bluetooth: Not Available” message is displayed. There are two recommended actions we can take to bring Bluetooth back to life. If the first one does not help, try to execute […]

Recommended utilities for your workstation

Graphics Snagit Snagit is a great utility to capture screens and annotate them for documentation. The program is available for Mac and Windows. Download the latest version at https://www.techsmith.com/ Get older versions at https://www.techsmith.com/download/oldversions Terminal emulator PuTTY Install PuTTY On Macintosh Open a terminal window Install PuTTY with Homebrew. For the Homebrew installation see the Homebrew section […]

Keep multiple versions of applications on Macintosh

Most of the DevOps tools are still in beta versions, many times the new version is not compatible with your existing scripts or have an error that stops your scripts working. To be able to keep multiple versions of the applications and easily switch between them, create symbolic links and point to the version you […]

How to copy files to the clipboard

When you work in the graphical user interface (GUI) of your operating system, and want to copy the contents of a file to the clipboard, you can use the following commands: On OS X run: cat FILE_NAME | pbcopy On Linux run: cat FILE_NAME | xclip On Windows (via Cygwin/Git Bash) run: cat FILE_NAME | clip

Xcode app development troubleshooting

This post is a collection of common error messages you may receive during application development in Xcode. Error message Receiver ‘NSManagedObjectContext’ for class message is a forward declaration Solution Add #import <CoreData/CoreData.h> to the … – Prefix.pch Prefix header file in the Supporting Files folder