Assigning a fixed IP address to a virtual machine in VMware Fusion 7

1. Find the dhcpd.conf corresponding to the network that your virtual machine is on.  By default the NAT network uses /Library/Preferences/VMware Fusion/vmnet8/dhcpd.conf. You can find the right one by running ifconfig (or ipconfig in Windows) inside your virtual machine to find its IP address, and look for a range containing that IP address in all of the dhcpd.conf files.

2. Edit the file to add the portions in green.  Be careful not to use a number in the dynamically allocated range, the host computer's IP, or the DNS IP:

Deleting a single URL from Chrome History

  1. Go to chrome://history/
  2. Search for the URL in the "Search history" text field
  3. Click and shift click to select all instances
  4. Click "Remove selected items"

Thrift vs Protocol Buffers vs Avro in Python

Thrift, Protocol Buffers, and Avro are modern software projects which all contain an IDL-enabled data serialization format with Python support. One might think that because they all have an IDL that they all would enforce some level of type safety even in Python, but one would be wrong:

What is Docker?

Docker is a long-lived daemon process with a thin CLI client which makes it easy to clone() new processes with their own PID namespaces, network interfaces, root filesystem, mounts, and hostname.

A docker image contains a filesystem tree (actually an aufs filesystem which allows one image to be implemented as a "layer" on top of another more "base" image).

A Dockerfile is a list of instructions for building a docker image.

AWS Groups vs Roles vs Policies

A short overview of terms used by the system that Amazon Web Services (AWS) uses to manage user accounts, roles, permissions and groups:

Running Ubuntu 14.04 inside VMWare Fusion

To get shared folders to work in VMWare Fusion with a Linux guest, I needed to reinstall vmware tools:

  1. sudo
  2. install vmware tools from the menu

I couldn't get my home directory to work over hgfs (lightdm would log me in and then the session would immediately exit), so I created an entry in /etc/exports on my mac.

What is Ansible?

Ansible is a python command line program. In its basic usage, it reads a list of server hosts (the "inventory"), has access to a library of command line scripts ("modules") that might be run on the servers, and reads a configuration file ("playbook") which specifies modules to run on each server, and parameters to pass to each module. Using the sequence defined in the playbook, it connects to each server with SSH, copies (SFTP or SCP) the module up to the server, executes it remotely, then deletes it.

JIRA time tracking fields - difference between timeestimate and timeoriginalestimate

The JIRA API has (at least) four fields exposing time tracking data. In the jira-python python wrapper, these are exposed as follows, assuming you have a local variable issue containing an issue object.:

What is librarian-puppet?

As is wont with modern open source software projects, the librarian-puppet homepage describes itself in terms that only fully make sense after you already know what the software does:

Librarian-puppet is a bundler for your puppet infrastructure. You can use librarian-puppet to manage the puppet modules your infrastructure depends on, whether the modules come from the Puppet Forge, Git repositories or a just a path.

Firefox is already running, but is not responding

If your computer crashes while firefox is running, it's possible that you will get an error message like this when you next start up firefox after rebooting:

Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.

To fix it, you can remove the lock files inside your profile.  On Linux (with a default setup where you have a single firefox profile) this looks something like:


Subscribe to RSS - Tech