Skip to content

Instantly share code, notes, and snippets.

View external_resource.yaml
heat_template_version: ocata
parameters:
Foo1:
type: number
default: 123
Foo2:
type: number
default: 456
View ceph_wipe_disk.yaml
# Instructions:
# 1. save this file somewhere, for example /home/stack/ceph_wipe_disk.yaml
# 2. create an empty ceph_wipe_env.yaml with the following contents:
#
# resource_registry:
# OS::TripleO::NodeUserData: /home/stack/ceph_wipe_disk.yaml
# parameter_defaults:
# ceph_disks: "/dev/sdb /dev/sdc"
#
# 3. when deploying, add to the CLI command the following argument:
@gfidente
gfidente / init.el
Last active Dec 16, 2015
My simple, commented, emacs 24 config. For beginners.
View init.el
;; add modules directory to load-path
(add-to-list 'load-path "~/.emacs.d/modules/")
;; highlight matching closing brackets
(show-paren-mode 1)
;; insert closing brackets automagically
;(electric-pair-mode 1)
;; set scroll step as 1 line