Skip to content

Instantly share code, notes, and snippets.

View rogerfachini's full-sized avatar

Roger Fachini rogerfachini

  • California, U.S.
View GitHub Profile
@rogerfachini
rogerfachini / plexDatabaseBackupScript.sh
Created April 22, 2019 18:13 — forked from ssmereka/plexDatabaseBackupScript.sh
Plex Media Server database backup script.
#!/bin/bash
# Backup a Plex database.
# Author Scott Smereka
# Version 1.0
# Script Tested on:
# Ubuntu 12.04 on 2/2/2014 [ OK ]
# Plex Database Location. The trailing slash is
@rogerfachini
rogerfachini / deployuser.yml
Last active August 15, 2018 02:14
Ansible Role: proxmox
---
- name: Install python-pip
become: true
apt:
name: python-pip
state: installed
- name: Install PIP packages for API use
become: true
pip:
@rogerfachini
rogerfachini / zalgo-generator.js
Last active October 31, 2017 08:17
Website Zalgo text converter
//Website Zalgo Text Converter
//How to use:
// 0) Go to a webpage (tested on youtube, others may work too)
// 1) Open Dev tools (F12 on chrome/edge/explorer/firefox)
// 2) Go to the Console tab
// 3) Paste the code below into the Console tab (_Make sure to copy *all* of the code_)
// 4) Press enter and wait a few seconds
// 5) Refresh the page to clear the effect
function genAll(){u=["span","a","yt-formatted-string","div","h1","h2","h3","h4","h5","h6","title","p"];for(var t in u){var e=$(u[t]).filter(function(){return 0==$(this).children().length});$.each(e,function(t,e){cText=Z.generate($(e).text()),console.log(cText),$(e).text(cText)})}}var Z={chars:{0:["̍","̎","̄","̅","̿","̑","̆","̐","͒","͗","͑","̇","̈","̊","͂","̓","̈́","͊","͋","͌","̃","̂","̌","͐","̀","́","̋","̏","̒","̓","̔","̽","̉","ͣ","ͤ","ͥ","ͦ","ͧ","ͨ","ͩ","ͪ","ͫ","ͬ","ͭ","ͮ","ͯ","̾","͛","͆","̚"],1:["̖","̗","̘","̙","̜","̝","̞","̟","̠","̤","̥","̦","̩","̪","̫","̬","̭","̮","̯","̰","̱","̲","̳","̹","̺","̻","̼","ͅ","͇","͈","͉","͍","͎","͓","͔","͕","͖","͙",
@rogerfachini
rogerfachini / snmp.conf
Created July 13, 2017 17:51
Config file for using SNMP MIBs with collectd
#SNMP configuration for APC network cards and ERL
#File: /etc/collectd/collectd.conf.d/snmp.conf
LoadPlugin snmp
<Plugin snmp>
<Data "ifmib_if_octets64">
Type "if_octets"
Table true

Keybase proof

I hereby claim:

  • I am rogerfachini on github.
  • I am networkarchitect (https://keybase.io/networkarchitect) on keybase.
  • I have a public key whose fingerprint is CA72 7864 32BD B18A 0D05 25F0 C8BB FD7B 0230 C35E

To claim this, I am signing this object: