Skip to content

Instantly share code, notes, and snippets.

View heiths's full-sized avatar

Heith Seewald heiths

View GitHub Profile
@heiths
heiths / mayaOnUbuntu.sh
Last active February 28, 2024 18:50
Shell script to install and setup Autodesk Maya 2014 on Ubuntu 13.04
#!/bin/bash
#Heith Seewald 2012
#Feel free to extend/modify to meet your needs.
#Maya on Ubuntu v.1
#This is the base installer... I’ll add more features in later versions.
#if you have any issues, feel free email me at heiths@gmail.com
#### Lets run a few checks to make sure things work as expected.
#Make sure we’re running with root permissions.
if [ `whoami` != root ]; then
@heiths
heiths / CMakeLists.txt
Created July 28, 2020 07:28 — forked from FlorianWolters/CMakeLists.txt
Adding Boost as a Dependency with CMake
# COPYRIGHT (C) Florian Wolters 2014
#
# Author: Florian Wolters <wolters.fl@gmail.com>
cmake_minimum_required (VERSION 2.8.12.2 FATAL_ERROR)
# Set options for this project.
set (PROJECT_NAME "hello_boost_with_cmake" CXX)
project (${PROJECT_NAME})
set (PROJECT_SOURCE_DECLARATION_DIRECTORY ${PROJECT_SOURCE_DIR}/include)
@heiths
heiths / gridSize.js
Created February 27, 2020 00:24
gridSize
const gridSize = 10;
[...Array(25).keys()].map(i => gridSize * i);
@heiths
heiths / Big List of Real Estate APIs.md
Created April 25, 2019 01:48 — forked from patpohler/Big List of Real Estate APIs.md
Evolving list of Real Estate APIs by Category

Big List of Real Estate APIs

Listings / Property Data

####Rets Rabbit http://www.retsrabbit.com

Rets Rabbit removes the nightmare of importing thousands of real estate listings and photos from RETS or ListHub and gives you an easy to use import and Web API server so you can focus on building your listing search powered website or app.

@heiths
heiths / .tmux.conf
Last active April 16, 2018 19:29
tmux.conf
# set window split
bind-key v split-window -h
bind-key b split-window
#set -g window-style 'fg=colour247,bg=colour236'
#set -g window-active-style 'fg=colour254,bg=colour235'
set-option -g prefix C-Space
bind-key C-Space last-window
# Start numbering at 1
selenium:
volumes:
- /dev/shm:/dev/shm
ports:
- "4321:4321"
build: ./docker/selenium_server/
selenium_hub:
image: selenium/hub
ports:
@heiths
heiths / Dockerfile
Last active March 7, 2018 09:50
run with: docker-compose -f poppy-compose.yaml up
##
## Poppy
##
##
FROM ubuntu:14.04
MAINTAINER Amit Gandhi <amit.gandhi@rackspace.com>
RUN apt-get -qq update
RUN apt-get -qq upgrade
@heiths
heiths / safer_docker_install.sh
Last active March 2, 2018 03:55
safe_docker_install.sh
#!/bin/sh
set -e
# This script is meant for quick & easy install via:
# $ curl -fsSL get.docker.com -o get-docker.sh
# $ sh get-docker.sh
#
# For test builds (ie. release candidates):
# $ curl -fsSL test.docker.com -o test-docker.sh
# $ sh test-docker.sh
@heiths
heiths / rax.py
Created January 23, 2018 04:44
rax.py ansible inventory script that works in Ansible 2.4
#!/usr/bin/env python
# (c) 2013, Jesse Keating <jesse.keating@rackspace.com,
# Paul Durivage <paul.durivage@rackspace.com>,
# Matt Martz <matt@sivel.net>
#
# This file is part of Ansible.
#
# Ansible is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
from socket import socket
from OpenSSL import SSL
def callback(conn, cert, errno, depth, result):
if depth == 0 and (errno == 9 or errno == 10):
return False # or raise Exception("Certificate not yet valid or expired")
return True