This is a very simple HTTP server for Unix, using fork(). It's very easy to use
- include header
httpd.h - write your route method, handling requests.
- call
serve_forever("12913")to start serving on port 12913
| ['a', 'again', 'ah', 'all', 'and', 'anybody', 'ay', 'been', 'before', 'beg', 'both', 'by', 'cry', 'dance', 'dancing', 'dead', 'dear', 'do', 'done', 'every', 'eyes', 'for', 'god', 'hand', 'hands', 'i', "i'll", "i've", 'in', 'it', 'just', 'know', 'life', 'like', 'look', 'make', 'me', 'mine', 'monkey', 'more', 'move', 'my', 'never', 'now', 'oh', 'one', 'ooh', 'passing', 'place', 'said', 'say', 'see', 'seen', 'shine', 'so', 'stopped', 'style', 'take', 'the', 'them', 'they', 'things', 'time', 'to', 'walking', 'wanna', 'was', 'way', 'when', 'whole', 'woah-oh', 'you', "you're", 'your'] |
| 000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000\",\"from\":\"0x8691bf25ce4a56b15c1f99c944dc948269031801\",\"to\":\"0x199b59896f84c9c2b2d894baf2ca2c203a19c343\"},\"latest\"]}" | |
| DEBUG[12-19|10:14:03.136] Executing EVM call finished runtime=269.937µs | |
| TRACE[12-19|10:14:03.136] msg="<-readResp: response {\"jsonrpc\":\"2.0\",\"id\":28,\"result\":\"0x72616141646472657373000000000000000000000000000000000000000000007261614d61726b0000000000000000000000000000000000000000000000000072616156616c7565000000000000000000000000000000000000000000000000\"}" | |
| TRACE[12-19|10:14:09.634] msg="sending {\"jsonrpc\":\"2.0\",\"id\":29,\"method\":\"eth_sendTransaction\",\"params\":[{\"data\":\"0xd160273700000000000000000000000000000000000000000000000000000000000777777261614d61726b0000000000000000000000000000000000000000000000000022000000000000000 |
| #include <iostream> | |
| #include <bits/stdc++.h> | |
| #include <time.h> | |
| #include <pthread.h> | |
| #include <atomic> | |
| #include <string> | |
| #include <chrono> | |
| class WriteDescriptor { | |
| public: |
| ["aio.h", | |
| "aliases.h", | |
| "alloca.h", | |
| "a.out.h", | |
| "argp.h", | |
| "argz.h", | |
| "ar.h", | |
| "assert.h", | |
| "byteswap.h", | |
| "bzlib.h", |
| filter { | |
| if [type] == "somelog" { | |
| grok { | |
| match => { message => "%{SOMEPATTERN}" } | |
| } | |
| if "_grokparsefailure" in [tags] { | |
| drop{ } | |
| } | |
| } | |
| } |
| DATABASES = { | |
| 'default': { | |
| 'ENGINE': 'django.db.backends.mysql', | |
| 'NAME': 'dbname', | |
| 'USER': 'username', | |
| 'PASSWORD': 'password', | |
| } | |
| } |
| Django Version: 1.6.5 | |
| Exception Type: OperationalError | |
| Exception Value: | |
| unable to open database file | |
| Exception Location: /usr/local/lib/python2.7/dist-packages/django/db/backends/sqlite3/base.py in get_new_connection, line 346 | |
| Python Executable: /usr/bin/python | |
| ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDugURFmpJW6rZvIxddZNVJPHJdxk6o+qvkM/c0AdMvQSHxfD2m3A7g3dtIFkGBCYGB6MvV2Rwc76p5LCSknMSNVGHD/CV2gPnQYIto5S6LCyGza0SLkV1/Nn2dI6Tw2czDx6xGjfVIqRNpNnFmpn1aKH4A5ytdAzN1V3x2cHspfkWGwUSNBc6HLSwNZIeTHUXw8q22CfNAfz0WcK0ATJ4TRotQVSko1C4IF2J6zq7sW+ICwOvIZwp5WOPr1NO5CWX6HpOCzQvTKjMk2s9mvtFHorKOWCOBlKEWYvPWk7ZbuRz4O4mNrr+zU3BLLioATMgykRwDQN/btBf32n10ZC9X [email protected] |
| from buildbot.changes.pb import PBChangeSource | |
| s = PBChangeSource(user="user", passwd="pass", port=8123) |