Skip to content

Instantly share code, notes, and snippets.

View garrettcadams's full-sized avatar

Garrett Adams garrettcadams

View GitHub Profile

Keybase proof

I hereby claim:

  • I am garrettcadams on github.
  • I am garrettcadams (https://keybase.io/garrettcadams) on keybase.
  • I have a public key ASAC-5xyAY0ZdtUIO3oW8XdRj_szz3gqloME7t97jX8UoQo

To claim this, I am signing this object:

@garrettcadams
garrettcadams / install-odoo-saas.sh
Created November 22, 2017 11:22 — forked from bassn/install-odoo-saas.sh
install odoo from source
#!/bin/bash
################################################################################################
# Fully automated script to install Odoo and Odoo SaaS Tool (tested on a fresh Ubuntu 14.04 LTS)
# * Install & configure last stable version of nginx
# * Install & configure last stable version of postgresql
# * Install & configure Odoo
# * Configure automated backup of Odoo databases
# * Optional: Install & configure Odoo SaaS Tool
# * Optional: Background installation: $ nohup ./odoo_install.sh > nohup.log 2>&1 </dev/null &
################################################################################################
@garrettcadams
garrettcadams / index.html
Created August 23, 2017 09:48 — forked from anonymous/index.html
This domain is for sale
<div id="gameholder">
<div id="title"></div>
<div class="penguin1"></div>
<div class="penguin2"></div>
<div class="penguin3"></div>
<div class="penguin4"></div>
<div class="penguin5"></div>
<div class="penguin6"></div>
<div class="penguin7"></div>
<div class="penguin8"></div>
# Turn on Expires and set default to 0
ExpiresActive On
ExpiresDefault A0
# Set up caching on media files for 1 year (forever?)
<FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav)$">
ExpiresDefault A29030400
Header append Cache-Control "public"
</FilesMatch>