Skip to content

ddiguy/ddi-utils

Repository files navigation

script details

Read each section below for usage info

Follow the links to take you to the section for more details on usage:

autorefresh-web-page

Purpose is to automatically refresh web page

NPM Version Build Status Downloads Stats

When you create a bookmark putting in this javascript, it allows you to set a web page refresh interval. This is useful if you want to have a web page refreshed automatically to maintain your user session. One case for this would be if your corporation has implemented web page timeouts, and you want to stay logged in. Another use case for this is if you want to watch stock prices or sports scores without refreshing the web page manually.

Installation

Google Chrome and Safari (tested on Mac OS X):

1.  Create new bookmark (name it something recognizable, such as Autorefresh)
2.  In the bookmark, paste the contents of the web_page_refresh.js file 

Click to go back to top of page.

dns-soa-check

Used to verify if serial numbers on slave DNS servers are not higher than master DNS server

Sample output when script is run:
$ ./checking.sh 
======== SOA Check ========

Master DNS server
( 1) dns4.p09.nsone.net.. 1495573222

Slave DNS servers:

( 1) dns4.p09.nsone.net.. 1495573222 [OK]
( 2) ns3.p43.dynect.net.. 2017052306 [ALERT – SERIAL NUMBER HIGHER THAN MASTER]
( 3) ns1.p43.dynect.net.. 2017052306 [ALERT – SERIAL NUMBER HIGHER THAN MASTER]
( 4) ns4.p43.dynect.net.. 2017052306 [ALERT – SERIAL NUMBER HIGHER THAN MASTER]
( 5) dns1.p09.nsone.net.. 1495573222 [OK]
( 6) dns3.p09.nsone.net.. 1495573222 [OK]
( 7) ns2.p43.dynect.net.. 2017052306 [ALERT – SERIAL NUMBER HIGHER THAN MASTER]
( 8) dns2.p09.nsone.net.. 1495573222 [OK]

Click to go back to top of page.

Release History

  • 0.0.1
    • The first proper release

Meta

Brian Bullard – @BrianBullard94brian@ddidns.com

Distributed under the MIT license. See LICENSE for more information.

https://github.com/ddiguy

Contributing

  1. Fork it (https://github.com/ddiguy/ddi-utils/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

About

Tools I have written for a variety of purposes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published