Giter VIP home page Giter VIP logo

get_mac's Introduction

Ruby application to generate unique MAC addresses.

Overview

I dont know much about Ruby, but I really like using Vagrant and find it usefull to know something about it.
This is my first Ruby 'application' so dont expect to much, it just generates an array random unique MAC addresses.
I use this with Vagrant and the libvirt provider.

Installation

I have not added this as a gem package yet and possibly never will.

git clone [email protected]:8radm1n/get_mac.git

cd get_mac

gem build get_mac.gemspec
 
  Successfully built RubyGem
  Name: get_mac
  Version: 0.0.2
  File: get_mac-0.0.2.gem

gem install ./get_mac-0.0.2.gem

Usage

The optional parameter sets the number of MAC addresses to be generated. These are returned in an array.

require 'Mac'

mac = Mac.new
puts mac.generate(10)

Contributors

Thanks to the wonderful:
@gregohardy

get_mac's People

Contributors

bwks avatar gregohardy avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

gregohardy

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.