I hereby claim:
- I am mlambrichs on github.
- I am mlambrichs (https://keybase.io/mlambrichs) on keybase.
- I have a public key ASCTXeLH0xUQGkXblffPgnTkd3vM6G0I4DOpL7FIkYH_wAo
To claim this, I am signing this object:
find . -maxdepth 1 -name "*.[hj]pi" |\ | |
awk '{s=gensub(/\.\/([^.]+)\.[hj]pi/, "\\1", "g"); print s}' |\ | |
xargs -I @ awk -v p=@ '/Plugin-Version/{s=gensub(/Plugin-Version: (.*)/, "\\1", "g");printf "%s: %s\n",p,s}' "@/META-INF/MANIFEST.MF" |\ | |
sort |
// -*- mode:go;mode:go-playground -*- | |
// snippet of code @ 2018-05-07 14:35:38 | |
// === Go Playground === | |
// Execute the snippet with Ctl-Return | |
// Remove the snippet completely with its dir and all files M-x `go-playground-rm` | |
package main | |
import ( |
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"log" | |
"net/smtp" | |
) | |
func main() { | |
hostname := "smtp.gmail.com" | |
from := "me@gmail.com" |
################################################################################ | |
# check plugins | |
################################################################################ | |
required_plugins = %w(vagrant-hostmanager vagrant-hosts vagrant-vbguest) | |
plugins_to_install = required_plugins.select { |plugin| not Vagrant.has_plugin? plugin } | |
if not plugins_to_install.empty? | |
puts "Installing plugins: #{plugins_to_install.join(' ')}" | |
if system "vagrant plugin install #{plugins_to_install.join(' ')}" | |
exec "vagrant #{ARGV.join(' ')}" |