Skip to content

Instantly share code, notes, and snippets.

View nasko's full-sized avatar

Atanas Vasilev nasko

View GitHub Profile
@nasko
nasko / gist:82ba1092e4b8905ae4e1574b61126dde
Created April 24, 2024 13:10
Monitor detected properly - for OUT in /sys/class/drm/card*; do echo $OUT; edid-decode $OUT/edid; echo "================="; done
/sys/class/drm/card1
=================
/sys/class/drm/card1-DP-1
edid-decode (hex):
00 ff ff ff ff ff ff 00 10 ac ba a0 55 4d 46 31
33 1b 01 03 80 34 20 78 ea 04 95 a9 55 4d 9d 26
10 50 54 a5 4b 00 71 4f 81 80 a9 40 d1 c0 d1 00
01 01 01 01 01 01 28 3c 80 a0 70 b0 23 40 30 20
36 00 06 44 21 00 00 1e 00 00 00 ff 00 37 4d 54
local/gst-plugin-pipewire 1:1.0.5-1
Multimedia graph framework - pipewire plugin
local/iwd 2.17-2
Internet Wireless Daemon
local/kpipewire 6.0.4-1 (plasma)
Components relating to pipewire use in Plasma
local/libcanberra 1:0.30+r2+gc0620e4-3
A small and lightweight implementation of the XDG Sound Theme Specification
local/libpipewire 1:1.0.5-1
Low-latency audio/video router and processor - client library
апр 24 00:39:12 L0442 kernel: Linux version 6.8.7-arch1-1 (linux@archlinux) (gcc (GCC) 13.2.1 20230801, GNU ld (GNU Binutils) 2.42.0) #1 SMP PREEMPT_DYNAMIC Wed, 17 Apr 2024 15:20:28 +0000
апр 24 00:39:12 L0442 kernel: Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=298665fd-6b50-48da-82fd-666b52100eda rw zswap.enabled=0 rootfstype=ext4 loglevel=3 quiet
апр 24 00:39:12 L0442 kernel: x86/split lock detection: #AC: crashing the kernel on kernel split_locks and warning on user-space split_locks
апр 24 00:39:12 L0442 kernel: BIOS-provided physical RAM map:
апр 24 00:39:12 L0442 kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009efff] usable
апр 24 00:39:12 L0442 kernel: BIOS-e820: [mem 0x000000000009f000-0x00000000000fffff] reserved
апр 24 00:39:12 L0442 kernel: BIOS-e820: [mem 0x0000000000100000-0x000000008c3f3fff] usable
апр 24 00:39:12 L0442 kernel: BIOS-e820: [mem 0x000000008c3f4000-0x0000000091b2efff] reserved
апр 24 00:39:12 L0442 kernel: BIOS-e820: [mem 0x0000000091b2f000-0x000000009272efff] ACPI N
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-UP3 GT2 [Iris Xe Graphics] (rev 0c)
Subsystem: Lenovo Device 50a0
Kernel driver in use: i915
START: Requesting Config
Received config. Took 5 milliseconds
Screen:
maxSize: QSize(64000, 64000)
minSize: QSize(0, 0)
currentSize: QSize(3840, 1200)
-----------------------------------------------------
Id: 1
START: Requesting Config
Received config. Took 5 milliseconds
Configs in: "/home/nasko/.local/share/kscreen/"
Number of files: 0
total 1224
drwxr-xr-x 86 root root 4096 20 апр 22:55 .
drwxr-xr-x 17 root root 4096 12 апр 16:10 ..
drwxr-xr-x 3 root root 4096 12 апр 16:11 alsa
-rw-r--r-- 1 root root 541 8 апр 18:23 anacrontab
-rw-r--r-- 1 root root 1 7 апр 21:02 arch-release
drwxr-xr-x 2 root root 4096 11 мар 20:28 audisp
drwxr-xr-x 4 root root 4096 12 апр 16:10 audit
drwxr-xr-x 3 root root 4096 12 апр 16:11 avahi
-rw-r--r-- 1 root root 28 16 яну 12:48 bash.bash_logout
# e2scrub configuration file
# Uncomment to enable automatic periodic runs of e2scrub_all
# (either via cron or via a systemd timer)
# periodic_e2scrub=1
# e-mail destination used by e2scrub_fail when problems are found with
# the file system.
# recipient=root

Salesforce OAuth 2.0 JWT Bearer Token Flow Walk-Through

This document will walk you through how to create or configure a Salesforce application for use with JWT authentication. These configuration steps and the example code works as of Salesforce API version 42.0.

Prerequisites

Create an RSA x509 private key/certification pair

Keybase proof

I hereby claim:

  • I am nasko on github.
  • I am nasko (https://keybase.io/nasko) on keybase.
  • I have a public key ASCkHcP9jDc6TBe3bh4tuOeJLo_whBaNnfIfYfOzkzknOQo

To claim this, I am signing this object: