VirtualTam's bookmarks
187 bookmarks found
-
Filters — Ansible Documentation
2018-06-29 -
Container setup:
- https://gist.github.com/netdesk/c1db2985b542f9916995139318e5a7ce
- https://hub.docker.com/r/jwilder/nginx-proxy/
- https://hub.docker.com/r/jrcs/letsencrypt-nginx-proxy-companion/
Gitlab settings:
- https://docs.gitlab.com/omnibus/docker/
- https://docs.gitlab.com/ce/administration/environment_variables.html
- https://docs.gitlab.com/omnibus/settings/ssl.html
- https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/files/gitlab-config-template/gitlab.rb.template
Performance considerations:
- https://docs.gitlab.com/omnibus/settings/memory_constrained_envs.html (skip the
cgroups
section for Gitaly as we are already running in a container) - https://docs.gitlab.com/ee/update/#gitaly-omnibus-gitlab-configuration-structure-change for Gitlab 16 changes to Gitaly configuration
-
-
NPM, Yarn and private repositories
2018-06-08 Hosting private repositories and using them in CI/CD:
- https://docs.npmjs.com/private-modules/intro
- https://docs.npmjs.com/private-modules/ci-server-config
- https://docs.npmjs.com/private-modules/docker-and-private-modules
Threads:
- https://stackoverflow.com/questions/45191189/nexus-manager-npm-401-unauthorized
- https://stackoverflow.com/questions/40845598/how-do-i-use-multiple-npm-registries-in-yarn
- https://github.com/yarnpkg/yarn/issues/606
- https://github.com/yarnpkg/yarn/pull/839
- https://github.com/yarnpkg/yarn/pull/871
- https://github.com/yarnpkg/yarn/issues/4451
- https://github.com/yarnpkg/yarn/issues/4862
- https://github.com/npm/npm/issues/16528
Articles:
node-sass binaries:
- https://github.com/sass/node-sass#binary-configuration-parameters
- https://github.com/sass/node-sass/releases
- https://github.com/sass/node-sass/issues/1466
- https://github.com/sass/node-sass/issues/1554
- https://github.com/sass/node-sass/issues/1635
- https://github.com/sass/node-sass/issues/1991
- https://github.com/sass/node-sass/issues/2115
- https://github.com/sass/node-sass/issues/2361
- https://stackoverflow.com/questions/40178767/is-it-possible-to-install-node-sass-without-downloading-from-github-during-the-p
-
-
Running Ansible Through an SSH Bastion Host
2018-05-17 - https://blog.scottlowe.org/2015/11/21/using-ssh-bastion-host/
- https://blog.scottlowe.org/2015/12/04/use-case-ssh-bastion-host/
- https://blog.scottlowe.org/2015/12/11/using-ssh-multiplexing/
- https://dotfiles.tnetconsulting.net/articles/2015/0506/empowering-openssh.html
- https://www.redhat.com/sysadmin/ssh-proxy-bastion-proxyjump
- https://docs.ansible.com/ansible/latest/reference_appendices/faq.html#how-do-i-configure-a-jump-host-to-access-servers-that-i-have-no-direct-access-to
- https://gist.github.com/seansawyer/8fe009e67f7e01344328
-
Proxmox: Networking, Firewall, Security
2018-05-15 - https://pve.proxmox.com/wiki/Network_Configuration
- https://pve.proxmox.com/wiki/Firewall
- https://pve.proxmox.com/wiki/Fail2ban
- https://forum.proxmox.com/threads/how-to-implement-fail2ban-on-host.3583/
- https://forum.proxmox.com/forums/proxmox-ve-networking-and-firewall.17/
- https://myatus.com/p/guide-firewall-and-router-with-proxmox-extending-its-us/
- https://www.kiloroot.com/secure-proxmox-install-sudo-firewall-with-ipv6-and-more-how-to-configure-from-start-to-finish/
- https://blog.waccabac.com/gestion-du-pare-feu-de-proxmox-ve-4/
-
- https://kernelnewbies.org/FAQ/CodeBrowsing
- https://stackoverflow.com/questions/33676829/vim-configuration-for-linux-kernel-development
- https://stackoverflow.com/questions/3828157/how-to-use-cscope
- https://stackoverflow.com/questions/934233/cscope-or-ctags-why-choose-one-over-the-other
- https://github.com/vivien/vim-linux-coding-style
- https://github.com/Valloric/YouCompleteMe
- https://valloric.github.io/YouCompleteMe/
- http://vim.wikia.com/wiki/Cscope
- http://cscope.sourceforge.net/cscope_vim_tutorial.html
- https://www.embeddedarm.com/blog/tag-jumping-in-a-codebase-using-ctags-and-cscope-in-vim/
-
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!
-
-
Bug Free, by Design
2018-04-02 - https://en.wikipedia.org/wiki/Poka-yoke
- https://refactoring.guru/smells/primitive-obsession
- https://blog.pragmatists.com/refactoring-from-anemic-model-to-ddd-880d3dd3d45f
- https://github.com/martinsson/BugsZero-Kata
- https://12factor.net/
- https://medium.com/@kelseyhightower/12-fractured-apps-1080c73d481c
-
Fonts - ArchWiki
2018-03-17 - https://wiki.archlinux.org/index.php/Font_configuration
- https://wiki.archlinux.org/index.php/Metric-compatible_fonts
- https://wiki.archlinux.org/index.php/Microsoft_fonts
- https://www.reddit.com/r/archlinux/comments/5r5ep8/make_your_arch_fonts_beautiful_easily/
- https://www.reddit.com/r/archlinux/comments/2diqx8/what_font_packages_do_you_usually_install/