Skip to content

Instantly share code, notes, and snippets.

View showrav017's full-sized avatar
coffee

Muhammad Ehsanul Hoque showrav017

coffee
View GitHub Profile
@showrav017
showrav017 / Readme.md
Created April 4, 2020 10:05
Setup WireGuard Osx
@showrav017
showrav017 / IP address Generator
Last active December 15, 2016 12:47
Generate IP Address from a range
/**
* Developed by Muhammad Ehsanul Hoque on December 15, 2016
* Took helop form the link StackOverflow
* http://stackoverflow.com/questions/22927298/create-ip-range-from-start-and-end-point-in-javascript-or-jquery
*
* Credit goes to portforwardpodcast(http://stackoverflow.com/users/836450/portforwardpodcast) for the loop code.
*
* Just call IPAddressGenerator.Generate("XXX.XXX.XXX.XXX", "XXX.XXX.XXX.XXX") and in return you will get range of ip as array.
*
* IPAddressGenerator.Generate(start_ip, end_ip, stop_at)