Skip to content

Instantly share code, notes, and snippets.

@dhollinger
dhollinger / Prayers.md
Created October 21, 2020 02:15
10/20/2020

MC Intentional Prayer 10/20/2020

  • Asays
    • India's mom is in the hospital for unknown reasons and Dad died recently.
    • East Julia Husband's heart stopped and he has a brain injury from it. Unknown cause.
    • Prayer and Praise for the Genesis 3 discipline method in Mallory's day to day. - Mallory
    • Rest and Energy. Having trouble sleeping - Alex
  • Fillers
    • Praise as they are both better. Praise that parents didn't get it.
  • Hollingers
  • Teachings from the Sermon on the mount, specifically the call to be peacemakers, continues to take hold - Dave
@dhollinger
dhollinger / nosuperhighways-zonehighways.xml
Last active September 12, 2020 22:25
base X4 Highways XML file
<?xml version="1.0" encoding="utf-8"?>
<diff>
<remove sel='/macros' />
</diff>
From: /home/dhollinger/workspace/ruby/puppet_webhook/app/controllers/application_controller.rb:47 :
42: @auth.credentials == [APP_CONFIG.user, APP_CONFIG.pass]
43: end
44:
45: require 'pry'; binding.pry
46:
=> 47: def normalize(allow_upper, str)
48: allow_upper ? str : str.downcase
49: end
file:
/etc/caddy/Caddyfile:
exists: true
filetype: file
/usr/bin/caddy:
exists: true
filetype: file
mode: "0755"
process:
caddy:
files:
- install: N/A:Select the installer provided by GOG.
- xwaupgrade: https://www.xwaupgrade.com/download/installers/XWAUCP_v1.6.exe
- xwa60fps: https://github.com/dhollinger/xwalutrisfiles/releases/download/v1.0.0/xw_series_60FPS.zip
- effects: https://www.xwaupgrade.com/download/installers/EffectsByBlueMax_v1.1.2.exe
- rebelcockpits: https://www.xwaupgrade.com/download/installers/RebelDynamicCockpits_v2.0.exe
- tiecockpits: https://www.xwaupgrade.com/download/installers/TieDynamicCockpits_v1.0.exe
- superbackdrops: https://www.xwaupgrade.com/download/installers/SuperBackdropsPatch_v2.1.exe
- z95: https://www.xwaupgrade.com/download/models/Z-95Headhunter_v5.0.exe
- IRS: https://www.xwaupgrade.com/download/models/ImperialResearchShip_v1.1.exe
@dhollinger
dhollinger / log.txt
Created March 11, 2020 17:33
RPM build log
/usr/lib/rpm/debugedit: /var/tmp/tmp.cqOgfuTe7W/rpmbuild/BUILDROOT/puppet-webhook-2.1.0-1.el8.x86_64/o
pt/voxpupuli/webhook/lib/ruby/2.6.0/x86_64-linux/digest.so: DWARF version 0 unhandled
Failed to update file: invalid section alignment
@dhollinger
dhollinger / voxpupuli.list
Created March 10, 2020 22:23
Voxpupuli repo files
deb [trusted=yes] https://apt.fury.io/voxpupuli/ /
@dhollinger
dhollinger / coc-settings.json
Last active February 4, 2020 19:25
Neovim Settings
{
"languageserver": {
"puppet": {
"command": "ruby",
"args": ["/home/dhollinger/workspace/ruby/puppet-editor-services/puppet-languageserver","--stdio","--puppet-settings=--moduledir,/home/dhollinger/.puppetlabs/etc/code/modules"],
"cwd": "/home/dhollinger/workspace/ruby/puppet-editor-services",
"filetypes": ["puppet"],
"rootPatterns": [".git/", "metadata.json"]
},
"golang": {
@dhollinger
dhollinger / README.md
Last active August 23, 2020 17:24
Neovim configuration
  • VimPlug: https://github.com/junegunn/vim-plug (easy to install)
  • coc-nvim requires nodejs >= 8.10.0 as it uses a variation of VSCode's LSP implementation: https://github.com/neoclide/coc.nvim/wiki/Install-coc.nvim
  • Language Server setup for coc-nvim. Some have their own coc plugins you just install once and be done, others need config: https://github.com/neoclide/coc.nvim/wiki/Language-servers
    • Ruby Solargraph LSP can be installed from within Neovim using :CocInstall coc-solargraph
    • Golang gopls needs to be configured in the coc-settings.json file (see attached file).
  • The LSP you want to use with neovim must be installed (same as with VSCode).
    • Ruby gem install solargraph
    • Golang go get golang.org/x/tools/gopls
  • Puppet git clone git@github.com:lingua-pupuli/puppet-editor-services.git
@dhollinger
dhollinger / notify-email@.service
Created July 1, 2019 18:42
Send notifications
[Unit]
Description=Sent email
[Service]
Type=oneshot
ExecStart=/usr/bin/bash -c '/usr/bin/systemctl status %i | /usr/bin/mailx -Ssendwait -s "[SYSTEMD_%i] Fail" your_admin@company.blablabla'