Skip to content

Instantly share code, notes, and snippets.

-----------------------------------------
*project layout*
repo
project
deploy
__init__.py
wsgi.py
requirements
project.txt
@rileycrane
rileycrane / Gemfile
Created April 6, 2013 15:59
Gemfile for kitchen setup
source 'https://rubygems.org'
gem 'knife-solo'
gem 'librarian'
gem 'ffi', '~> 1.2.0'
gem 'vagrant', "~> 1.0.5"
gem 'multi_json'
@rileycrane
rileycrane / knife.rb
Created April 6, 2013 16:01
knife init file
cookbook_path [ "/tmp/chef-solo/site-cookbooks",
"/tmp/chef-solo/cookbooks" ]
@rileycrane
rileycrane / Cheffile
Last active December 15, 2015 21:29
File used with librarian-chef install
#!/usr/bin/env ruby
#^syntax detection
site 'http://community.opscode.com/api/v1'
cookbook 'apt'
cookbook 'build-essential'
cookbook 'git'
cookbook 'openssl'
cookbook 'postgresql'
cookbook 'python'
GUIDE: https://github.com/jbergantine/django-newproj/blob/master/docs/vagrant.markdown
mkdir website
cd website
curl https://gist.github.com/rileycrane/5326580/raw/294046048b77bfd610685307de31df2199ac4935/Gemfile > Gemfile
bundle
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
config.vm.define :djangovm do |cfg|
# Every Vagrant virtual environment requires a box to build off of.
cfg.vm.box = "precise64"
# The url from where the 'config.vm.box' box will be fetched if it
# doesn't already exist on the user's system.
@rileycrane
rileycrane / Cheffile
Created April 8, 2013 20:50
Cheffile for chef-riley
#!/usr/bin/env ruby
#^syntax detection
site 'http://community.opscode.com/api/v1'
cookbook 'apt'
cookbook 'build-essential'
cookbook 'git'
cookbook 'openssl'
cookbook 'postgresql'
cookbook 'python'
@rileycrane
rileycrane / Vagrantfile
Created April 8, 2013 20:50
Vagrantfile for chef-riley
# -*- mode: ruby -*-
# vi: set ft=ruby :
require 'json'
Vagrant::Config.run do |config|
config.vm.define :djangovm do |cfg|
# Every Vagrant virtual environment requires a box to build off of.
cfg.vm.box = "precise64"
# The url from where the 'config.vm.box' box will be fetched if it
We couldn’t find that file to show.
#
# This Python script makes a summary of a football game by cutting
# the video around the 10 % loudest moments, which generally
# include the goals and other important events.
# For more details, see this blog post:
# http://zulko.github.io/blog/2014/07/04/automatic-soccer-highlights-compilations-with-python/
#
# LICENCE: Creative Commons 0 - Public Domain
# I, the author of this script, wave any rights and place this work in the public domain.
#