...du verbe Drupaler (1er groupe)

Mac

Ruby nmap script to scan IP range for wireless camera and push IP to web server

Please note: the content on this page orginates from ericlondon.com.
When our son was born, my wife and I purchased and setup an IP camera in his room. Unfortunately its IP changes periodically and it can be annoying to look it up. I finally gave in and wrote a network IP scan script to find its IP, and copy it to a file on my server in a public location.

First I used Homebrew to install nmap on my Mac:

Automated browser testing with screenshots on Mac OSX using Ruby and Selenium

Please note: the content on this page orginates from ericlondon.com.
In this tutorial I'll show how to use the Selenium webdriver with Chrome and Ruby code to execute automated website tests and take screenshots along the way.


# create a new project space
$ mkdir selenium_testing

# create add a new gemset (optional)
$ echo "rvm use --create ruby-1.9.2@selenium_testing" > ./selenium_testing/.rvmrc
Subscribe to Mac