Skip to content

Instantly share code, notes, and snippets.

Jon Stephens wetnun

Block or report user

Report or block wetnun

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@wetnun
wetnun / gist:9185ae7e05e0b515dfb84e2ef595adfa
Created Jun 3, 2019
carbon-clickhouse temp file usage
View gist:9185ae7e05e0b515dfb84e2ef595adfa
total 0
-rw-r--r--. 1 clickhouse clickhouse 0 Jun 3 12:18 default.1559578727355267711
-rw-r--r--. 1 clickhouse clickhouse 0 Jun 3 12:18 default.1559578732355379856
drwxr-xr-x. 2 clickhouse clickhouse 42 Jun 3 12:18 graphite
drwxr-xr-x. 2 clickhouse clickhouse 42 Jun 3 12:18 graphite_index
total 0
-rw-r--r--. 1 clickhouse clickhouse 0 Jun 3 12:18 default.1559578732355379856
drwxr-xr-x. 2 clickhouse clickhouse 6 Jun 3 12:18 graphite
drwxr-xr-x. 2 clickhouse clickhouse 6 Jun 3 12:18 graphite_index
total 0
View gist:c310da956c4f91437ab18ab012ace3b2
2 https://www.homedepot.com/p/1-2-in-Non-Metallic-Liquid-Tight-Push-On-Connector-NMLT5-1/202284602
4 https://www.homedepot.com/p/1-2-in-EMT-Conduit-101543/100400405
1 https://www.homedepot.com/p/Halex-1-2-in-Electrical-Metallic-Tube-EMT-1-Hole-Straps-25-Pack-26151/100172548
2 https://www.homedepot.com/p/1-2-in-Electrical-Metallic-Tube-EMT-Compression-Connectors-5-Pack-26230/100559992
1 https://www.homedepot.com/p/AFC-Cable-Systems-1-2-x-100-ft-Non-Metallic-Liquidtight-Conduit-6002-30-00/202286688
2 https://www.homedepot.com/p/BELL-1-Gang-Blank-Plastic-Cover-Gray-PBC100GY/204125641
2 https://www.homedepot.com/p/BELL-1-Gang-Weatherproof-Box-Three-1-2-in-or-3-4-in-Outlets-PSB37550GY/202284546
2 https://www.homedepot.com/p/1-2-in-Rigid-Type-LB-Threaded-Aluminum-Conduit-Body-58605/100151927
1 https://www.homedepot.com/p/Klein-Tools-6-500-ft-Pulling-Line-56110/100660172
View keybase.md

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 Aug 29, 2015
Moving parts for minecraft map with mapcrafter and player markers, powered by cron!
View get_player_icon.php
#!/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) {
View gist:327341
[root@ii83-2 (16:52:31) /local/tmp/keyspace-1.4.2]# make clean
rm -f ./keyspace
rm -r -f ./build/debug
rm -f ./keyspace
rm -r -f ./build/release
rm ./bin/libkeyspaceclient.a ./bin/libkeyspaceclient.so
rm: cannot remove `./bin/libkeyspaceclient.a': No such file or directory
rm: cannot remove `./bin/libkeyspaceclient.so': No such file or directory
make: [clean-libs] Error 1 (ignored)
rm ./bin/keyspaced ./bin/clienttest ./bin/bdbtool
View gist:326168
[root@ii83-2 (20:10:29) /local/tmp/keyspace-1.4.2]# make
make targets BUILD="release"
make[1]: Entering directory `/local/tmp/keyspace-1.4.2'
mkdir -p ./build/release \
./build/release/Application/ \
./build/release/Application/Console/ \
./build/release/Application/EchoServer/ \
./build/release/Application/HubSim/ \
./build/release/Application/TestDB/ \
./build/release/Application/Keyspace/ \
View gist:291488
[root@localhost util]# strace -tt -vv perl -MMongoDB -eprint 2>&1 | grep ' open'
11:06:15.120557 open("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/tls/i686/sse2/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory)
11:06:15.121079 open("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/tls/i686/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory)
11:06:15.121495 open("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/tls/sse2/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory)
11:06:15.121889 open("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/tls/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory)
11:06:15.122261 open("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/i686/sse2/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory)
11:06:15.122696 open("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/i686/libperl.so", O_RDONLY) = -1 ENOENT (No such file or directory)
11:06:15.123051 open("/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/sse2/libpe
View gist:276625
[root@ii83-2 (14:01:44) ~/mongodb-linux-i686-1.1.4/bin]# ./mongo
MongoDB shell version: 1.1.4
url: test
connecting to: test
type "help" for help
> use common
switched to db common
> db.createCollection("arrtest");
{ "ok" : 1 }
> j={"random":"some crap","tester":["test1","test2","test3"]}
View gist:259018
cat t/test_server.pl>
#!/usr/bin/env perl
#
# Gearman Perl front end
# Copyright (C) 2009 Dennis Schoen
# All rights reserved.
#
# This library is free software; you can redistribute it and/or modify
# it under the same terms as Perl itself, either Perl version 5.8.9 or,
View gist:258977
[root@ii50-9 (11:40:39) /usr/src/redhat/SOURCES]# cp Gearman-XS-0.7.tar.gz /tmp
[root@ii50-9 (11:40:57) /usr/src/redhat/SOURCES]# cd /tmp
[root@ii50-9 (11:40:58) /tmp]# tar -xzvf Gearman-XS-0.7.tar.gz
Gearman-XS-0.7/
Gearman-XS-0.7/inc/
Gearman-XS-0.7/inc/Module/
Gearman-XS-0.7/inc/Module/Install.pm
Gearman-XS-0.7/inc/Module/Install/
Gearman-XS-0.7/inc/Module/Install/AutoInstall.pm
Gearman-XS-0.7/inc/Module/Install/Makefile.pm
You can’t perform that action at this time.