VirtualTam's bookmarks
23 bookmarks found
-
Text normalization in Go
2024-11-28 Standard library:
- unicode - Data and functions to test some properties of Unicode code points
Extra libraries:
- golang.org/x/text - Supplementary Go packages for text processing, many involving Unicode
- golang.org/x/text/runes - Tansforms for UTF-8 encoded text
- golang.org/x/text/transform - Reader and writer wrappers that transform the bytes passing through
- golang.org/x/text/unicode/norm - Types and functions for normalizing Unicode strings
- golang.org/x/text/unicode - Building blocks for other packages in golang.org/x/text
Third-party libraries:
- anyascii/go - Converts Unicode characters to their best ASCII representation
RFCs:
- RFC 8264 - PRECIS Framework: Preparation, Enforcement, and Comparison of Internationalized Strings in Application Protocols
- RFC 8265 - PRECIS for Usernames and Passwords
- RFC 8266 - PRECIS for Nicknames
Resources:
-
Vincent Berton V Line guitars
2024-11-26 - Part 1
- Part 2
- Vincent Berton VLine Asteroth and miscellaneous models
- Vincent Berton VLine Salomé and variations
He was the protege of James Trussart, who recognized his art was beyond anything that had ever been done. He was completely brilliant, maybe too much for sanity, as he would spend months building one a kind creations and built every single detail by hand. He would build the knobs, the saddles, the control plates all from solid blocks of brass. He also built his own revolutionary pickups hiding the secret of his custom design by integrating them inside the body, he also built his own cases, but even down to the smallest of details like the hinges and the handle, also built by hand from solid brass. The guitar bodies are made from resin.
-
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
-
- Blocking TCP port 53 traffic leads to very strange failures. Don't.
- The source you're looking at is not the code running in production.
- "Prod" is just another name for "staging".
-
Vim: Function copy
2022-01-05 va{Vy
- Place the cursor somewhere in my method,
va{
to visually select the the code block,V
to turn the selection from character-wise to line-wise,y
to yank
-
- http://www.chiark.greenend.org.uk/%7Epeterb/network/drop-vs-reject
- https://security.stackexchange.com/questions/22686/is-it-good-practice-to-manually-lock-down-ports-on-each-host
- https://security.stackexchange.com/questions/22711/is-it-a-bad-idea-for-a-firewall-to-block-icmp/22713
- https://serverfault.com/questions/84963/why-not-block-icmp/84981
-
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!
-
- https://github.com/qmk/qmk_firmware
- https://colemak.com/
- https://www.scorpia.co.uk/2016/03/17/using-usb-type-c-on-hobyist-projects/
- http://www.embedded.com/electronics-blogs/benson-s-blocks/4442214/USB-Type-C-in-a-Micro-B-world
- https://sgotti.me/post/atreus-keyboard-build-log/
- https://atreus.technomancy.us/
-
Streamfield demo in Wagtail 1.0
2017-09-24 -
Linux Filesystems 101 - Block Devices
2017-08-24 -
The Cult of DD | Hacker News
2017-03-30 -
Literate DevOps
2016-03-29 """ Instead of opening up a terminal to my virtual machine, I pop into Emacs and load this sprint’s /note file/1, create a new header, and enter the shell and ruby commands in this text file.
What good is this? Unlike a traditional terminal, this allows me to log, document and execute each command.
As an old bear with very little brains, my prose can explain the background and purpose of each command. Clicking the hyperlink refreshes my memory of previous discoveries. A keychord executes the code block… """