I’ve been working with virtual machines (VirtualBox) to learn more about Linux as a server environment. It’s great knowing you can revert back to a previous “system snapshot” when you screw up. Even with all this greatness, I was unfortunately having a lot of trouble getting a VM server to connect to other computers. Actually, it was very easy with using a bridged ethernet connection with the server getting a unique IP address. However, a bridged connection is not always available, so I was determined to get it to work with a NAT connection with port forwarding. I needed port 80 to be forwarded to port 8080, and it was a pain but I finally got port forwarding to work. Here’s how to do it on Mac OS.
Continue reading Mac OS: Port Forwarding
Getting live data from outside sources is often a requirement of FileMaker solutions. In this post I’ll explain how we can do a simple import of JSON data from a URL. I updated this post to include two solutions, one using AppleScript and the other utilizing a new (easy) function in the latest editions of FileMaker to do most of the work.
Continue reading Getting Live Exchange Rates in FileMaker
You can quit applications by using the Force Quit menu (⌘⌥ESC) but sometimes we need to quite a background application or the application on a remote machine. In Terminal we can do this using the top and kill commands.
Continue reading Mac OS: Kill an App with Terminal
Here’s a list of some useful commonly seen Mac symbols, great for when you have to write documentation:
First, pressing ⌘⌥T (Cmd + Opt + T ) will bring up the special characters menu.
To give us access to these technical codes, we’ll need to add them.
Continue reading Mac OS: Useful Unicode Symbols
In FileMaker you can load content in web viewer boxes. While useful, they load at a different pace than the rest of the record they are in. For detecting the load of an image in a web viewer I use the following code.
Continue reading FileMaker: Detecting Web Viewer Image Load
In this beginner’s tutorial I’ll walk through the steps to making your first Python program that works with the Twitter API. This will allow you to perform actions with Twitter’s code without being on the website, and also open up other options that are not readily available to normal users.
For this tutorial we’re first going to need a Twitter dev account. Don’t worry, this is a very simple step.
Continue reading Use Python and the Twitter API to Find Tweets
Mac OS has Python built-in, and also has the cool command ‘easy_install’ already part of the system. This command lets us easily grab and install Python modules and their dependencies. However, this tool does not allow us to uninstall them. For that we’ll need to get another command – one that we can get using the easy_install command.
First we’re going to install pip on our system, a command that will help us cleanly uninstall Python code when we need to. Open up your terminal and type: Continue reading Mac OS & Python: Add and remove Python modules
Applescript is a great tool for us Mac users. It’s a scripting language that’s easy and simple enough to not scare away true beginners. A fun feature of Applescript is how to write code, since almost looks like regular English sentences. Applescript was the first scripting language I felt comfortable using. However, its ceiling of limits is pretty low. For some tasks it’s better to turn to other tools.
When jumping from the Applescript ship to Python, the water seems mighty cold. There is a lot more ‘computer code’ and all the commands are new and foreign. Plus, the language’s name is a type of snake! You’ll be feeling homesick for the ease of Applescript, but these feelings will pass.
Python’s developers wanted to create a language that was fun to learn and use, that’s why they named it after the British comedic troupe, Monty Python. And when compared to other languages, like C and Pearl, it is easy to pickup and learn. Continue reading Mac OS & Python: An Introduction for the Applescripter
You have a directory full of important folders, and you want each one compressed separately. Doing this by hand would take waaay to much time. Of course, we can do this in terminal, and with one line of code (sweet!) so it’s easy to use.
For this we use the “Find” command built in into our computer. From there we’ll have two choices, to use compress it to a zip file for a dmg file.
Continue reading Easily Compressing Multiple Folders
I am really impressed with this little piece of software made by Patrick Williams over at bittorrent.
Paddleover allows you to share your files with anyone in the world using the power of torrents, but is simple enough for even the most basic of users to understand.
In this image you can see me, and the user “Patrick” sharing files with each other. I currently have none shared, but Patrick has four. I can browse those files, and choice to download them if I want. To grab a file, I just click and drag it over to my name, and it is automatically added to my download folder on my computer. Pretty snazzy!
This circle view can be expanded into sharing multiple files with multiple people, each with their own folder select shared content. Each computer is now like a remote hard disk, but using a torrent backend to transmit the data. I would like to see this simple method applied to content distribution of digital products, like videos and games.