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
Tmux | |
GPG | |
etc |
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
video=hyperv_fb:640x480 |
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
git merge --strategy=ours master | |
git checkout master | |
git merge $branch |
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
[Unit] | |
Description=Reverse SSH Tunnel | |
[Service] | |
ExecStart=/bin/ssh -p 51988 -o StrictHostKeyChecking=no -i /etc/ssh/key -Nxn2TR 50555:127.0.0.1:22 user@server.ip | |
Restart=on-failure | |
RestartSec=10 | |
[Install] | |
WantedBy=multi-user.target |
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
TS140 w/ i3 mainboard | |
2 x 4 gb ecc | |
8x3TB WD Red | |
1x128gb SSD | |
LSI 9211-8i flashed to IT mode. | |
1. Get sas2flash.efi, current IT firmware and current BIOS from LSI web site | |
2. Put those on ordinary USB flash drive, and plug USB flash drive into computer | |
3. Do not boot from flash drive, but select UEFI boot from boot selector, which is f11 on SuperMicros | |
4. Select USB drive; type "map" in UEFI boot to show drives; mine was fs0, so I typed "fs0:" at UEFI prompt |
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
~/.ssh/config | |
Host $name | |
Hostname . | |
Port # | |
IdentityFile . | |
ServerAliveInterval (s) | |
ServerAliveCountMax # |
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
mount /dev/sdb1 /disk2 | |
rsync -aAXv /home/ /disk2 | |
systemctl isolate rescue.target | |
edit fstab, add entry for new disk, comment old entry | |
reboot | |
check make sure new home directory exists, delete old mount point | |
lvs to show LVM info | |
lvremove fedora/home | |
lvresize -L +xxg fedora/root | |
resize2fs /dev/mapper/root |
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
sudo openssl enc -aes-256-ctr -pass pass:"$(dd if=/dev/urandom bs=128 count=1 2>/dev/null | base64)" -nosalt </dev/zero | pv --progress --eta --rate --bytes --size 8000632782848 | dd of=/mnt/st/file.test bs=10M |
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
[ 1670.020298] sdc: sdc1 | |
[ 1671.456883] sdc: sdc1 | |
[ 2326.627882] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null) | |
[ 2714.601332] ata4.00: exception Emask 0x0 SAct 0x3fffff00 SErr 0x0 action 0x6 frozen | |
[ 2714.604495] ata4.00: failed command: WRITE FPDMA QUEUED | |
[ 2714.607081] ata4.00: cmd 61/c0:40:80:fc:90/3a:00:03:00:00/40 tag 8 ncq 7700480 out | |
res 40/00:01:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout) | |
[ 2714.613744] ata4.00: status: { DRDY } | |
[ 2714.615457] ata4.00: failed command: WRITE FPDMA QUEUED | |
[ 2714.617773] ata4.00: cmd 61/00:48:40:37:91/16:00:03:00:00/40 tag 9 ncq 2883584 out |
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
change | |
./configure | |
GST_REQ=1.4.5 | |
GSTPB_REQ=1.4.5 | |
cd ./ext/bs2b | |
make | |
cd ./.libs/ | |
mv bs2b .so to .. /lib64/gstreamer-1.0 |
OlderNewer