I hereby claim:
- I am wancw on github.
- I am wancw (https://keybase.io/wancw) on keybase.
- I have a public key whose fingerprint is 9272 9A56 09C5 C44E 8AA0 7B15 D8CF FF69 08A8 E5FF
To claim this, I am signing this object:
git config --global alias.link '!f() { echo https://$(git config --get remote.origin.url | sed s/^[[:alpha:]]*@// | sed s/:/\\// | sed s/\\.git$//)/commit/$(git rev-parse ${1:-HEAD}); }; f' |
typeset -gaU preexec_functions | |
typeset -gaU precmd_functions | |
preexec_functions+='preexec_start_timer' | |
precmd_functions+='precmd_report_time' | |
_tr_current_cmd="?" | |
_tr_sec_begin="${SECONDS}" | |
_tr_ignored="yes" |
#!/bin/sh | |
export FMC_WRAPPER=`basename $0` | |
MERGE_COMMIT=`git find-merge-commit $*` | |
if [[ $? != 0 ]]; then | |
exit $? | |
fi | |
git branch --all --contain $MERGE_COMMIT |
// Generic template | |
template <typename T> | |
struct Foo { | |
static int bar(const T& t) { return -1; } | |
}; | |
// Specialization | |
class C; | |
template<> |
template<typename T> | |
struct Accumulator { | |
Accumulator(T n) : n_{n} {} | |
template <typename U> | |
const T& operator()(const U& i) { return n_ += i; } | |
private: | |
T n_; | |
}; | |
template <typename T> |
I hereby claim:
To claim this, I am signing this object:
[submodule "zsh-syntax-highlighting"] | |
path = zsh-syntax-highlighting | |
url = git://github.com/zsh-users/zsh-syntax-highlighting.git |
#include <vector> | |
#include <set> | |
#include <string> | |
namespace Impl { | |
typedef std::set<std::string> elem_container; | |
//typedef std::vector<std::string> elem_container; | |
typedef elem_container::iterator elem_iterator; |
#!/bin/sh | |
TARGET_DIR="$1" | |
shift | |
FROM="$1" | |
shift | |
TO="$1" | |
shift |
#ifndef __01_ITERATOR_HELPER_H__ | |
#define __01_ITERATOR_HELPER_H__ | |
#include <memory> | |
/* We need a concreate iterator class */ | |
template<typename It, typename Vt = typename It::valuetype> | |
class IteratorPointerWrapper { | |
public: | |
IteratorPointerWrapper(It* iter_ptr) : iter_ptr_(iter_ptr) {} |