I hereby claim:
- I am r2p2 on github.
- I am r2p2 (https://keybase.io/r2p2) on keybase.
- I have a public key ASDLlijKEcbEO7sIuk96ikW14v7mnxy2immsjw5kr7Qe-Qo
To claim this, I am signing this object:
SOURCES += $$system("find . '(' -name '*.cpp' -or -name '*.cc' ')' -not -name '*.git*' -not -wholename './libs/*' -not -wholename '*/.build*'") \ | |
mymodelclass.cpp | |
HEADERS += $$system("find . '(' -name '*.h' -or -name '*.hpp' ')' -not -name '*.git*' -not -wholename './libs/*' -not -wholename '*/.build*'") \ | |
mymodelclass.h |
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery.min.js"></script> | |
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> | |
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> | |
<script> | |
$(window).resize(function() { | |
$('.panel.full-height').each(function() { | |
$(this).height($(window).height() - $(this).offset().top - 20); |
[pid 9540] rt_sigprocmask(SIG_SETMASK, ~[TRAP RT_1], <unfinished ...> | |
[pid 9511] write(9, "T,\261\276\5\0\0\0\370U\1\0\374U\1\0\fV\1\0`B\1\0\\B\1\0\20(\261\276"..., 148 <unfinished ...> | |
[pid 9540] <... rt_sigprocmask resumed> NULL, 8) = 0 | |
[pid 9511] <... write resumed> ) = 148 | |
[pid 9540] read(8, <unfinished ...> | |
[pid 9511] rt_sigprocmask(SIG_SETMASK, NULL, <unfinished ...> | |
[pid 9540] <... read resumed> "T,\261\276\5\0\0\0\370U\1\0\374U\1\0\fV\1\0`B\1\0\\B\1\0\20(\261\276"..., 148) = 148 | |
[pid 9511] <... rt_sigprocmask resumed> [RTMIN], 8) = 0 | |
[pid 9540] poll([{fd=8, events=POLLIN}], 1, 2000 <unfinished ...> | |
[pid 9511] write(9, " 5\36@\0\0\0\0\0\0\0\0\270\350\4@TV\1\0\0\0\0\200\0\0\0\0x\362\35@"..., 148 <unfinished ...> |
#!/bin/bash | |
cd /tmp/ | |
mkfifo sendpipe | |
nc -l 1337 < sendpipe | while read request | |
do | |
echo "receive request: " $request | |
result = $(echo $request " * 2" | bc) | |
echo "send result " $result | |
echo $result > sendpipe | |
done |
#include <iostream> | |
#include <vector> | |
#include <string> | |
class Finder | |
{ | |
public: | |
Finder() | |
: _pattern() | |
, _start(false) |
#include <cstdint> | |
#include <utility> | |
#include <string> | |
#include <vector> | |
#include <iostream> | |
class Data | |
{ | |
public: | |
explicit Data(uint32_t n) |
package main | |
import ( | |
"flag" | |
"fmt" | |
"github.com/r2p2/rfc868" | |
) | |
var daemon = flag.Bool("daemon", false, "run application as daemon. share your time.") | |
var address = flag.String("address", "localhost:1024", "connect/listen to/on address.") |
#include <iostream> | |
struct event_on {}; | |
struct event_off {}; | |
template<class TEvent> | |
struct ihandle | |
{ | |
virtual void handle(TEvent event) = 0; | |
}; |
QSqlQuery prepare(const std::string &sql) | |
{ | |
/* FIXME is working just once | |
std::map<std::string, QSqlQuery>::iterator it = m_queries.find(sql); | |
if(it == m_queries.end()) | |
{ | |
m_queries[sql] = QSqlQuery(*m_db); | |
m_queries[sql].prepare(sql.c_str()); | |
} | |
return m_queries[sql]; |