Skip to content

Instantly share code, notes, and snippets.

View Kamrad117's full-sized avatar

Dzmitry Bradnitski Kamrad117

View GitHub Profile
@jtimberman
jtimberman / knife.rb
Created February 1, 2012 19:33
Commented knife.rb for all the things
# Knife Configuration File.
#
# This is a Ruby DSL to set configuration parameters for Knife's
# general options. The default location for this file is
# ~/.chef/knife.rb. If multiple Chef repositories are used,
# per-repository configuration files can be created. A per repository
# configuration file must be .chef/knife.rb in the base directory of
# the Chef repository. For example,
#
# ~/Development/chef-repo/.chef/knife.rb
@kisel
kisel / install_opencart.sh
Created January 5, 2014 20:18
Install Opencart on docker container
#!/bin/sh
echo 'deb http://archive.ubuntu.com/ubuntu precise main universe' > /etc/apt/sources.list
apt-get update
apt-get install -y mysql-server curl apache2 git-core php5 php5-mysql php5-curl php5-gd php5-mcrypt
#dpkg-divert --local --rename --add /sbin/initctl
#ln -s /bin/true /sbin/initctl
@zuazo
zuazo / Chef-Rakefile.rb
Last active May 23, 2019 13:39
Rakefile template for a Chef Cookbook: YARD, RuboCop, foodcritic, ChefSpec, Test Kitchen
# encoding: UTF-8
# -*- mode: ruby -*-
# vi: set ft=ruby :
#
# Available Rake tasks:
#
# $ rake -T
# rake clean # Clean some generated files
# rake default # Run doc, style, unit and integration tests