Skip to content

Instantly share code, notes, and snippets.

View mstyne's full-sized avatar
🐍
Improving my Python skills

Michael Styne mstyne

🐍
Improving my Python skills
View GitHub Profile
@mstyne
mstyne / gist:628edaaea3bef8e14172
Last active August 29, 2015 14:02
# USE_ZEND_ALLOC=0 valgrind --leak-check=full -v --track-origins=yes httpd -X ; mod_ssl disabled
# USE_ZEND_ALLOC=0 valgrind --leak-check=full -v --track-origins=yes httpd -X
==10621== Memcheck, a memory error detector
==10621== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==10621== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==10621== Command: httpd -X
==10621==
--10621-- Valgrind options:
--10621-- --leak-check=full
--10621-- -v
--10621-- --track-origins=yes
@mstyne
mstyne / gist:c56e700fed2a992dde5d
Created June 6, 2014 20:48
# USE_ZEND_ALLOC=0 valgrind --leak-check=full -v --track-origins=yes httpd -X
This file has been truncated, but you can view the full file.
[root@ubercentos6 ~]# USE_ZEND_ALLOC=0 valgrind --leak-check=full -v --track-origins=yes httpd -X
==25061== Memcheck, a memory error detector
==25061== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==25061== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==25061== Command: httpd -X
==25061==
--25061-- Valgrind options:
--25061-- --leak-check=full
--25061-- -v
--25061-- --track-origins=yes
==25022== Conditional jump or move depends on uninitialised value(s)
==25022== at 0x5275608: bn_cmp_words (in /usr/lib/libcrypto.so.1.0.1e)
==25022== by 0x52756A4: bn_cmp_part_words (in /usr/lib/libcrypto.so.1.0.1e)
==25022== by 0x5276B0A: bn_mul_recursive (in /usr/lib/libcrypto.so.1.0.1e)
==25022== by 0x5277F10: BN_mul (in /usr/lib/libcrypto.so.1.0.1e)
==25022== by 0x52958BE: RSA_generate_key_ex (in /usr/lib/libcrypto.so.1.0.1e)
==25022== by 0x5299822: RSA_generate_key (in /usr/lib/libcrypto.so.1.0.1e)
==25022== by 0x51710D3: ??? (in /usr/lib/httpd/modules/mod_ssl.so)
==25022== by 0x5171563: ??? (in /usr/lib/httpd/modules/mod_ssl.so)
==25022== by 0x12E60D: ap_run_post_config (in /usr/sbin/httpd)
Start: Sun Jun 1 21:47:57 2014
HOST: vonbraun Loss% Snt Last Avg Best Wrst StDev
1.|-- 192.168.1.1 0.0% 100 0.4 0.3 0.3 0.5 0.0
2.|-- 72.224.112.1 29.0% 100 1811. 2531. 12.4 12953 3595.9
3.|-- 24.29.42.229 1.0% 100 1725. 4048. 8.5 15328 4350.2
4.|-- 74.76.241.40 1.0% 100 1649. 4000. 10.0 15252 4325.0
5.|-- 74.76.241.193 1.0% 100 1587. 3962. 19.2 15187 4299.1
6.|-- 107.14.19.26 1.0% 100 1509. 4002. 18.6 15110 4279.8
7.|-- 107.14.19.147 1.0% 100 1431. 3959. 18.0 15029 4253.6
8.|-- 62.115.34.145 1.0% 100 1361. 4142. 17.9 14953 4321.1
@mstyne
mstyne / gist:5903a6e312a0c7eafa89
Created May 6, 2014 13:47
chef-zookeeper zookeeper gem patch dependency
Bringing machine 'default' up with 'virtualbox' provider...
[default] Importing base box 'ubercentos6'...
[default] Matching MAC address for NAT networking...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] -- 80 => 8084 (adapter 1)
Here's the parts list available through http://HobbyKing.com
1x #9171000073/24723 Hobbyking KK2.0 Multi-rotor LCD Flight Control Board
4x #9351000004/25365 Turnigy Multistar 30 Amp Multi-rotor Brushless ESC 2-4S
4x #9351000004/25365 Turnigy Multistar 30 Amp Multi-rotor Brushless ESC 2-4S
1x #T1800 .3S.30/9369 Turnigy 1800mAh 3S 30C Lipo Pack
2x #OR017 -01001-M2/6360 Hex-nuts M2 10pc
2x #HA0505 /12307 Hex Screw M2x8 (20pcs)
1x #9329000018/22438 Slow Fly Electric Prop 8045SF (4 pc)
1x #9329000019/22439 Slow Fly Electric Prop 8045R SF (4 pc)
1x #9171000033/23140 Hobby King Quadcopter Power Distribution Board

Keybase proof

I hereby claim:

  • I am mstyne on github.
  • I am mstyne (https://keybase.io/mstyne) on keybase.
  • I have a public key whose fingerprint is 9321 6FA5 1384 F423 783F 1D0A 2E86 1A18 6628 4060

To claim this, I am signing this object:

12:16:01 WARN SolrResourceLoader Solr loaded a deprecated plugin/analysis class [solr.SortableIntField]. Please consult documentation how to replace it accordingly.
12:16:01 WARN SolrResourceLoader Solr loaded a deprecated plugin/analysis class [solr.SortableLongField]. Please consult documentation how to replace it accordingly.
12:16:01 WARN SolrResourceLoader Solr loaded a deprecated plugin/analysis class [solr.SortableFloatField]. Please consult documentation how to replace it accordingly.
12:16:01 WARN SolrResourceLoader Solr loaded a deprecated plugin/analysis class [solr.SortableDoubleField]. Please consult documentation how to replace it accordingly.
12:16:02 WARN SolrResourceLoader Solr loaded a deprecated plugin/analysis class [solr.JsonUpdateRequestHandler]. Please consult documentation how to replace it accordingly.
12:16:02 WARN SolrResourceLoader Solr loaded a deprecated plugin/analysis class [solr.CSVRequestHandler]. Please consult documentation how to replace it accordingly.
1317 <@mstyne> (╯°□°)╯︵ ┻━┻
tesla:~ $ cat foo.txt
hello
tesla:~ $ `cat foo.txt`
-bash: hello: command not found
tesla:~ $ HELLO=`cat foo.txt`
tesla:~ $ echo $HELLO
hello