Skip to content

Instantly share code, notes, and snippets.

diff -Naur newsbeuter-2.8/Makefile newsbeuter-2.8-m/Makefile
--- newsbeuter-2.8/Makefile 2014-01-19 07:10:41.000000000 +0800
+++ newsbeuter-2.8-m/Makefile 2014-02-02 12:43:11.000000000 +0800
@@ -11,7 +11,7 @@
# compiler and linker flags
DEFINES=-DLOCALEDIR=\"$(localedir)\"
WARNFLAGS=-Wall -Wextra
-CXXFLAGS+=-ggdb -Iinclude -Istfl -Ifilter -I. -Irss $(WARNFLAGS) $(DEFINES)
+CXXFLAGS+=-std=c++11 -ggdb -Iinclude -Istfl -Ifilter -I. -Irss $(WARNFLAGS) $(DEFINES)
LDFLAGS+=-L.
diff -Naur newsbeuter-2.8/Makefile newsbeuter-2.8-m/Makefile
--- newsbeuter-2.8/Makefile 2014-01-19 07:10:41.000000000 +0800
+++ newsbeuter-2.8-m/Makefile 2014-02-02 12:49:15.000000000 +0800
@@ -11,7 +11,7 @@
# compiler and linker flags
DEFINES=-DLOCALEDIR=\"$(localedir)\"
WARNFLAGS=-Wall -Wextra
-CXXFLAGS+=-ggdb -Iinclude -Istfl -Ifilter -I. -Irss $(WARNFLAGS) $(DEFINES)
+CXXFLAGS+=-std=c++11 -ggdb -Iinclude -Istfl -Ifilter -I. -Irss $(WARNFLAGS) $(DEFINES)
LDFLAGS+=-L.
# dvm configuration
# -----------------
#
# **Note**: All commented out settings are default values
#
# Docker guest IP address, available on a private network
#
export DOCKER_IP="10.1.2.3"
ssh-dss AAAAB3NzaC1kc3MAAACBAIX84vSPAx/eVprxDbREnGN8wvfOHct+VeqCLuFdRPZ8id+Ls/pmklAeZrrOVJQGPyVM8h8rXzyfCq3yl5oSBaYarePKc1Zut1VGOCEFsdIJ+UC02zSibzZMvmYP5Ub7zjapdHxmtqoJrp8hg8PLdrfUjc7/s17FAJcTEBEVWBERAAAAFQC5WyL/NnpyCIoU1nnlkUSQctz+sQAAAIAkc3ND3riLIXxMmpit5Z7snIw6qp+ZZ22z7+Urd+qEGGki1RlQNBz7pNLhRNNsFXN90s8qHI7nZSaXq72zTZDFUPW2N+f4u8+Uc2uzBLZsRuis4piG7nIKRNxgxtoG5qQHVeG2pyrbIBPIJ2qLrdOqGhlbDnIzX18wrAoYslK63gAAAIB57F0D16nX3Xkl2Wp+F/57Fb0BtERPaNPZShtlBa5s/fLoU6dZlpGgU/PIvePLjwjskfqQab/ziTSk9hGQPB0ox/oJhV1GuEsv2SD4p385cOiRhYD3V/M9w9FqHfu6NwqbGVMhBKMYLY9HgbrdLxDiGoRDYs47QrsUmZq1OhNUGA== neerav@viki.com
Index: b/ext/readline/readline.c
===================================================================
--- a/ext/readline/readline.c
+++ b/ext/readline/readline.c
@@ -1883,7 +1883,7 @@
rl_attempted_completion_function = readline_attempted_completion_function;
#if defined(HAVE_RL_PRE_INPUT_HOOK)
- rl_pre_input_hook = (Function *)readline_pre_input_hook;
+ rl_pre_input_hook = (rl_hook_func_t *)readline_pre_input_hook;
@neeravkumar
neeravkumar / 0_reuse_code.js
Created June 4, 2014 02:49
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
<!DOCTYPE html>
<html>
<head>
<title>Docker and Go</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<style type="text/css">
@import url(http://fonts.googleapis.com/css?family=Neuton);
@import url(http://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
@import url(http://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic);
Rubinius Crash Report #rbxcrashreport
Error: signal SIGSEGV
[[Backtrace]]
puma: cluster worker 2: 1544[0x68a7b4]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10340)[0x7fcc3c9ab340]
/usr/lib/x86_64-linux-gnu/libcurl.so(+0x2fa1d)[0x7fcc1fbc0a1d]
/usr/lib/x86_64-linux-gnu/libcurl.so(+0x1fc73)[0x7fcc1fbb0c73]
/usr/lib/x86_64-linux-gnu/libcurl.so(+0x20124)[0x7fcc1fbb1124]
<!DOCTYPE html>
<html>
<head>
<title>Docker Ecosystem</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<style type="text/css">
@import url(http://fonts.googleapis.com/css?family=Neuton);
@import url(http://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
@import url(http://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic);
[error] server.go:1062 Handler for POST /containers/create returned error: No such image: viki/consul:0.0.3 (tag: 0.0.3)
[error] server.go:91 HTTP Error: statusCode=404 No such image: viki/consul:0.0.3 (tag: 0.0.3)
[info] POST /images/create?fromImage=viki%2Fconsul&tag=0.0.3
[4812d95e] +job pull(viki/consul, 0.0.3)
[info] encountered error during pull and clearing it before resume: read tcp 54.230.150.34:443: i/o timeout
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x58149f]
goroutine 78487 [running]:
runtime.panic(0xb48200, 0x1174573)