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
package jsteward.blocks.misc | |
import spinal.core._ | |
/** | |
* Used to drive inpout ports of blackboxes that are missing in SpinalHDL. Some blackboxes disable | |
* specific ports (e.g. TLAST in AXI-Stream) but the port still exists in RTL. This tool avoids leaving | |
* these disabled ports dangling. | |
* | |
* @param dataType type used in SpinalHDL, without disabled ports |
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
<# | |
Make adapter use gravity (untagged) or upstream network (tagged 1). | |
This depends on the switch (ER-X) configuration: | |
- upstream port has PVID=1 (untagged vlan 1) | |
- gateway port has PVID=1 VID=200 (untagged vlan 1, tagged vlan 200) | |
- downstream ports have PVID=200 VID=1 (untagged vlan 200, tagged vlan 1) | |
#> | |
#Requires -RunAsAdministrator |
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
// | |
// main.swift | |
// photo-redate | |
// | |
// Created by Pengcheng on 19.01.2024. | |
// | |
import Foundation | |
import Photos | |
import os |
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
package pionic | |
import axi.sim.{Axi4Master, Axi4StreamMaster, Axi4StreamSlave} | |
import spinal.core._ | |
import spinal.core.sim._ | |
import spinal.lib.BinaryBuilder | |
import scala.util._ | |
case class PacketDescSim(addr: BigInt, size: BigInt)(implicit config: PioNicConfig) { |
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
package axi.sim | |
import pionic.RichByteArray | |
import spinal.core._ | |
import spinal.core.sim._ | |
import spinal.lib.bus.amba4.axi._ | |
import spinal.lib.sim._ | |
import java.util.concurrent.atomic.{AtomicBoolean, AtomicReference} | |
import scala.collection.mutable |
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
package axi.sim | |
import spinal.core._ | |
import spinal.core.sim._ | |
import spinal.lib._ | |
import spinal.lib.bus.amba4.axi._ | |
import spinal.lib.bus.misc._ | |
import spinal.lib.sim._ | |
import scala.collection.mutable |
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
version: '3' | |
volumes: | |
prometheus_data: {} | |
grafana_data: {} | |
services: | |
# Prometheus backend. | |
prometheus: | |
restart: always | |
image: prom/prometheus | |
volumes: |
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
# WARNING: This file was auto-generated using snmp_exporter generator, manual changes will be lost. | |
geist_imd: | |
walk: | |
- 1.3.6.1.4.1.21239.5.2.3 | |
metrics: | |
- name: pduMainIndex | |
oid: 1.3.6.1.4.1.21239.5.2.3.1.1.1 | |
type: gauge | |
help: Table entry index value - 1.3.6.1.4.1.21239.5.2.3.1.1.1 | |
indexes: |
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
package main | |
import ( | |
"crypto/sha256" | |
"encoding/binary" | |
"encoding/hex" | |
"encoding/json" | |
"fmt" | |
"math/big" | |
"os" |
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
diff --git a/system-orig/build.prop b/system-new/build.prop | |
index 6afadb0..1f57459 100644 | |
--- a/system-orig/build.prop | |
+++ b/system-new/build.prop | |
@@ -10,11 +10,11 @@ ro.build.version.all_codenames=REL | |
ro.build.version.release=1.2.02.07211 | |
ro.build.date=Fri Jul 21 17:15:08 JST 2017 | |
ro.build.date.utc=1500624908 | |
-ro.build.type=user | |
+ro.build.type=userdebug |
NewerOlder