Skip to content

Instantly share code, notes, and snippets.

View tjboudreaux's full-sized avatar
🎯
Focusing

Travis Boudreaux tjboudreaux

🎯
Focusing
View GitHub Profile
### Keybase proof
I hereby claim:
* I am tjboudreaux on github.
* I am tjboudreaux (https://keybase.io/tjboudreaux) on keybase.
* I have a public key ASAb9vgSl2gj3PU9GyVZc6QtrV_g7ZZBRVE1QZ6d_1BXRgo
To claim this, I am signing this object:
brew list -1 | while read line; do brew unlink $line; brew link $line; done
{
"name": "api-oauth",
"version": "0.1.20",
"problems": [
"error in /home/ubuntu/api-oauth/node_modules/firebase-auto-ids: Invalid version: \"https://registry.npmjs.org/firebase-auto-ids/-/firebase-auto-ids-1.1.0.tgz\"",
"invalid: firebase-auto-ids /home/ubuntu/api-oauth/node_modules/firebase-auto-ids",
"extraneous: gkt /home/ubuntu/api-oauth/node_modules/gkt",
"error in /home/ubuntu/api-oauth/node_modules/gkt: Invalid version: \"https://tgz.pm2.io/gkt-1.0.0.tgz\"",
"error in /home/ubuntu/api-oauth/node_modules/url: Invalid version: \"https://registry.npmjs.org/url/-/url-0.10.3.tgz\"",
"invalid: url /home/ubuntu/api-oauth/node_modules/url",
@tjboudreaux
tjboudreaux / gist:dc94b3cd19f22f2474738aa7f1f2c5ab
Created March 11, 2017 08:23
ElasticBeanstalk Beats 5.x.x Configuration
files:
"/etc/yum.repos.d/elastic.repo":
mode: "000755"
owner: root
group: root
content: |
[elastic-5.x]
name=Elastic repository for 5.x packages
baseurl=https://artifacts.elastic.co/packages/5.x/yum
gpgcheck=1
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "Polygon",
"coordinates": [
[
@tjboudreaux
tjboudreaux / PhoneNumber.java
Created July 29, 2016 16:29
swagger generated code
package packages.model;
import java.util.Objects;
import com.google.gson.annotations.SerializedName;
@tjboudreaux
tjboudreaux / gist:8f64a743778f60266a03
Created February 16, 2016 18:09
Stack Overflow Help
function wordsWithRepeatedChars(str) {
var list = [];
//split string into words based on spaces and count repeated characters
str.toLowerCase().split(" ").forEach(function(currentWord){
var lastLetter = "";
var alreadyAdded = false;
//split word into characters and add to the list only if a letter repeats
@tjboudreaux
tjboudreaux / pre-commit
Created November 26, 2015 04:17 — forked from eddywashere/pre-commit
Git hook that prevents commits to master
#!/bin/sh
#
# Git hook that prevents commits to master
# use --no-verify to bypass this hook
# ex: git commit -m "init commit" --no-verify
branch=`git symbolic-ref HEAD`
if [ "$branch" = "refs/heads/master" ]; then
echo "Direct commits to the branch master are not allowed"
exit 1
@tjboudreaux
tjboudreaux / Resource URLS
Created December 10, 2012 08:47
Description of a Catholic API
GET /calendar/today returns JSON object describing the currrent liturgical day
GET /calendar/:date|YYYYMMDD returns JSON object describing the liturgical day for :date
GET /councils/ return JSON list of church councils
GET /councils/:id return JSON object of a church council
GET /councils/:id/documents return JSON list of all documents for a council
GET /documents/:id return JSON object of a church document.
Defaults to english or latin?
Parameters: