Skip to content

Instantly share code, notes, and snippets.

View AdrianKoshka's full-sized avatar
🦉
Focusing

Adrian Lucrèce Céleste AdrianKoshka

🦉
Focusing
View GitHub Profile
crosh> tpm_status
[cryptohome.GetTpmStatusReply.reply] {
enabled: true
owned: true
initialized: true
attestation_prepared: true
attestation_enrolled: true
dictionary_attack_counter: 0
dictionary_attack_threshold: 10
dictionary_attack_lockout_in_effect: false
/home/alc/git/github/debauchee/barrier/src/lib/platform/XWindowsScreen.cpp:195:5: warning: delete called on 'IXWindowsImpl' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor]
delete m_impl;
^
1 warning generated
#!/usr/bin/bash
#
# Run Firefox under Wayland
#
export MOZ_ENABLE_WAYLAND=1
exec /usr/bin/firefox "$@"
Scanning processes...
Scanning processor microcode...
Scanning linux images...
Running kernel seems to be up-to-date.
The processor microcode seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
Unifying Receiver
Device path : /dev/hidraw0
USB id : 046d:c52b
Serial : CA1B9455
Firmware : 12.09.B0030
Bootloader : 04.16
Other : AA.AA
Has 1 paired device(s) out of a maximum of 6.
Notifications: wireless, software present (0x000900)
Device activity counters: 1=85
alc@am1m-s2h ~ % lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
└─stratis-1-private-8dc0ab85302a47ff875d71c107669b23-physical-originsub 253:0 0 931.5G 0 stratis
├─stratis-1-private-8dc0ab85302a47ff875d71c107669b23-flex-thinmeta 253:1 0 944M 0 stratis
│ └─stratis-1-private-8dc0ab85302a47ff875d71c107669b23-thinpool-pool 253:3 0 930.6G 0 stratis
│ ├─stratis-1-8dc0ab85302a47ff875d71c107669b23-thin-fs-20cf0906cbf3493d85e2c4a0d32a9e19 253:5 0 1T 0 stratis /mnt/storage
│ └─stratis-1-8dc0ab85302a47ff875d71c107669b23-thin-fs-dc97a77903094bc386875eba22914f9e 253:7 0 1T 0 stratis /home
├─stratis-1-private-8dc0ab85302a47ff875d71c107669b23-flex-thindata 253:2 0 930.6G 0 stratis
@AdrianKoshka
AdrianKoshka / tasks.json
Last active February 3, 2019 22:32
My VScode tasks.json file for my blog
{
"version": "2.0.0",
"tasks": [
{
"label": "Preview",
"type": "process",
"linux": {
"command": "podman",
"args": [
"run",
@AdrianKoshka
AdrianKoshka / Dockerfile
Last active February 3, 2019 21:43
My windows hugo dockerfile
FROM microsoft/nanoserver
LABEL maintainer="Adrian Lucrèce Céleste <adrianlucrececeleste@airmail.cc>"
RUN powershell Invoke-WebRequest -Uri https://github.com/gohugoio/hugo/releases/download/v0.54.0/hugo_0.54.0_Windows-64bit.zip -Outfile hugo.zip
RUN powershell Expand-Archive C:\\hugo.zip -DestinationPath C:\\hugo
WORKDIR C:\\workspace
CMD [ "--help" ]
ENTRYPOINT [ "C:\\hugo\\hugo.exe" ]
[Unit]
Description=Automount unit for NFS share
[Automount]
Where=/media/nfs/alc
[Install]
WantedBy=multi-user.target
@AdrianKoshka
AdrianKoshka / docker_push.sh
Last active January 24, 2019 21:20
Docker push sample file for my Travis & Quay tutorial
#!/bin/bash
echo "$QUAY_BOT_PASSWORD" | docker login -u "$QUAY_BOT_USERNAME" --password-stdin quay.io
docker push quay.io/[yourusername]/alpine-hugo