Skip to content

Instantly share code, notes, and snippets.

View jonkri's full-sized avatar

Jon Kristensen jonkri

  • Nejla AB
  • Gothenburg, Sweden
View GitHub Profile
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>se.jonkri.serverprogrammering</groupId>
<artifactId>webapp</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>war</packaging>
<dependencies>
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 003: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 004 Device 002: ID 0424:5807 Microchip Technology, Inc. (formerly SMSC) Hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0bda:4014 Realtek Semiconductor Corp.
Bus 003 Device 002: ID 0424:2807 Microchip Technology, Inc. (formerly SMSC) Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 27c6:5395 Shenzhen Goodix Technology Co.,Ltd. Fingerprint Reader
[ 1.136671] usbcore: registered new interface driver usbfs
[ 1.136671] usbcore: registered new interface driver hub
[ 1.136671] usbcore: registered new device driver usb
[ 1.429510] usbcore: registered new interface driver usbserial_generic
[ 1.429514] usbserial: USB Serial support registered for generic
[ 1.939749] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.05
[ 1.939750] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.939751] usb usb1: Product: xHCI Host Controller
[ 1.939752] usb usb1: Manufacturer: Linux 5.5.9-arch1-2 xhci-hcd
[ 1.939753] usb usb1: SerialNumber: 0000:00:14.0
Module Size Used by
snd_seq_dummy 16384 2
snd_hrtimer 16384 2
snd_seq 86016 9 snd_seq_dummy
uinput 20480 0
fuse 139264 3
xt_conntrack 16384 5
xt_MASQUERADE 20480 5
nf_conntrack_netlink 57344 0
nfnetlink 16384 2 nf_conntrack_netlink
(defun today-anchor ()
"Find or create an anchor for today's date"
;; (org-time-stamp-format) for an active time stamp
(setq date (format-time-string (org-time-stamp-format nil t) (current-time)))
(goto-char (point-min))
(if (re-search-forward (format org-complex-heading-regexp-format (regexp-quote date)) nil t)
(goto-char (line-beginning-position))
(goto-char (point-min))
(next-line)
(or (bolp) (insert "\n"))