Skip to content

Instantly share code, notes, and snippets.

View Jirido's full-sized avatar

Dunkan Dunkel Jirido

  • Finland
View GitHub Profile
[ 0.000000] Linux version 5.6.15-arch1-1 (linux@archlinux) (gcc version 10.1.0 (GCC)) #1 SMP PREEMPT Wed, 27 May 2020 23:42:26 +0000
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-linux root=/dev/mapper/sumo-root rw cryptdevice=/dev/disk/by-uuid/23d2e573-22b5-4271-b9f3-87ee61023501:cryptSumoMaa quiet resume=UUID=67ba8cbe-2f8e-4dee-99a0-cd00f39dce79
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Hygon HygonGenuine
[ 0.000000] Centaur CentaurHauls
[ 0.000000] zhaoxin Shanghai
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
# Enable PC-like layout by default.
# To override, copy this file to /etc/modprobe.d/hid_apple.conf and make
# desired changes. Note that /etc/modprobe.d/hid_apple.conf will completely
# replace this file, and the content is NOT merged.
#
# Option reference: https://github.com/free5lot/hid-apple-patched#configuration
options hid_apple fnmode=2
options hid_apple swap_fn_leftctrl=1
options hid_apple swap_opt_cmd=1
options hid_apple rightalt_as_rightctrl=1
# Enable PC-like layout by default.
# To override, copy this file to /etc/modprobe.d/hid_apple.conf and make
# desired changes. Note that /etc/modprobe.d/hid_apple.conf will completely
# replace this file, and the content is NOT merged.
#
# Option reference: https://github.com/free5lot/hid-apple-patched#configuration
options hid_apple fnmode=2
options hid_apple swap_fn_leftctrl=1
options hid_apple swap_opt_cmd=1
options hid_apple rightalt_as_rightctrl=1
hid-apple-patched-git-dkms /usr/
hid-apple-patched-git-dkms /usr/lib/
hid-apple-patched-git-dkms /usr/lib/depmod.d/
hid-apple-patched-git-dkms /usr/lib/depmod.d/hid_apple.conf
hid-apple-patched-git-dkms /usr/lib/modprobe.d/
hid-apple-patched-git-dkms /usr/lib/modprobe.d/hid_apple.conf
hid-apple-patched-git-dkms /usr/src/
hid-apple-patched-git-dkms /usr/src/hid-apple-patched-20200610.78148d5/
hid-apple-patched-git-dkms /usr/src/hid-apple-patched-20200610.78148d5/Makefile
hid-apple-patched-git-dkms /usr/src/hid-apple-patched-20200610.78148d5/dkms.conf
[ 0.547787] pci 0000:05:00.0: PCI bridge to [bus 06-6b]
[ 0.547794] pci 0000:05:00.0: bridge window [mem 0xb0a00000-0xb0efffff]
[ 0.547854] acpiphp: Slot [1] registered
[ 0.547872] pci 0000:07:00.0: [8086:1513] type 00 class 0x088000
[ 0.547899] pci 0000:07:00.0: reg 0x10: [mem 0xb0c00000-0xb0c3ffff]
[ 0.547909] pci 0000:07:00.0: reg 0x14: [mem 0xb0c40000-0xb0c40fff]
[ 0.547960] pci 0000:07:00.0: enabling Extended Tags
[ 0.548044] pci 0000:07:00.0: supports D1 D2
[ 0.548045] pci 0000:07:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.556582] pci 0000:06:00.0: PCI bridge to [bus 07]
[root@TiisiPurki ~]# npm -g install slap|gist
gyp WARN EACCES current user ("nobody") does not have permission to access the dev dir "/root/.cache/node-gyp/13.11.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/slap/node_modules/marker-index/.node-gyp"
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/slap/node_modules/marker-index/.node-gyp'
gyp ERR! System Linux 5.5.6-arch1-1
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/slap/node_modules/marker-index
[Unit]
Description=Gitea (Git with a cup of tea)
After=syslog.target
After=network.target
Requires=mysql.service
###
# If using socket activation for main http/s
###
#
#!/bin/bash
if
[[ "$CONNECTION_RETRIES" = "" ]]; then
export CONNECTION_RETRIES=0; export RESTARTS=0; export NMRESTART=0;\
echo "settin the damn retries to 0"
now=$(date +"%T")
echo "First try since reboot. Time is $now"
echo "ConnectionRetries $CONNECTION_RETRIES"
fi;
@Jirido
Jirido / reboot-hajvi.py
Last active February 22, 2020 05:19
File "/root/bin/reboot-hajvi.py", line 31 return s SyntaxError: 'return' outside function
#!/usr/bin/env python
from _future_ import print_function
import requests
import re
import hashlib
import base64
-- Logs begin at Sat 2020-01-04 11:44:09 EET, end at Tue 2020-02-18 01:43:23 EET. --
feb 18 01:08:04 minerva kernel: Linux version 5.5.4-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Sat, 15 Feb 2020 00:36:29 +0000
feb 18 01:08:04 minerva kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=/dev/mapper/Shine-root rw cryptdevice=UUID=50ba7b03-4b17-4ba7-ad4d-a8c1fbe9c826:RookieMoon resume=UUID=0bba1d57-121a-4eb0-b904-6608f2766a44 loglevel=3 quiet
feb 18 01:08:04 minerva kernel: KERNEL supported cpus:
feb 18 01:08:04 minerva kernel: Intel GenuineIntel
feb 18 01:08:04 minerva kernel: AMD AuthenticAMD
feb 18 01:08:04 minerva kernel: Hygon HygonGenuine
feb 18 01:08:04 minerva kernel: Centaur CentaurHauls
feb 18 01:08:04 minerva kernel: zhaoxin Shanghai
feb 18 01:08:04 minerva kernel: x86/fpu: x87 FPU will use FXSAVE