% Title % Name % Date
List
" Drop this into .vim/plugin.vawa.vim | |
" if you already have vawa.vim, rename appropriately | |
" automatically highlights variables under cursor, allowing you to easily see the data flow. | |
" Vawa Plugin for VIM > 7.3 version 1.00 | |
" Maintainer: Sandeep.c.r<sandeepcr2@gmail.com> | |
" Hacked for Perl by Curtis "Ovid" Poe <ovid@allaroundtheworld.fr> | |
function! s:vawa() | |
call clearmatches() |
Renew Puppet CA cert. | |
Not the perfect idea, but should alleviate the need to resign every cert. | |
What you need from existing puppet ssl directory: | |
ca/ca_crt.pem | |
ca/ca_key.pem | |
Create an openssl.cnf: | |
[ca] |
# Committing changes to a repo via the Github API is not entirely trivial. | |
# The five-step process is outlined here: | |
# http://developer.github.com/v3/git/ | |
# | |
# Matt Swanson wrote a blog post translating the above steps into actual API calls: | |
# http://swanson.github.com/blog/2011/07/23/digging-around-the-github-api-take-2.html | |
# | |
# I was not able to find sample code for actually doing this in Ruby, | |
# either via the HTTP API or any of the gems that wrap the API. | |
# So in the hopes it will help others, here is a simple function to |