VirtualTam's bookmarks
36 bookmarks found
-
Reference:
- abbr - manage fish abbreviations
- argparse - parse options passed to a fish script or function
- function - create a function
- string - manipulate strings
- switch - conditionally execute a block of commands
Configuration:
- Writing your own prompt
- fish_add_path - add to the path
- fish_git_prompt - output git information for use in a prompt
- Setting up my fish shell from scratch on macOS
Plugins:
- jorgebucaran/fisher - A plugin manager for Fish
- jorgebucaran/autopair.fish - Auto-complete matching pairs in the Fish command line
- PatrickF1/fzf.fish
- kidonng/zoxide.fish
-
Debian Package Repository - Instructions to connect to a third-party repository (with Ansible)
2024-01-06 - apt_key deprecated in Debian/Ubuntu - how to fix in Ansible
- ansible.builtin.deb822_repository - Add and remove deb822 formatted repositories
- ansible/ansible#78063 - ansible.builtin.apt_key adds keys to a deprecated location
- Example usages of the new
deb822_repository
Ansible module - Ubuntu [Spec] APT deb822 sources by default
-
- https://stackoverflow.com/questions/35773299/how-can-you-export-the-visual-studio-code-extension-list
- https://stackoverflow.com/questions/55310734/how-to-add-more-indentation-in-the-visual-studio-code-explorer-file-tree-structu/55315106#55315106
- https://github.com/microsoft/vscode/issues/1027 - Suppress display of end-of-file newline as blank line
- https://stackoverflow.com/questions/30140112/how-do-i-hide-certain-files-from-the-sidebar-in-visual-studio-code
- https://stackoverflow.com/questions/29973619/how-to-make-vs-code-treat-a-file-extensions-as-a-certain-language
- https://stackoverflow.com/questions/44774709/removing-the-file-preview-on-the-right-side-of-the-editor-in-vs-code
-
- https://www.openssh.com/txt/release-7.2
- https://unix.stackexchange.com/questions/269121/openssh-have-ssh-add-keys-to-agent-as-needed
Host blah AddKeysToAgent yes ForwardAgent yes
-
X11 / XKB custom keyboard layout definition
2020-08-15 - https://web.archive.org/web/20170825051821/http://madduck.net:80/docs/extending-xkb/
- https://web.archive.org/web/20170720005456/http://pascal.tsu.ru/en/xkb/
- https://web.archive.org/web/20170709093947/https://wiki.debian.org/XStrikeForce/InputHotplugGuide
- https://help.ubuntu.com/community/Custom%20keyboard%20layout%20definitions
- http://linux.lsdev.sil.org/wiki/index.php/Building_an_XKB_Keyboard
- https://rlog.rgtti.com/2014/05/01/how-to-modify-a-keyboard-layout-in-linux/
- https://www.freedesktop.org/wiki/Software/XKeyboardConfig/
- https://askubuntu.com/questions/482678/how-to-add-a-new-keyboard-layout-custom-keyboard-layout-definition
- https://wiki.archlinux.org/index.php/X_keyboard_extension
-
-
Miller columns
2018-05-30 DFileManager:
ElementaryOS' Pantheon Files (Marlin fork):
- https://launchpad.net/pantheon-files
- https://wiki.archlinux.org/index.php/Pantheon
- https://www.noobslab.com/2013/11/marlin-file-manager-for-ubuntu.html
- https://www.noobslab.com/2014/09/marlin-file-manager-is-now-available.html
- https://www.noobslab.com/2014/03/elementary-os-file-manager-pantheon.html
Misc:
-
Here are the steps I used to migrate a CentOS 7 VM from (presumably?) an ESXi server, to a local VirtualBox environment.
The LVM volumes were not detected at boot, and after the boot timeout, the OS fell back to the Dracut emergency shell.
- get a CentOS minimal installation CD
- check the VM's resources and peripherals:
- ensure there are no floppy drives (!)
- setup CPU and RAM resources
- check virtual drives
- add an SCSI optical drive if needed
- optional: convert the virtual drive images from VMDK to VDI
- mount the CentOS installation disc
- boot on the installation disc:
- select "Troubleshooting", then "Rescue"
- let the rescue utility detect filesystems and mountpoints
$ chroot
to the detected environment- backup files:
/etc/fstab
/boot/grub/grub.cfg
- under /boot, backup the initrd and initramfs for the current configuration (these will be overwritten)
- compare the current
/etc/fstab
with the output of$ lsblk
and$ blkid
- if needed, manually edit /etc/fstab to use the appropriate block device UUIDs, identifiers and mountpoints
- regenerate GRUB configuration:
$ grub2-mkconfig -o /boot/grub2/grub.cfg
- if needed, reinstall GRUB:
$ grub-install /dev/sda
- rebuild initrd:
$ mkinitrd --force /boot/<initrd_image> <kernel_version>
- rebuild initramfs:
$ dracut --force <kernel_version>
- exit the chroot
- unmount the installation disc
- reboot
- optional but highly recommended: cross your fingers
- ...
- profit!
-
Linux - Network over USB (usbnet)
2018-04-03 -
https://superuser.com/questions/145933/how-to-add-usbnet-driver-to-the-linux-kernel#145944
-
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/usb/usbnet.c
-
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/usb/cdc_ether.c
-
https://raspberrypi.stackexchange.com/questions/9636/usb-to-usb-mimicking-ethernet
-
https://www.raspberrypi.org/forums/viewtopic.php?f=36&t=131042
-
https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=130810
-
https://www.raspberrypi.org/forums/viewtopic.php?p=865905#p865905
-
https://raspberrypi.stackexchange.com/questions/13917/raspberry-pi-communication-over-usb
-
https://developer.ridgerun.com/wiki/index.php/How_to_use_USB_device_networking
-
http://www.ev3dev.org/docs/tutorials/connecting-to-the-internet-via-usb/