Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

[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
[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/ \
[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
@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) {

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 / gist:c310da956c4f91437ab18ab012ace3b2
Last active March 25, 2018 06:06
Lets go shopping....
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
@wetnun
wetnun / gist:9185ae7e05e0b515dfb84e2ef595adfa
Created June 3, 2019 16:23
carbon-clickhouse temp file usage
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