I hereby claim:
- I am rem7 on github.
- I am yanko (https://keybase.io/yanko) on keybase.
- I have a public key ASD0-B1KIRqvkLiDGLCpyCDUS8JnqWJuKRkiOmCoJqZhOwo
To claim this, I am signing this object:
BEGIN MESSAGE. | |
1ROTYYopp1oboLR YWQgVaFF356O0ah E8qx7WOugXZ0P65 urb5drzrp5da2dS | |
IH7Cl9od5cmCgpH kvjhHcqWdHDTCKq 6Xr2MZHgg6Iwuop UlYm1RmA4xOYca3 | |
nJaoouU5ZCg814M KuNDLWo1Odblt3k ZNQ0AM0EDljBix1 T2N5UHR6uvT63mE | |
hybtAFh89GGAOYu roJzMZc3KcC0iZz zCBR. | |
END MESSAGE. |
diff --git a/src/runsvdir.c b/src/runsvdir.c | |
index 07c1d8e..5197bec 100644 | |
--- a/src/runsvdir.c | |
+++ b/src/runsvdir.c | |
@@ -2,6 +2,7 @@ | |
#include <sys/stat.h> | |
#include <unistd.h> | |
#include <signal.h> | |
+#include <sys/wait.h> | |
#include "direntry.h" |
I hereby claim:
To claim this, I am signing this object:
root@ab977c6c73db:/var/log/supervisor# startup.sh | |
eth0 Link encap:Ethernet HWaddr a6:e9:23:01:80:44 | |
inet addr:100.68.0.1 Bcast:0.0.0.0 Mask:255.255.0.0 | |
inet6 addr: fe80::a4e9:23ff:fe01:8044/64 Scope:Link | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:11 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:1000 | |
RX bytes:878 (878.0 B) TX bytes:648 (648.0 B) |
FROM ubuntu | |
RUN apt-get update | |
RUN apt-get install -y bridge-utils | |
ADD startup.sh /usr/bin/ | |
RUN chmod +x /usr/bin/startup.sh | |
ADD pipework /usr/bin/ | |
RUN chmod +x /usr/bin/pipework |
#!/bin/bash | |
ifconfig | |
echo 'waiting for eth0 and eth1' | |
/usr/bin/pipework --wait -i eth0 | |
echo 'found eth0' | |
/usr/bin/pipework --wait -i eth1 | |
echo 'found eth1' | |
package main | |
import ( | |
"crypto/tls" | |
"crypto/x509" | |
"fmt" | |
"io" | |
"log" | |
) |
rem7@awesometoo ~/gostuff $ echo $GOPATH | |
/home/rem7/gostuff | |
rem7@awesometoo ~/gostuff $ sh -c 'echo $GOPATH' | |
/home/rem7/gostuff | |
rem7@awesometoo ~/gostuff $ go get github.com/simonz05/godis | |
rem7@awesometoo ~/gostuff $ go list | |
can't load package: .: path "/home/rem7/gostuff" not inside a GOPATH | |
rem7@awesometoo ~/gostuff $ go get -v -x | |
.: unrecognized import path "." | |
rem7@awesometoo ~/gostuff $ go get -v |
@@ -230,7 +230,12 @@ int redisContextConnectTcp(redisContext *c, const char *addr, int port, struct t | |
sa.sin_family = AF_INET; | |
sa.sin_port = htons(port); | |
- if (inet_pton(AF_INET, addr, &sa.sin_addr) == 0) { | |
+ | |
+ // Windows XP does not support inet_pton so using | |
+ // inet_addr instead. | |
+ sa.sin_addr.S_un.S_addr = inet_addr(addr); |
bin/mspec ci -T -X18 --background --agent | |
rubinius 2.0.0dev (1.8.7 5a806f11 yyyy-mm-dd JI) [x86_64-apple-darwin11.1.0] | |
......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... |