Skip to content

Instantly share code, notes, and snippets.

@t638403
t638403 / journalctl.txt
Created October 13, 2022 11:15
My journalctl -b-1
This file has been truncated, but you can view the full file.
Oct 13 12:49:09 thinkpad kernel: Linux version 5.15.72-1-lts (linux-lts@archlinux) (gcc (GCC) 12.2.0, GNU ld (GNU Binutils) 2.39.0) #1 SMP Wed, 05 Oct 2022 12:15:15 +0000
Oct 13 12:49:09 thinkpad kernel: Command line: root=UUID=870e404a-fb26-4996-93a5-bff60d8f61e4 rw initrd=\intel-ucode.img initrd=\initramfs-linux-lts.img
Oct 13 12:49:09 thinkpad kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Oct 13 12:49:09 thinkpad kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Oct 13 12:49:09 thinkpad kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
Oct 13 12:49:09 thinkpad kernel: x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
Oct 13 12:49:09 thinkpad kernel: x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
Oct 13 12:49:09 thinkpad kernel: x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
Oct 13 12:49:09 thinkpad kernel: x86/fpu: xstate_offset[3]: 832, xstate_sizes[3]: 64
Oct 13 12:49:09 thinkpad kernel: x86/fpu: xstate_offset[4]
@t638403
t638403 / request_with_hmac_example.js
Created November 14, 2019 12:09
request with hmac example
/***********************************************************************************************************************
* MAKE REQUEST WITH HMAC TO API
**********************************************************************************************************************/
const fs = require('fs');
const http = require('https');
const Hmmac = require('hmmac');
const USER = process.env.HMAC_USER || '<username>';
const SECRET = process.env.HMAC_SECRET || '<secret>';
const SIGNED_HEADERS = process.env.HMAC_SIGNED_HEADERS || 'accept,date,host';