Skip to content

Instantly share code, notes, and snippets.

View rrichardson's full-sized avatar
💭
⚔️ Hacking Away

Rick Richardson rrichardson

💭
⚔️ Hacking Away
View GitHub Profile
2016-08-25 07:04:52 -0700 [info]: serverengine/multi_process_server.rb:124:alive?: Worker 0 finished unexpectedly with status 1
2016-08-25 07:04:53 -0700 [info]: fluent/supervisor.rb:583:read_config: reading config file path="misc/fluentd_sample.conf"
2016-08-25 07:04:53 -0700 [info]: fluent/supervisor.rb:402:run_worker: starting fluentd-0.14.2 without supervision
2016-08-25 07:04:53 -0700 [info]: fluent/engine.rb:116:block in configure: gem 'fluentd' version '0.14.2'
2016-08-25 07:04:53 -0700 [info]: fluent/engine.rb:116:block in configure: gem 'fluent-plugin-prometheus' version '0.1.3'
2016-08-25 07:04:53 -0700 [info]: fluent/agent.rb:143:add_filter: adding filter pattern="nginx" type="prometheus"
2016-08-25 07:04:53 -0700 [error]: fluent/supervisor.rb:567:rescue in main_process: unexpected error error="uninitialized constant Fluent::RecordTransformerFilter"
Factory Details:
Long name: x264enc
Class: Codec/Encoder/Video
Description: H264 Encoder
Author(s): Josef Zlomek <josef.zlomek@itonis.tv>, Mark Nauwelaerts <mnauw@users.sf.net>
Rank: primary (256)
Plugin Details:
Name: x264
Description: libx264-based H264 plugins
//extern crate mio;
use std::net::{TcpListener, TcpStream, Ipv4Addr};
use std::str::FromStr;
fn main() {
let server = TcpListener::bind("127.0.0.1:13265").unwrap();
let clientside = TcpStream::connect("127.0.0.1:13265").unwrap();
...
else if (LUA_TNUMBER == type) {
union horrible_hack hack;
hack.dbl = lua_tonumber(L, 1);
buffer = hack.ptr;
}
import Effects exposing (Never)
import Board exposing (init, update, view, Action(..))
import StartApp
import Task
import Window
import Signal
app =
StartApp.start
int write_to_ngx(void* req_ctx, void* buffer, size_t size) {
ngx_http_request_t *r;
ngx_http_lua_ctx_t *ctx;
void *p;
ngx_buf_t *b;
ngx_chain_t *cl;
ngx_int_t rc;
if (0 == size) {
WARN("0 size to write");
port signInNotify : Signal (Maybe String)
port signInNotify =
let tester act =
case act of
AuthGamerReply gamer tok -> Just gamer.id
_ -> Nothing
in
Signal.map tester results.signal
(=>) = (,)
navb : Address NavAction -> M.State -> List Html
navb addr model =
[ div [class "navbar-spacer"] []
, nav [class "navbar"]
[ div [class "centered container" ]
[
ul [class "navbar-list"]
[ li [class "navbar-item"] [
int write_to_ngx(void* req_ctx, void* buffer, size_t size) {
ngx_http_request_t *r;
ngx_http_lua_ctx_t *ctx;
void *p;
ngx_buf_t *b;
ngx_chain_t *cl;
ngx_int_t rc;
dd("Writing to nginx");
## ERRORS in Chess/Util.elm ####################################################
-- INFINITE TYPE ------------------------------------------------ Chess/Util.elm
I am inferring weird self-referential type for `g`
30| let group1 = foldl (\x (g::gs) -> if (x == head g) then (x::g)::gs else [x]::g::gs)
^
The bit of the type that is self-referential looks like this: