This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# Check if nameservers for domains are correct | |
# List of domains goes in on STDIN. | |
# comma seperated list of nameservers as arg | |
interval = 25 | |
require 'rubygems' | |
require 'whois' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lab-ont#show gpon omci MEs | |
1 -- ONT Data | |
Instance1: 0000 | |
action: Set | |
action: Get | |
action: Get all alarms | |
action: Get all alarms next | |
action: MIB upload | |
action: MIB upload next | |
action: MIB reset |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! | |
version 15.3 | |
service timestamps debug datetime msec | |
service timestamps log datetime msec | |
no platform punt-keepalive disable-kernel-core | |
platform console virtual | |
! | |
hostname lab-vrr1 | |
! | |
boot-start-marker |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"autoboot": true, | |
"brand": "kvm", | |
"max_physical_memory": 4352, | |
"max_locked_memory": 4352, | |
"max_swap": 4352, | |
"hostname": "labcsr", | |
"resolvers": [ | |
"8.8.8.8", | |
"8.8.4.4" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0'?> | |
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'> | |
<service_bundle type='manifest' name='export'> | |
<service name='application/stash' type='service' version='0'> | |
<create_default_instance enabled='true'/> | |
<single_instance/> | |
<dependency name='network' grouping='require_all' restart_on='error' type='service'> | |
<service_fmri value='svc:/milestone/network:default'/> | |
</dependency> | |
<dependency name='filesystem-local' grouping='require_all' restart_on='none' type='service'> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Generic form mailer | |
// Settings you can change | |
$to = "[email protected]"; | |
$subject = "Contact form"; | |
$username = "[email protected]"; | |
$password = "email passwd here"; | |
// add form elements below to exclude them from the mail | |
$exclude = array( |
NewerOlder