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/python3 | |
import crcmod | |
import serial | |
import struct | |
debug = True | |
crc16 = crcmod.mkCrcFun(0x11021, initCrc=0) | |
CMD_TYPE: dict[str, str] = { |
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 1) | |
#Kicad 7 | |
# 2-layer, 1oz copper | |
(rule "Minimum Trace Width (outer layer)" | |
(constraint track_width (min 5mil)) | |
(layer outer) | |
(condition "A.Type == 'track'")) | |
(rule "Minimum Trace Spacing (outer layer)" |
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
const nc = imports.gi.NMClient | |
const NetworkManager = imports.gi.NetworkManager | |
ncc = nc.Client.new() | |
ifs = []; | |
iface_list = ncc.get_devices() | |
for(let j = 0; j < iface_list.length; j++){ | |
print(iface_list[j].state) |
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
const nc = imports.gi.NMClient | |
const NetworkManager = imports.gi.NetworkManager | |
ncc = nc.Client.new() | |
ifs = []; | |
iface_list = ncc.get_devices() | |
for(let j = 0; j < iface_list.length; j++){ | |
print(iface_list[j].state) |