View gist:9689475
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=ERROR REPORT==== 21-Mar-2014::15:54:11 === | |
error on AMQP connection <0.367.0>: {ssl_upgrade_failure, | |
{{{badmatch, | |
{error, | |
{asn1, | |
{'Type not compatible with table constraint', | |
{{component,'Type'}, | |
{value,{5,<<>>}}, | |
{unique_name_and_value,id, | |
{1,2,840,113549,1,1,11}}}}}}}, |
View gist:ec40ed4321796f27df6a
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am mkoppanen on github. | |
* I am mikko (https://keybase.io/mikko) on keybase. | |
* I have a public key whose fingerprint is 47D5 DA5E A21D 51D8 B713 5D29 7A1C 1F2A 7F18 D371 | |
To claim this, I am signing this object: |
View gist:489013
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
class FooBar | |
{ | |
public: | |
FooBar(); | |
~FooBar(); | |
}; | |
FooBar::FooBar() |
View FooBar.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include "FooBar.hpp" | |
FooBar::FooBar() | |
{ | |
std::cout << "constructor" << std::endl; | |
} | |
FooBar::~FooBar() | |
{ |
View gist:489026
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class FooBar | |
{ | |
public: | |
FooBar() { | |
std::cout << "bar"; | |
} | |
~FooBar() { | |
std::cout << "foo"; | |
} | |
} |
View gist:489045
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
int main(int argc, char *argv[]) | |
{ | |
if (argc < 2) { | |
std::cerr << "Usage: " << argv[0] << " <word>" << std::endl; | |
return EXIT_FAILURE; | |
} | |
View gist:530821
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thread 2 (Thread 8017131c0 (LWP 100116)): | |
#0 0x000000080195b2ba in __error () from /lib/libthr.so.3 | |
#1 0x000000080195afac in __error () from /lib/libthr.so.3 | |
#2 0x0000000801955f6a in pthread_mutex_getyieldloops_np () from /lib/libthr.so.3 | |
#3 0x0000000801956829 in pthread_mutex_trylock () from /lib/libthr.so.3 | |
#4 0x00000008012f79e9 in _malloc_prefork () from /lib/libc.so.7 | |
#5 0x00000008012fa031 in calloc () from /lib/libc.so.7 | |
#6 0x0000000801955d54 in pthread_mutexattr_init () from /lib/libthr.so.3 | |
#7 0x0000000801956001 in pthread_mutex_getyieldloops_np () from /lib/libthr.so.3 | |
#8 0x0000000801956829 in pthread_mutex_trylock () from /lib/libthr.so.3 |
View gist:530913
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Program received signal SIGINT, Interrupt. | |
[Switching to Thread 8017131c0 (LWP 100097)] | |
0x00000008019a02ba in __error () from /lib/libthr.so.3 | |
(gdb) bt | |
#0 0x00000008019a02ba in __error () from /lib/libthr.so.3 | |
#1 0x000000080199ffac in __error () from /lib/libthr.so.3 | |
#2 0x000000080199af6a in pthread_mutex_getyieldloops_np () from /lib/libthr.so.3 | |
#3 0x000000080199b829 in pthread_mutex_trylock () from /lib/libthr.so.3 | |
#4 0x00000008012f79e9 in _malloc_prefork () from /lib/libc.so.7 | |
#5 0x00000008012fa031 in calloc () from /lib/libc.so.7 |
View gist:535024
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
define("PARSING_HEADER", 1); | |
define("PARSING_DEFINITION", 2); | |
define("PARSING_DATA", 3); | |
define("PARSING_END", 4); | |
$fp = fopen("file.txt", "r"); | |
$state = 0; |
View gist:535004
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ php test.php | |
array(3) { | |
["version"]=> | |
string(1) "3" | |
["eof"]=> | |
string(1) "^" | |
["eor"]=> | |
string(1) "~" | |
} | |
array(6) { |
OlderNewer