Skip to content

Instantly share code, notes, and snippets.

[root@ii50-9 (16:28:39) /usr/src/redhat/BUILD/gearmand-0.11]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
[root@ii50-9 (13:29:58) ~]# gearmand
Segmentation fault
[root@ii50-9 (13:30:03) ~]# strace gearmand
execve("/usr/sbin/gearmand", ["gearmand"], [/* 35 vars */]) = 0
brk(0) = 0x867c000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=62240, ...}) = 0
mmap2(NULL, 62240, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fc3000
close(3) = 0
Name: gearmand
Version: 0.11
Release: 1%{?dist}
Summary: A distributed job system
Group: System Environment/Daemons
License: BSD
URL: http://www.gearman.org
Source0: http://launchpad.net/gearmand/trunk/%{version}/+download/gearmand-%{version}.tar.gz
Source1: gearmand.init
--- MongoDB-0.26/xs/Connection.xs 2009-11-05 17:19:25.000000000 -0800
+++ MongoDB-0.26/xs/Connection.xs.patched 2009-12-04 12:37:10.000000000 -0800
@@ -186,11 +186,25 @@
mongo_link *link;
CODE:
link = (mongo_link*)perl_mongo_get_ptr_from_instance(self);
+
if (link->paired) {
+#ifdef WIN32
+ closesocket(link->server.pair.left_socket);
Thu Dec 3 17:16:57 Mongo DB : starting : pid = 483 port = 27017 dbpath = /local/mongo/ master = 0 slave = 0 32-bit
** NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data
** see http://blog.mongodb.org/post/137788967/32-bit-limitations for more
Thu Dec 3 17:16:57 db version v1.1.3, pdfile version 4.5
Thu Dec 3 17:16:57 git version: aa8b12e13fbbdfb293d94786dcc0df589cabef99
Thu Dec 3 17:16:57 sys info: Linux domU-12-31-39-01-70-B4 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:39:36 EST 2008 i686
Thu Dec 3 17:16:57 waiting for connections on port 27017
Thu Dec 3 17:17:00 connection accepted from 127.0.0.1:36528 #1

Keybase proof

I hereby claim:

  • I am wetnun on github.
  • I am wetnun (https://keybase.io/wetnun) on keybase.
  • I have a public key whose fingerprint is B401 9990 DA05 6854 764F F8CE 38F8 486F 13D0 73DF

To claim this, I am signing this object:

@wetnun
wetnun / get_player_icon.php
Last active August 29, 2015 14:05
Moving parts for minecraft map with mapcrafter and player markers, powered by cron!
#!/usr/bin/php -f
<?php
// original version was from TJ09
// forum link: http://forums.bukkit.org/threads/info-mapmarkers-v0-3-4-1-1r6.843/
$sizefactor = 1.5;
$cachetime = 60*60*24;
$destination = "/var/www/html/map2/static/markers/";
if(sizeof($argv) > 1) {