This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://keyoxide.org/guides/openpgp-proofs
[Verifying my OpenPGP key: openpgp4fpr:E3A878624A8C0A996D1926F2033C1FEBE1ED3881]
This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://keyoxide.org/guides/openpgp-proofs
[Verifying my OpenPGP key: openpgp4fpr:E3A878624A8C0A996D1926F2033C1FEBE1ED3881]
| data_dir = "/tmp/consul/data" | |
| log_level = "DEBUG" | |
| server { | |
| enabled = true | |
| bootstrap_expect = 1 | |
| } | |
| client { | |
| enabled = true |
| events { | |
| worker_connections 1024; | |
| } | |
| http { | |
| sendfile on; | |
| tcp_nopush on; | |
| tcp_nodelay on; | |
| keepalive_timeout 65; | |
| types_hash_max_size 2048; |
I hereby claim:
To claim this, I am signing this object:
| package marshalling | |
| import ( | |
| "encoding/xml" | |
| ) | |
| type Foo struct { | |
| Id int `xml:"id,attr"` | |
| Name string `xml:"name,attr"` | |
| Email string `xml:"email,attr"` |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <response> | |
| <meta> | |
| <results type="integer">24030</results> | |
| <offset type="integer">0</offset> | |
| <filters type="array"/> | |
| </meta> | |
| <trainings type="array"> | |
| <training> | |
| <id type="integer">123</id> |
| %w[rubygems open-uri benchmark kramdown bluecloth maruku rdiscount].each do |lib| | |
| require lib | |
| end | |
| n = 1000 | |
| md = open('http://maruku.rubyforge.org/maruku.md').read | |
| def parse_md(parser, md) | |
| parser.new(md).to_html | |
| end |
| public class HelloWorld { | |
| public static void main( String[] args ) { | |
| console.log( "Hello, cruel world!" ); | |
| } | |
| } |
| class User < ActiveRecord::Base | |
| # - Instance Methods - | |
| def is_admin? | |
| self.role.eql? 'admin' | |
| end | |
| end |
| io = StringIO.new | |
| logger = Logger.new io | |
| logger.info "foo" | |
| io.string | |
| => "I, [2011-08-19T01:34:05.315739 #7354] INFO -- : foo\n" | |
| logger.debug "bar" | |
| io.string | |
| => "I, [2011-08-19T01:33:04.132831 #7354] INFO -- : foo\nD, [2011-08-19T01:33:08.836753 #7354] DEBUG -- : bar\n" |