GithubHelp home page GithubHelp logo

disrvptor / ipmenu Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 1.0 70 KB

Mac OSX menulet showing current IP addresses for all network interfaces. Shows address associated with en0 by default and monitors changes to all network interfaces and updates appropriately. Great tool if utilizing multiple virtual private networks or virtual machines.

License: GNU General Public License v2.0

C 0.83% Swift 99.17%

ipmenu's People

Contributors

disrvptor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

stephica

ipmenu's Issues

Create a new icon

The current icon was just something I threw together with little thought. It should be a little more professional :p

Menulet IP Address should be configurable

When connecting to a VPN using Cisco AnyConnect the IP address should be changed to whatever is in utun1 instead of en0. There are other possible scenarios where a different network interface is preferred over en0. Therefore the user should have a way to either set their preference in descending order or override the default use of en0.

fatal error

When I try to build the project in Xcode it results in "build succeeded", but fails to actually work, in the Debugger I get these errors (or maybe I'm misunderstanding on how to build this):
screen shot 2015-10-18 at 1 26 54 pm

Under Thread 1:

#1  0x000000010000a38b in AppDelegate.itemReferencesInLoginItems() -> (existingReference : LSSharedFileListItem?, lastReference : LSSharedFileListItem?) at /Users/ajkblue/Downloads/IPMenu-master/IP Menu/AppDelegate.swift:136

Output from Console:

Detected new addresses... Regenerating menu
fatal error: unexpectedly found nil while unwrapping an Optional value
(lldb) 

Only regenerate menus when a change occurs

Every time a refresh occurs (about every 15 seconds) the menu is completely regenerated. Recommend caching values and only regenerate menus when a change is detected.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.