Skip to content

Instantly share code, notes, and snippets.

View lvjp's full-sized avatar
🌴
バンドじゃないもん

Laurent Verdoïa lvjp

🌴
バンドじゃないもん
View GitHub Profile
@lvjp
lvjp / MoreSetTextLexer.g4
Created October 7, 2018 21:14
ANTLR4.7 : Lexer more and getText() are not friend ?
lexer grammar MoreSetTextLexer;
tokens {
DecodedValue
}
ValueDetector: '@' -> more, pushMode(ValueDecoder);
mode ValueDecoder;
@lvjp
lvjp / console.log
Last active March 22, 2016 10:33
Terraform issue#5728
me@home:/tmp/tmp.mea1aiYlBW0$ terraform plan
Refreshing Terraform state prior to plan...
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed.
$ docker version
Client:
Version: 1.9.1
API version: 1.21
Go version: go1.4.2
Git commit: a34a1d5
Built: Fri Nov 20 13:20:08 UTC 2015
OS/Arch: linux/amd64
Server:
@lvjp
lvjp / aws_elb.cycle.tf
Last active November 22, 2015 16:16
Terraform cycle with aws_elb security_group
# vim:set ts=4 sw=4 tw=80 et:
resource "aws_vpc" "test" {
cidr_block = "10.0.0.0/16"
enable_dns_support = true
enable_dns_hostnames = true
}
resource "aws_internet_gateway" "test" {
vpc_id = "${aws_vpc.test.id}"