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
auto lo | |
iface lo inet loopback | |
allow-vmbr0 vlan4 | |
iface vlan4 inet static | |
address 172.16.4.38 | |
netmask 255.255.254.0 | |
gateway 172.16.4.1 | |
ovs_type OVSIntPort | |
ovs_bridge vmbr0 |
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
#!/bin/bash | |
### Configuration details | |
# Your ARIN-issued certificate here: | |
CERT=ARIN-UL-348-2022-05-17.cer | |
# Your private key here | |
PRIVKEY=uberduck_rpki.pem | |
# The name of this RPKI ROA | |
NAME=Uberduck |
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
!Current Configuration: | |
! | |
!System Description "EdgeSwitch 24-Port Lite, 1.3.0.4831995, Linux 3.6.5-f4a26ed5" | |
!System Software Version "1.3.0.4831995" | |
!System Up Time "0 days 9 hrs 54 mins 37 secs" | |
!Additional Packages QOS,IPv6 Management,Routing | |
!Current SNTP Synchronized Time: SNTP Last Attempt Status Is Not Successful | |
! | |
network protocol none | |
network parms 172.16.4.25 255.255.254.0 172.16.4.1 |
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
$ ipython3 | |
/home/mharris/.local/lib/python3.6/site-packages/IPython/core/interactiveshell.py:931: UserWarning: Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv. | |
warn("Attempting to work in a virtualenv. If you encounter problems, please " | |
Python 3.6.9 (default, Apr 18 2020, 01:56:04) | |
Type 'copyright', 'credits' or 'license' for more information | |
IPython 7.7.0 -- An enhanced Interactive Python. Type '?' for help. | |
In [1]: a: 5 | |
In [2]: a |
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: Update all packages | |
hosts: all | |
tasks: | |
- name: Update all packages | |
package: | |
name: "*" | |
state: latest | |
- name: Setup NFS Mounts |
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
#!/usr/bin/env python3 | |
# pip3 install selenium | |
from selenium import webdriver | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.support.ui import WebDriverWait | |
from selenium.webdriver.support import expected_conditions as EC | |
from selenium.webdriver.chrome.options import Options | |
import time |
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
#include <stdio.h> | |
// Declare three functions that return nothing and accept a single pointer to an int as an argument | |
void state1(int *); | |
void state2(int *); | |
void state3(int *); | |
// Set up our state definitions. Using bare numbers in code itself is an anti-pattern. | |
const int STATE_1 = 0; | |
const int STATE_2 = 1; |
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
PRG = binaryclock | |
MCU_TARGET = atmega328p | |
PROGRAMMER = usbtiny | |
PFLAGS = #-P /dev/ttyUSB0 | |
OPTIMIZE = -Os | |
DEFS = -DF_CPU=1000000UL | |
LIBS = | |
HEADERS = |
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
PRG = binaryclock | |
MCU_TARGET = atmega328p | |
PROGRAMMER = usbtiny | |
PFLAGS = #-P /dev/ttyUSB0 | |
OPTIMIZE = -Os | |
DEFS = -DF_CPU=1000000UL | |
LIBS = | |
HEADERS = |
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
PRG = binaryclock | |
MCU_TARGET = atmega328p | |
PROGRAMMER = usbtiny | |
PFLAGS = #-P /dev/ttyUSB0 | |
OPTIMIZE = -Os | |
DEFS = -DF_CPU=1000000UL | |
LIBS = | |
HEADERS = |
NewerOlder