Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am ltgiv on github.
* I am ltgiv (https://keybase.io/ltgiv) on keybase.
* I have a public key whose fingerprint is 0974 1D72 A708 D42A DAD7 D921 3D90 7537 A722 0250
To claim this, I am signing this object:
@LTGIV
LTGIV / Twilio-Voice.php
Last active April 6, 2022 03:02
Twilio SIP Voice Receiver => Asterisk PBX
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'."\n";
/**
* Twilio SIP Voice Receiver => Asterisk PBX (also works on FreePBX's Inbound Routes)
* (Constructive suggestions for improvement are certainly welcomed.)
*
* Based on dealing with Jonathan Gottfried's blog entry on Twilio re: Twilio => SIP => Asterisk:
* https://www.twilio.com/blog/2013/03/build-a-twilio-hard-phone-with-sip-from-twilio-raspberry-pi-asterisk-freepbx-and-the-obihai-obi100.html
*
* Point Twilio Voice Request URL to http://YOUR-SERVER.COM/path/call.php/###-###-####
*
@LTGIV
LTGIV / ubuntu-webmin.yml
Last active March 18, 2017 03:28
Ansible playbook: install Webmin on Ubuntu
---
#
# Ansible playbook: Webmin (for Ubuntu) GitHub Gist is now a GitHub Repository, and part of my "GotGet Common - Ansible - Playbooks" package:
# https://github.com/LTGIV/ggcom-ansible-playbooks.git
#
# -Louis T. Getterman IV
# 2015-04-18 05:47:37 UTC
@LTGIV
LTGIV / compile-bitcoind.bash
Created January 31, 2015 05:03
bitcoind quick compile
#!/usr/bin/env bash
#
# Quick compile: bitcoind for Ubuntu v201501310502
# Louis T. Getterman IV (@LTGIV)
# www.GotGetLLC.com / www.opensour.cc
#
# Example Usage:
# ./compile-bitcoind.bash
#
# Compiling bitcoind (round 2)
@LTGIV
LTGIV / README
Last active August 29, 2015 14:14
DFWU (DDNS Firewall Update)
DFWU GitHub Gist is now a GitHub Repository, and part of my "DDNS Utilities" package:
https://github.com/LTGIV/ddns-utils.git
-Louis T. Getterman IV
2015-02-23 22:12:15 UTC
@LTGIV
LTGIV / bitcoind.conf
Created February 6, 2015 07:46
bitcoind and insight-api startup scripts (Ubuntu 14.04.1 LTS)
#
# bitcoind upstart v201502051158
# Louis T. Getterman IV (@LTGIV)
# www.GotGetLLC.com / www.opensour.cc
#
# Example usage:
# Save as /etc/init/bitcoind.conf
# service bitcoind (start|stop|status|restart)
#
# Thanks to:
@LTGIV
LTGIV / ubuntu-mosquitto.yml
Last active July 5, 2021 05:42
Ansible playbook: install Mosquitto on Ubuntu (14.04 LTS) from PPA (alpha)
---
#
# Ansible playbook: install Mosquitto from PPA on Ubuntu v201502131346
# Louis T. Getterman IV (@LTGIV)
# www.GotGetLLC.com / www.opensour.cc
#
# Thanks to @jpmens for insight on cert locations ( https://twitter.com/jpmens/status/565513595644313600 )
#
# Example Usage:
# [user@host ~$] ansible-playbook /etc/ansible/playbooks/ubuntu-mosquitto.yml --extra-vars 'target=nameFromHostsFile'
@LTGIV
LTGIV / ssh_config
Last active August 29, 2015 14:15
Ansible with Bastion Host(s)
#
# Route all superserver####.example.com connections through superserver9001.example.com
# Save as: ~/ssh/config
#
# A very special thank you to Alex Bilbie:
# http://alexbilbie.com/2014/07/using-ansible-with-a-bastion-host/
#
Host superserver9001.example.com
User userNameHere1
@LTGIV
LTGIV / purgeCakeTmp.bash
Created April 17, 2015 21:12
Quick way to trash CakePHP v2 application cache
#!/usr/bin/env bash
: <<'!COMMENT'
CakePHP Cache Flush v201504172014
Louis T. Getterman IV (@LTGIV)
www.GotGetLLC.com | www.opensour.cc/programming/php/frameworks/cakephp/v2/cache/flush
Thanks:
http://stackoverflow.com/questions/15065010/how-to-do-for-each-file-using-find-in-shell-bash
http://stackoverflow.com/questions/1590297/shell-scripting-using-bash-with-xargs

Keybase proof

I hereby claim:

  • I am ltgiv on github.
  • I am ltgiv (https://keybase.io/ltgiv) on keybase.
  • I have a public key whose fingerprint is 9D50 4A87 1FC3 FBD3 9CB2 36DB 4E71 71E9 1FCC D4CC

To claim this, I am signing this object: