this gist is part of this series
This fixes issues i bugged with the thunderbolt / thunderbolt-net maintainers (i will take everyones thanks now, lol)
- install lldpctl with
apt install lldpd
#!/bin/bash | |
for d in $(find /sys/kernel/iommu_groups/ -type l | sort -n -k5 -t/); do | |
n=${d#*/iommu_groups/*}; n=${n%%/*} | |
printf 'IOMMU Group %s ' "$n" | |
lspci -nns "${d##*/}" | |
done; |
this gist is part of this series
This fixes issues i bugged with the thunderbolt / thunderbolt-net maintainers (i will take everyones thanks now, lol)
apt install lldpd
Shutdown Virtualbox VM.
Convert the vdi to a raw disk images. Note: vdi are compressed and raw images are not and so you will need to leave enough disk space for entire uncompressed disk.
VBoxManage clonehd --format RAW win7.vdi win7.img
INFO | jvm 1 | 2020/07/16 19:59:48 | java.lang.NullPointerException: null | |
INFO | jvm 1 | 2020/07/16 19:59:48 | at com.inductiveautomation.ignition.gateway.logging.SQLiteAppenderReader.getConnection(SQLiteAppenderReader.java:83) | |
INFO | jvm 1 | 2020/07/16 19:59:48 | at com.inductiveautomation.ignition.gateway.logging.SQLiteAppenderReader.query(SQLiteAppenderReader.java:150) | |
INFO | jvm 1 | 2020/07/16 19:59:48 | at com.inductiveautomation.ignition.gateway.logging.GatewayLoggingManagerImpl.queryLogEvents(GatewayLoggingManagerImpl.java:144) | |
INFO | jvm 1 | 2020/07/16 19:59:48 | at com.inductiveautomation.ignition.gateway.web.pages.status.routes.LoggingRoutes.getLogs(LoggingRoutes.java:561) | |
INFO | jvm 1 | 2020/07/16 19:59:48 | at com.inductiveautomation.ignition.gateway.dataroutes.Route.service(Route.java:252) | |
INFO | jvm 1 | 2020/07/16 19:59:48 | at com.inductiveautomation.ignition.gateway.dataroutes.RouteGroupImpl.service(RouteGroupImpl.java:61) |
version: "3.2" | |
services: | |
wordpress: | |
image: wordpress | |
volumes: | |
- type: volume | |
source: www-data | |
target: /var/www/html | |
expose: | |
- 80 |
from javax.swing.border import LineBorder | |
from java.awt import Color | |
event.source.putClientProperty("origBorder",event.source.border) | |
event.source.border = LineBorder(Color.BLUE,3) |
public boolean isAccepting() { | |
Date now = new Date(); | |
if (sender != null && sender.isAvailable && (now.getTime() - lastSend.getTime()) > frequencyMS){ | |
log.infof("Sending data. Current Time - %s *** Last Send - %s *** Limit %s ms",now.toString(),lastSend.toString(),frequencyMS.toString()); | |
lastSend = (Date) now.clone(); | |
return true; | |
} else { | |
return false; |
import zipfile | |
zile = system.file.saveFile("temp.zip") | |
myzip = zipfile.ZipFile(zile,'w') | |
invoiceId = event.source.parent.getComponent('Container').getComponent('tblInvoices').selectedInvoice | |
invoiceFile = system.file.getTempFile("pdf") | |
bytes = event.source.parent.getComponent('Report Viewer Labour').getBytesPDF() | |
system.file.writeFile(invoiceFile,bytes) | |
invoiceName = "000000" + str(invoiceId) |