Skip to content

Instantly share code, notes, and snippets.

@lucianofuentes
Created May 9, 2014 03:25
Show Gist options
  • Save lucianofuentes/785c6358ed9b9a331bb5 to your computer and use it in GitHub Desktop.
Save lucianofuentes/785c6358ed9b9a331bb5 to your computer and use it in GitHub Desktop.
Alfred 2 Network Information Workflow

Alfred 2 Network Information Workflow

Quick lookups for network-related information.

  • Network information about a subnet.
  • Look up MAC addresses in an online vendor database.

Download:

https://dl.dropboxusercontent.com/u/125334/CodeShares/alfred2-network-info-workflow.zip

Zip file contains

- /lib
- /lib/ipcalc
- 96E4CFEE-3540-4197-804D-85BC4392E3E5.png
- icon.png
- info.plist
- ipcalc_query.sh
- mac_query.sh
- Network Information.alfredworkflow 
- README.md
- search.png

Usage:

Type subnet [IP]/netmask

  • This function relies on IPCalcUtility which I have included in the package.
  • IP defaults to 192.168.1.0 if not specified
  • Netmask can be specified using traditional or CIDR notation

Type mac MAC address or subset

MAC address can be specified with any or no separators (they will be stripped from the string) Only the first three hex values must be specified.

Credits:

IPCalcUtility
http://jodies.de/ipcalc
You can also find it in Homebrew.

Icons
Speckyboy Retina Glyph Set
http://speckyboy.com/2013/02/19/freebie-retina-glyph-icon-set/
You can swap these out in the folder and re-compile the package if you prefer something different.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment