Skip to content

Instantly share code, notes, and snippets.

View oleksiy-markovets's full-sized avatar

Oleksiy Markovets oleksiy-markovets

View GitHub Profile

Keybase proof

I hereby claim:

  • I am oleksiy-markovets on github.
  • I am oleksiymarkovets (https://keybase.io/oleksiymarkovets) on keybase.
  • I have a public key whose fingerprint is 3BCB 8D01 FFBA EBD3 AE08 79B8 C043 4EE6 0726 02B1

To claim this, I am signing this object:

#!/usr/bin/python2.7
import os
import sys
import Tkinter
import tkFileDialog
import tkMessageBox
import open_publishing as op
import open_publishing as op
ctx = op.context("<my token>")
with ctx.documents.load(guid=183) as doc:
if not doc.title:
doc.title = "new title"
doc.year += 10
with ctx.documents.create() as doc:
//initialization
#define INIT(SMALLEST_NUMBER) \
template<int _idx> \
struct last_one \
{ \
static const int count = last_one<_idx - 1>::count; \
typedef typename last_one<_idx - 1>::list list; \
}; \
\
template<> \
template <bool _condition>
struct branch {
static void go()
{
do_this();
};
};
template <>
struct branch<false> {