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
# The CRI-O configuration file specifies all of the available configuration | |
# options and command-line flags for the crio(8) OCI Kubernetes Container Runtime | |
# daemon, but in a TOML format that can be more easily modified and versioned. | |
# | |
# Please refer to crio.conf(5) for details of all configuration options. | |
# CRI-O reads its storage defaults from the containers-storage.conf(5) file | |
# located at /etc/containers/storage.conf. Modify this storage configuration if | |
# you want to change the system's defaults. If you want to modify storage just | |
# for CRI-O, you can change the storage configuration options here. |
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/python | |
import picamera | |
import cv2 | |
import io | |
import numpy as np | |
import imutils | |
camera = picamera.PiCamera() |
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 | |
## 1) capture data => monitor np counter MDF_PUNT_POLICE_DROP np0 count 25 location 0/2/CPU0 | |
## | |
## 2) You'll need 'text2pcap' => sudo apt-get install wireshark-common | |
## | |
## 3) Run with file as argument: | |
## [ytti@lintukoto ~/tmp/ios-xr-npu-monitor-pcap]% ./xr2pcap.rb r04.miamfl02.us.bb.MDF_PUNT_POLICE_DROP.ioscap | |
## Input from: r04.miamfl02.us.bb.MDF_PUNT_POLICE_DROP.txt | |
## Output to: r04.miamfl02.us.bb.MDF_PUNT_POLICE_DROP.pcap |