Skip to content

Instantly share code, notes, and snippets.

View hansdg1's full-sized avatar

Hans Guthrie hansdg1

View GitHub Profile
@ferdhie
ferdhie / setup_ffmpeg.sh
Created October 27, 2016 08:00
Setup FFMPEG on Ubuntu
sudo apt-get -y install autoconf automake build-essential libass-dev libfreetype6-dev libtheora-dev libtool libvorbis-dev pkg-config texinfo zlib1g-dev cmake mercurial nasm
mkdir ~/ffmpeg_sources
#yasm
cd ~/ffmpeg_sources
wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
tar xzvf yasm-1.3.0.tar.gz
cd yasm-1.3.0
./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin"
make
@dcnl1980
dcnl1980 / zabbix-server.sh
Created November 28, 2016 21:57
Zabbix Server Installation
#!/bin/sh
apt update && apt install wget htop curl nano ssh -y
wget http://repo.zabbix.com/zabbix/3.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.2-1+xenial_all.deb
dpkg -i zabbix-release_3.2-1+xenial_all.deb && apt-get update
export DEBIAN_FRONTEND=noninteractive
apt install zabbix-server-mysql zabbix-frontend-php -y
@vMarkusK
vMarkusK / Konfig-ESXi.psm1
Created December 22, 2016 22:27
Sets the Basic settings for a new ESXi
function Konfig-ESXi {
<#
.NOTES
===========================================================================
Created by: Markus Kraus
Twitter: @VMarkus_K
Private Blog: mycloudrevolution.com
===========================================================================
Changelog:
2016.12 ver 1.0 Base Release
@boneskull
boneskull / deluged.service
Created January 16, 2017 15:56
deluged systemd service
[Unit]
Description=Deluge Bittorrent Client Daemon
After=network-online.target [email protected]
[Service]
User=boneskull
Group=dialout
Type=simple
ExecStart=/usr/bin/deluged -d -l /var/log/deluge/daemon.log -L info
TimeoutStopSec=300
@marcolussetti
marcolussetti / wikimedia-equivalent-domains-lastpass.txt
Created February 26, 2017 22:44
Wikimedia Equivalent Domains for LastPass
wikipedia.org,wiktionary.org,wikibooks.org,wikinews.org,wikiquote.org,wikisource.org,wikiversity.org,wikivoyage.org,wikimedia.org,mediawiki.org,wikidata.org
@JustinGrote
JustinGrote / Commvault.ps1
Last active March 11, 2024 21:24
Commvault REST API Commands I will make into a Module Someday
<#
Quickstart
------------------
Get-Help Connect-CVServer -detailed
Get-Help Invoke-CVCommand -detailed
Connect-CVServer mycommvaultserver -force -verbose
Invoke-CVCommand 'Client'
Invoke-CVCommand 'Client/136'
#>
@ivy
ivy / chasepdf2csv
Last active March 22, 2024 20:47
Convert Chase credit card statements from PDF to CSV. Useful for importing old transactions into QuickBooks Online/Self-Employed.
#!/usr/bin/env ruby
# chasepdf2csv -- Convert Chase credit card statements from PDF to CSV. Written
# to easily import older statements into QuickBooks Online/Self-Employed. Chase
# unfortunately only offers statements up to 6 months in the past, making it a
# huge chore to synchronize past transactions.
#
# How to Use
# ----------
# This script requires Ruby >2.0.0 and pdftotext. Copy this script somewhere and
# make it executable. Run it like any other command.