Skip to content

Instantly share code, notes, and snippets.

#include <dlib/image_processing/frontal_face_detector.h>
#include <dlib/gui_widgets.h>
#include <dlib/image_io.h>
#include <iostream>
#include <string>
#include <sys/types.h>
#include <dirent.h>
#include <errno.h>
#include <vector>
#include <string>
#include <thread>
#include <iostream>
#include <condition_variable>
#include <chrono>
#include <mutex>
#include <atomic>
typedef std::function<void()> CallBack;
class Timer {
#include <thread>
#include <iostream>
void foo() {
for(int i = 0; i < 7; ++i) {
std::cout << i << std::endl;
}
}
int main() {
@alexkutsan
alexkutsan / Wallget.py
Created July 17, 2013 21:34
Python API. Wall get all, step 1.
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import vk_auth
import vkontakte
import os
from optparse import OptionParser
parser = OptionParser()
parser.add_option("-e", "--email", dest="email",
help=" user email", metavar="EMAIL")