Create documentation for your projects. Like so:
- Up/Down - Previous/Next Gist
- Ctrl+e - Edit a selected Gist
- Ctrl+s - Save Gist
| <html> | |
| <body> | |
| <script src="https://gist.github.com/jflowers/a5dd4b3b7341cf990e6c.js"></script> | |
| </body> | |
| </html> |
| <html> | |
| <body> | |
| <script src="https://gist.github.com/jflowers/a5dd4b3b7341cf990e6c.js"></script> | |
| </body> | |
| </html> |
| module Vagrant | |
| module Provisioners | |
| class ChefClient < Chef | |
| def cleanup | |
| ::Chef::Config.from_file(File.expand_path('~/chef/repo/.chef/knife.rb')) | |
| node_name = env[:vm].config.vm.provisioners[0].config.node_name | |
| begin | |
| puts "Destroying node #{node_name} on Chef server" | |
| dead_node = ::Chef::Node.load(node_name) |
| apply plugin: 'java' | |
| apply from : 'jaxb.gradle' | |
| sourceCompatibility = 1.7 | |
| jar { | |
| // build the jar without the version in its name | |
| version = '' | |
| manifest { | |
| attributes 'Implementation-Title': 'CDC Cloud S&S', 'Implementation-Version': project.version |