This file contains 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
--- | |
# This playbook is for: | |
# Upgrading from Cisco IOS XE 3.xE to Cisco IOS XE Denali 16.1.1, 16.1.2, or 16.1.3 in Insta | |
ll Mode | |
# https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3650/software/release/16-1/rele | |
ase_notes/ol-16-1-3650.html | |
# Author: Adam Wilkins - 3/30/2018 | |
- name: Upgrade a Cisco IOS Device |
This file contains 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
--- | |
- name: Test Prompt | |
hosts: pynet-rtr1 | |
vars: | |
creds: | |
host: "{{ ansible_host }}" | |
username: "{{ username }}" | |
password: "{{ password }}" | |
tasks: |
This file contains 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
--- | |
- name: Upgrade a Cisco IOS Device | |
hosts: ios_switch | |
tasks: | |
- name: Gathering Facts | |
ios_facts: | |
gather_subset: hardware | |
provider: "{{ creds_ssh }}" | |
tags: always |
This file contains 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
SW2: | |
interface Port-channel24 | |
no switchport | |
ip address 155.1.108.2 255.255.255.0 | |
! | |
interface GigabitEthernet0/1 | |
no switchport | |
no ip address | |
negotiation auto | |
channel-group 24 mode active |
This file contains 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
void FixedUpdate () { | |
// non-pertinent code not depicted | |
if (thrust > 1.0f) { | |
PlayThrustSound(); | |
} else StopPlayThrustSound(); | |
} | |
private void PlayThrustSound() { | |
if (!ThrustSound.isPlaying) { |
This file contains 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
// To be used with the DiamondSquare class here: | |
// https://gist.github.com/awilki01/83b65ad852a0ab30192af07cda3d7c0b | |
using UnityEngine; | |
using System; | |
using System.Collections.Generic; | |
using Terrain; | |
public class TerrainGen : MonoBehaviour { |
This file contains 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
// This code was converted from Java into C# | |
// The original Java code was found on Stack Overflow by user M. Jessup | |
// https://stackoverflow.com/questions/2755750/diamond-square-algorithm?newreg=ee2a40d2fe9f49b9b938151e933860d2 | |
using System; | |
namespace Terrain { | |
public class DiamondSquare { | |
private int _terrainPoints; |
This file contains 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
this is a test..................... | |