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
# coding:utf-8 | |
from elasticsearch import Elasticsearch | |
import json | |
# Define config | |
host = "127.0.0.1" | |
port = 9200 | |
timeout = 1000 | |
index = "index" |
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
// Platform independent | |
#include "BitBlitter.h" | |
#include "precompiled_headers.h" // Anything before this is PCH on windows | |
bool BitBlitter::onWindowRefresh( FB::RefreshEvent *evt, FB::PluginWindow *win ) | |
{ | |
boost::mutex::scoped_lock _l(preview_mutex); |