How to Set Bash as the Default Shell on Mac

  Matt Cone       January 15, 2021

Every new Mac uses the Z shell (Zsh) by default, but you can quickly and easily switch the default shell back to Bash. There are several reasons you might want to do this. For example, you may need to be using the bash shell to execute bash scripts on a Mac. Here’s how to set Bash as the default shell on your Mac: Open your Terminal application. Type the following command and press Return:

How to Make a Bash Script Executable on a Mac

  Matt Cone       January 9, 2021

Bash scripts are files containing code that tell your computer to do something. They’re a staple of the Linux world, and there are thousands of them freely available on the internet. With a bit of tweaking, you can use these scripts on your Mac, too. In this tutorial, you’ll learn how to make a bash script executable on a Mac. Here’s how to make a bash script executable on a Mac:

Setting Up an iOS Simulator on Your Mac

  Matt Cone       January 1, 2013

Web developers know it’s important to test their websites on every web browser and device possible. And with the growing popularity of the iPhone, iPad, and iPod Touch, it’s only natural that they’ll also want to test their websites on all of those devices. But short of stocking up on a bunch of Apple products, how can developers preview their websites in iOS? Actually, it’s easy. Anybody can do it by installing Apple’s iOS simulator on their Mac for free.

Using CPAN to Extend Perl on Mac OS X

  Richard Myers       June 6, 2012

So you read Getting Started with Perl on Mac OS X and you’re starting to write little Perl scripts to get things done. You learned a few things along the way, and even though you’ve surely hit some speed bumps, you’re still rearing to go. Today, let’s talk about extending your abilities by installing some modules from CPAN. What is CPAN? CPAN is the “Comprehensive Perl Archive Network” - a collection of over one hundred thousand Perl modules ready to be installed and used by you to extend your Perl chops.

Getting Started with Perl on Mac OS X

  Richard Myers       April 25, 2012

Perl is a widely used programming language developed by Larry Wall in the late 1980’s. Since being originally written as a scripting language to assist in system administration tasks, it has taken off as a popular language for doing everything from low-level systems programming to website scripting. If you have ever thought about getting into programming on your Mac, Perl is a great place to start! Preparing for Perl All you will need for this primer is a text editor, the terminal, and Perl (of course!

Reposition Windows for Multiple Monitors with AppleScript

  Richard Myers       December 19, 2011

If you frequently switch between different displays, you know organizing your windows when switching displays can be a real pain. I use my MacBook Pro frequently by itself, and I also have a 20" external display on my desk at home. Additionally, I have a weird affliction of window placement OCD. Admiring Stay, but not prepared to spend $15, I wrote the following AppleScript that will resize and organize my windows when I switch my display configuration.

Create Sitemaps with SiteOrbiter

  Janet Fouts       February 6, 2008

Websites are getting larger and larger, and keeping track of them as they evolve can be a hassle. If you’re a web developer, you’ll want to create what’s called a site map, a special file that lists all of the pages of your website in an hierarchical order. This file can be submitted to search engines to help them index your website. But how the heck are you supposed to create one on your Mac?

Make a Mac Web Server with MAMP and Wordpress

  Janet Fouts       October 15, 2007

MAMP stands for Mac, Apache, PHP and MySQL, and installing it on your Mac creates a development environment for testing many of our favorite tools. You can do everything from browsing simple PHP files to testing complicated MySQL database driven applications right on your hard drive. Installing MAMP takes just a few minutes. Macinstruct’s Matt Cone created a tutorial on installing MAMP and installing Drupal, so I won’t go into installing MAMP here.

Create a Web Development Environment With MAMP

  Matt Cone       July 18, 2007

Those of us who have websites know that we need a development environment to work on new features, make changes, and just experiment. If you’re creating static HTML pages, you don’t need much - you can create the pages on your Mac and preview them locally in your web browser or a with WYSIWYG application like iWeb. However, things are a bit more complicated if you’re working with web applications that use PHP and MySQL.

How to Turn Your Mac Into an FTP Server

  Matt Cone       June 13, 2007

Several weeks ago, we showed you how to turn your Mac into a web server. That article is useful for individuals needing to host web pages on their Mac in a pinch, but it doesn’t really go far enough. After all, any good web server should be remotely accessible - that is, you should be able to add and remove files from your Mac when you’re away from home. You need to turn your Mac into an FTP server!

© 2021. A Matt Cone project. CC BY-NC-SA 4.0. Made with 🌶️ in New Mexico.