Skip to content

Instantly share code, notes, and snippets.

View pbarabe's full-sized avatar
🖖

Patrick Barabe pbarabe

🖖
View GitHub Profile
@pbarabe
pbarabe / clamd-config.md
Last active March 13, 2024 19:26 — forked from hieu-e/gist:ca409baa8e70981afb66b5d0ce91ab2e
Installing ClamAV on Amazon Linux 2
#install packages
sudo yum install clamav clamd
#update virus definition
sudo freshclam 

vi /etc/freshclam.conf

@pbarabe
pbarabe / apache2.conf
Last active June 23, 2023 15:53
WebOps: Apache httpd mod_proxy configuration for pantheon.io Drupal sites
#
# Apache VHost Confg to reverse-proxy a Drupal 9 site hosted on pantheon.io in a subdirectory path
#
<VirtualHost *:443>
ServerName myserver.arizona.edu
# [Your other usual directives here]
#
# Reverse Proxied Pantheon Site Config to serve https://myserver.arizona.edu/mywebsite
#
@pbarabe
pbarabe / ssh-public-key.pub
Last active June 23, 2023 16:55
ID: ssh-public-key.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7NoQlYVay9uWR294fmM/RLbBnMIsFg0cytpyIbXh6LK7TtbRYBp9q/i57F70DCe7clFlTOnKItARF+J4s1ynHB/kP6kodgtE1wmxh7OZuX18rKRL/gDxEO4lKZ4SooY6u4ayJABWzGXukhKoD1Xny6eIJyl9f36fB/mYScveFFDp/i9z3YtFh1AxSm6xsnhmAUZBByJOtDEcg4LOCooV5Z9ypbILG8+Fr3NbkSr4wyRDcdsUxDLob21I5L9tEGseqH8cNkfsvY+0SRfP8rdb8hi3KkGY8zS2/nSPk0YdLPqoxL0Uy0CjUxDkPP2n7Xujx3R9zmGhr2/AA1qrWgTID
@pbarabe
pbarabe / nvim_init.vim
Last active June 23, 2023 16:53
Config: nvim_init.vim
let mapleader = ","
" ===================================
" init.vim file for NeoVim
" pbarabe@gmail.com
" ===================================
" Installation:
" 1. Install NeoVim
" 2. Copy the latest copy of plug.vim from
@pbarabe
pbarabe / aptupdate.sh
Last active June 23, 2023 16:54
Config: Update apt/debian based linux
#!/usr/bin/env bash
# For systems w/the apt command
if command -v apt
then
sudo apt update -y && sudo apt autoremove && sudo apt upgrade -y
else
sudo apt-get update && sudo apt-get autoremove && sudo apt-get safe-upgrade
fi
@pbarabe
pbarabe / keybase.md
Last active June 23, 2023 16:55
ID: keybase.md

Keybase proof

I hereby claim:

  • I am pbarabe on github.
  • I am uazpbarabe (https://keybase.io/uazpbarabe) on keybase.
  • I have a public key ASASfxvdvkVtu8zvhb5iFE9-0p5EM5rFD5rSOsUl7hGW8Qo

To claim this, I am signing this object: