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 <memory> | |
#include <iostream> | |
#include <unordered_map> | |
// this is useful when dealing with google protobuf messages, what | |
// you get in your message callback is a google::protobuf::Message | |
// type, however, what you need is a concrete type, something like | |
// LoginRequest/LoginResponse, so you have to do the following: | |
// | |
// const LoginRequest *req = static_cast<const LoginRequest*>(msg); |
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
#!/bin/sh | |
tmux new-session -d -s dev -n fkgfw 'sslocal -v -c own.conf' | |
tmux new-window -n src -c '/data/project/src' | |
tmux new-window -n dist -c '/data/project/dist' | |
tmux new-window -n build -c '/data/project/src/build' | |
tmux new-window -n tmp -c '/home/kelvin/tmp' | |
tmux new-window -n vm1 'ssh ubuntu@192.168.2.101' | |
tmux new-window -n vm2 'ssh ubuntu@192.168.2.102' |
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
// Copyright (c) 2012 Sutoiku, Inc. (MIT License) | |
// Some algorithms have been ported from Apache OpenOffice: | |
/************************************************************** | |
* | |
* Licensed to the Apache Software Foundation (ASF) under one | |
* or more contributor license agreements. See the NOTICE file | |
* distributed with this work for additional information | |
* regarding copyright ownership. The ASF licenses this file |
OlderNewer