Skip to content

Instantly share code, notes, and snippets.

View akoidan's full-sized avatar
👀
Looking for an employment

Andrew Koidan akoidan

👀
Looking for an employment
View GitHub Profile
{"version":1,"resource":"file:///home/andrew/it/my-projects/blogs/astro/src/components/SocialIcon.astro","entries":[{"id":"jSmQ.astro","timestamp":1686437522591},{"id":"u4pH.astro","timestamp":1686437574347},{"id":"WTyI.astro","timestamp":1686437585659},{"id":"LrQ4.astro","timestamp":1686437617218},{"id":"T1jw.astro","timestamp":1686437654967},{"id":"107w.astro","timestamp":1686438130781},{"id":"PZAD.astro","timestamp":1686438155409},{"id":"xh9N.astro","timestamp":1686438169035},{"id":"TYjm.astro","timestamp":1686438193536},{"id":"1Pe3.astro","timestamp":1686438252837},{"id":"Tx1S.astro","timestamp":1686438291713},{"id":"QeIm.astro","timestamp":1686438333963},{"id":"Bgt8.astro","timestamp":1686438411103},{"id":"WODb.astro","timestamp":1686438666136},{"id":"vrk3.astro","timestamp":1686438745178},{"id":"9Yii.astro","timestamp":1686438777987},{"id":"UA6b.astro","timestamp":1686438800445},{"id":"2s0E.astro","timestamp":1686438836423},{"id":"IypE.astro","source":"undoRedo.source","timestamp":1686438837873},{"id":"
const path = require("path")
const chai = require("chai")
const { Pact } = require("@pact-foundation/pact")
const chaiAsPromised = require("chai-as-promised")
const expect = chai.expect
const request = require('request');
chai.use(chaiAsPromised)
: cscreen -s 1a451887 -v
DisplayID Index Depth Width Height Refresh
4281106 1 32 3072 1920 60
4281106 2 32 3072 1920 50
4281106 3 32 3072 1920 48
4281106 4 32 3072 1920 48
4281106 5 32 3072 1920 60
4281106 6 32 1536 960 60
4281106 7 32 3584 2240 60
4281106 8 32 2688 1680 60
Oct 26 06:31:01 msi polkitd[862]: Registered Authentication Agent for unix-process:1637:4340 (system bus name :1.211 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKi>
Oct 26 06:31:01 msi kdeinit5[812]: bluedevil: About to suspend
Oct 26 06:31:01 msi polkitd[862]: Unregistered Authentication Agent for unix-process:1637:4340 (system bus name :1.211, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (>
Oct 26 06:31:01 msi NetworkManager[647]: <info> [1572060661.6983] manager: sleep: sleep requested (sleeping: no enabled: yes)
Oct 26 06:31:01 msi NetworkManager[647]: <info> [1572060661.6984] device (p2p-dev-wlp62s0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Oct 26 06:31:01 msi NetworkManager[647]: <info> [1572060661.6990] manager: NetworkManager state is now ASLEEP
Oct 26 06:31:01 msi NetworkManager[647]: <info> [1572060661.6992] device (enp61s0): state change: activated -> deactivating (reason
Oct 26 06:17:09 msi org_kde_powerdevil[949]: powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool, true))("Type", QVariant(uint, 1)))
Oct 26 06:17:10 msi org_kde_powerdevil[949]: powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool, true))("SkipFade", QVariant(bool, true))("Type", QVariant(uint, 1)))
Oct 26 06:17:10 msi org_kde_powerdevil[949]: powerdevil: Starting Login1 suspend job
Oct 26 06:17:10 msi NetworkManager[637]: <info> [1572059830.0762] manager: sleep: sleep requested (sleeping: no enabled: yes)
Oct 26 06:17:10 msi NetworkManager[637]: <info> [1572059830.0765] device (p2p-dev-wlp62s0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Oct 26 06:17:10 msi kdeinit5[804]: bluedevil: About to suspend
Oct 26 06:17:10 msi NetworkManager[637]: <info> [1572059830.0778] manager: NetworkManager state is now ASLEEP
Oct 26 06:17:10 msi NetworkManager[637]: <info> [1572059830.0783] device (enp61s0): state change: activated -
UDEV [107524.113803] remove /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.0/sound/card1/pcmC1D2p (sound)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.0/sound/card1/pcmC1D2p
SUBSYSTEM=sound
DEVNAME=/dev/snd/pcmC1D2p
DEVTYPE=pcm
SEQNUM=9672
USEC_INITIALIZED=107494381200
MAJOR=116
MINOR=16
Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1':
KERNEL=="1-2.1"
SUBSYSTEM=="usb"
DRIVER=="usb"
SELECT
"comment"."id",
...
FROM "comment"
WHERE ("comment"."id" IN (SELECT U0."id"
FROM "comment" U0
WHERE U0."user_id" = ("comment"."user_id")
ORDER BY U0."created_at" DESC
LIMIT 5))
function (o) {
var t = {};
function e(r) {
if (t[r]) return t[r].exports;
var n = t[r] = {i: r, l: !1, exports: {}};
return o[r].call(n.exports, n, n.exports, e), n.l = !0, n.exports
}
return e.m = o, e.c = t, e.d = function (o, t, r) {
test() {
test2
test3
}
test2() {
test21
test22
}