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
// Compile with g++ git-last-commits.cpp -std=c++11 -O3 -g -DNDEBUG -o git-last-commits -Ilibgit2-0.23.1/include -Llibgit2-0.23.1/build -lgit2 -lz -pthread | |
#include <git2.h> | |
#include <cstdio> | |
#include <cstdlib> | |
#include <cstring> | |
#include <unistd.h> | |
#include <cerrno> | |
#include <map> |
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 "readerwriterqueue.h" | |
using namespace moodycamel; | |
#include <exception> | |
#include <fstream> | |
#include <thread> | |
#include <cstdlib> // rand() | |
#include <unistd.h> // usleep() |
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
package | |
{ | |
import flash.display.*; | |
import flash.events.*; | |
import flash.net.*; | |
import flash.utils.*; | |
import ru.inspirit.encoders.png.PNGEncoder; | |
import flash.system.ApplicationDomain; | |
import com.adobe.images.PNGEncoder; | |
import mx.graphics.codec.PNGEncoderAsync; |