VirtualTam's bookmarks
34 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
-
- From Map to Reality: Using PostGIS in Warfare (PDF)
- NASA Earthdata - Full and open access to NASA’s collection of Earth science data for understanding and protecting our home planet
- Visible Infrared Imaging Radiometer Suite (VIIRS) Active Fire detection
- PostgreSQL - GiST - Generalized Search Tree
- PostgreSQL - SP-GiST - Space-partitioned GiST
- H3 - Hexagonal hierarchical geospatial indexing system
- zachasme/h3-pg - PostgreSQL bindings for H3
-
Elasticsearch - Grok processor
2023-11-19 - Elastic - Grokking Grok
- Kibana - Debug grok expressions
- Grok Constructor
- Elasticsearch Grok Patterns
- Logstash Grok Patterns
Alternative implementations:
- vjeantet/grok - Simple library to use/parse grok patterns with Go
- GuanceCloud/grok - Fork of the above
- logrusorgru/grokky - Pure golang grok-like library
- Telegraf's Grok Parser Plugin
- Vector Remap Language - Datadog Grok Parser
-
- Postgres Full Text Search vs the rest (MeiliSearch, OpenSearch/Elasticsearch, SQlite FTS, Typesense)
- Optimizing Full Text Search with Postgres tsvector Columns and Triggers
- Word separators for Postgres full text search with Rails
- Using PostgreSQL Full Text Search With Golang
- PostgreSQL: Full Text Search
- PostgreSQL: Preferred Index Types for Text Search
-
- Rust Performance 101 in 5 Minutes
- https://www.jibbow.com/posts/criterion-flamegraphs/
- https://www.notamonadtutorial.com/benchmarking-and-analyzing-rust-performance-with-criterion-and-iai/
- https://github.com/bheisler/criterion.rs
- https://github.com/bheisler/criterion.rs/issues/97 - Compare memory usage
- https://github.com/bheisler/iai
- https://github.com/tikv/pprof-rs
- https://github.com/KDE/heaptrack
-
-
- https://www.doctrine-project.org/projects/orm.html
- https://www.doctrine-project.org/projects/doctrine-dbal/en/2.7/index.html
- https://www.doctrine-project.org/projects/doctrine-migrations/en/1.7/index.html
- https://github.com/doctrine
- https://symfony.com/doc/current/doctrine.html
- https://symfony.com/doc/current/doctrine/associations.html
-
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!
-
PowerShell Survival Kit
2018-03-07 Home:
- https://docs.microsoft.com/en-us/powershell/
- https://docs.microsoft.com/en-us/powershell/scripting/getting-started/fundamental/using-windows-powershell-for-administration?view=powershell-6
Wikiversity:
- https://en.wikiversity.org/wiki/PowerShell
- https://en.wikiversity.org/wiki/PowerShell/Variables
- https://en.wikiversity.org/wiki/PowerShell/Arrays_and_Hash_Tables
- https://en.wikiversity.org/wiki/PowerShell/Loops
Basics:
- https://stackoverflow.com/questions/1825585/determine-installed-powershell-version
- https://stackoverflow.com/questions/8343767/how-to-get-the-current-directory-of-the-cmdlet-being-executed
- https://superuser.com/questions/237902/how-can-one-show-the-current-directory-in-powershell
- https://stackoverflow.com/questions/6138849/how-do-you-move-files-folders-across-volumes-with-powershell
Commands and executables:
HTTP:
ZIP archives:
- https://serverfault.com/questions/18872/how-to-zip-unzip-files-in-powershell
- https://stackoverflow.com/questions/27768303/how-to-unzip-a-file-in-powershell
- https://www.reddit.com/r/PowerShell/comments/454e4y/how_do_i_unzip_a_zip_file_with_powershell/
- https://github.com/auberginehill/unzip-silently
- To extract silently: https://github.com/auberginehill/unzip-silently/blob/master/Unzip-Silently.ps1#L352
-
- https://www.elastic.co/guide/en/logstash/current/field-extraction.html
- https://www.elastic.co/guide/en/logstash/current/config-examples.html
- https://github.com/logstash-plugins/logstash-patterns-core/blob/master/patterns/grok-patterns
- https://logz.io/blog/logstash-grok/
- https://github.com/elastic/logstash/issues/2965
-
-
How to Setup FileBeat with Basic Auth for LogStash Output? - Filebeat - Discuss the Elastic Stack
2018-01-12 - https://github.com/logstash-plugins/logstash-input-beats/issues/8
- https://www.elastic.co/guide/en/logstash/current/plugins-inputs-beats.html
- https://www.elastic.co/guide/en/beats/filebeat/master/config-filebeat-logstash.html
- https://www.elastic.co/guide/en/beats/filebeat/current/configuring-ssl-logstash.html
- https://www.gilesorr.com/blog/elkbeats-beats-secure.html
- https://discuss.elastic.co/t/beats-logstash-security-use-of-security-token-to-authenticate-clients/104981/4
- https://stackoverflow.com/questions/40341664/how-to-configure-logstash-and-filebeat-ssl-communication
-
Playing HTTP Tricks with Nginx | Elastic
2017-10-09 The X-Pack plugin comes with a subscription plan and a 30-day trial license:
- https://www.elastic.co/subscriptions
- https://www.elastic.co/guide/en/x-pack/current/license-expiration.html
- https://discuss.elastic.co/t/after-x-pack-license-expiration/78072/7
Once the license has expired, a number of features become unavailable, among which is user management (authentication, authorization).
-
Xterm256 color names for console Vim | Vim
2017-10-06 - http://vim.wikia.com/wiki/View_all_colors_available_to_gvim
- https://stackoverflow.com/questions/16577352/how-to-set-a-black-background
- https://stackoverflow.com/questions/29167604/setting-vim-cursorline-colors
- http://vim.wikia.com/wiki/Highlight_current_line
- http://vim.wikia.com/wiki/Display_line_numbers
- https://stackoverflow.com/questions/237289/vim-configure-line-number-coloring