This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> fido2-token -d -D -i rrA4hJfIw9N1wVfucgaYrHh4vocK2PGqmTcvrF20W1Q= /dev/hidraw3 | |
fido_tx: dev=0x557fa4b6d260, cmd=0x06 | |
fido_tx: buf=0x557fa4b6d260, len=8 | |
0000: 93 e2 5c 8c 88 03 96 3f | |
fido_rx: dev=0x557fa4b6d260, cmd=0x06, ms=-1 | |
rx_preamble: buf=0x7fffc3bb0fd0, len=64 | |
0000: ff ff ff ff 86 00 11 93 e2 5c 8c 88 03 96 3f 72 | |
0016: f1 23 1b 02 01 00 00 04 00 00 00 00 00 00 00 00 | |
0032: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
0048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> fido2-token -d -I -c pcsc://slot0 | |
fido_tx: dev=0x55d983ae6260, cmd=0x06 | |
fido_tx: buf=0x55d983ae6260, len=8 | |
0000: 52 24 0f bb 22 3c 04 91 | |
fido_pcsc_write: writing: buf=0x7ffcaff0c3e0, len=14 | |
0000: 00 a4 04 00 08 a0 00 00 06 47 2f 00 01 00 | |
fido_pcsc_write: read: buf=0x55d983ae6990, len=8 | |
0000: 55 32 46 5f 56 32 90 00 | |
fido_rx: dev=0x55d983ae6260, cmd=0x06, ms=-1 | |
fido_pcsc_read: reading: buf=0x55d983ae6990, len=8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd401] | |
[ 0.000000] Linux version 5.13.0-1022-aws (buildd@bos02-arm64-048) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #24~20.04.1-Ubuntu SMP Thu Apr 7 22:14:11 UTC 2022 (Ubuntu 5.13.0-1022.24~20.04.1-aws 5.13.19) | |
[ 0.000000] efi: EFI v2.70 by EDK II | |
[ 0.000000] efi: SMBIOS=0x7bed0000 SMBIOS 3.0=0x7beb0000 ACPI=0x786e0000 ACPI 2.0=0x786e0014 MEMATTR=0x7a6a3018 RNG=0x7bfded18 MEMRESERVE=0x78615b98 | |
[ 0.000000] efi: seeding entropy pool | |
[ 0.000000] random: fast init done | |
[ 0.000000] secureboot: Secure boot disabled | |
[ 0.000000] ACPI: Early table checksum verification disabled | |
[ 0.000000] ACPI: RSDP 0x00000000786E0014 000024 (v02 AMAZON) | |
[ 0.000000] ACPI: XSDT 0x00000000786D00E8 000064 (v01 AMAZON AMZNFACP 00000001 01000013) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set IR_CFG_IN 5 | |
set IR_CFG_OUT 4 | |
set IR_SHUTDOWN D | |
set PKT_DUMMY FFFFFFFF | |
set PKT_SYNC AA995566 | |
set PKT1_NOP 20000000 | |
set PKT1_RD 28000000 | |
set PKT1_WR 30000000 | |
set PKT2_CNT 40000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Source this script in tcsh to setup shell completions | |
# for git. Completions are activated by typing or Control-D | |
# in the shell after entering a partial command. | |
# | |
# Usage: | |
# source git-completion.tcsh (e.g. in ~/.cshrc) | |
# | |
# Supported completions: | |
# git (lists git commands) | |
# git help (lists git commands) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ip -batch - <<EOF | |
r add 59.66.0.0/16 via 166.111.226.129 table users | |
r add 101.5.0.0/16 via 166.111.226.129 table users | |
r add 101.6.0.0/16 via 166.111.226.129 table users | |
r add 118.229.0.0/20 via 166.111.226.129 table users | |
r add 166.111.0.0/16 via 166.111.226.129 table users | |
r add 183.172.0.0/16 via 166.111.226.129 table users | |
r add 183.173.0.0/17 via 166.111.226.129 table users |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x611f0221] | |
[ 0.000000] Linux version 5.11.0-rc4+ ([email protected]) (aarch64-linux-gnu-gcc (Linaro GCC 7.4-2019.02) 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4], GNU ld (Linaro_Binutils-2019.02) 2.28.2.20170706) #192 SMP Mon Feb 1 17:40:41 EST 2021 | |
[ 0.000000] Machine model: Mac Mini Late 2020 | |
[ 0.000000] earlycon: apple_uart0 at MMIO 0x0000000235200000 (options '') | |
[ 0.000000] printk: bootconsole [apple_uart0] enabled | |
[ 0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader! | |
[ 0.000000] Zone ranges: | |
[ 0.000000] DMA [mem 0x000000080134c000-0x00000009db5dffff] | |
[ 0.000000] DMA32 empty | |
[ 0.000000] Normal empty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while true; do | |
fails=0 | |
while ! ping -c1 $1 &>/dev/null;do | |
echo "Ping Fail $fails - `date`" | |
fails=$(($fails+1)) | |
if [[ $fails > 3 ]]; then | |
echo "Restarting the Wi-Fi connection" | |
nmcli c down cqtest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
l = ['B7','B6','E20','B5','B3','B2','C3','C0','C1','E22','G0','G2','G4','G5','G3','G1','E21','C2','B0','B1','B4'] | |
n = [] | |
path = '/sys/class/gpio' | |
for io in l: | |
num = ord(io[0])-ord('A') | |
num = num*32+int(io[1:]) | |
n.append(num) | |
for num in n: | |
print('echo %d >%s/export'%(num,path)) | |
print('echo out >%s/gpio%d/direction'%(path,num)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# SATA SSD free-space TRIM utility, by Mark Lord <[email protected]> | |
VERSION=3.6 | |
# Copyright (C) 2009-2010 Mark Lord. All rights reserved. | |
# | |
# Contains hfsplus and ntfs code contributed by Heiko Wegeler <[email protected]>. | |
# Package sleuthkit version >=3.1.1 is required for HFS+. Package ntfs-3g and ntfsprogs is required for NTFS. |
NewerOlder