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: utf8-- | |
from datetime import datetime | |
import logging | |
log = logging.getLogger(__name__) | |
logging.basicConfig(level=logging.INFO) | |
import time | |
import requests | |
from tinydb import TinyDB, where |
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
INSTALLED_APPS += ( | |
'raven.contrib.django.raven_compat', | |
) | |
MIDDLEWARE_CLASSES += ( | |
'raven.contrib.django.raven_compat.middleware.Sentry404CatchMiddleware', | |
) | |
RAVEN_CONFIG = { | |
'dsn': 'http://x:[email protected]/2', # NOQA |
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
; Map windows to 1-0 with ctrl+win+<num>, switch with alt+<num> | |
Loop 10 | |
{ | |
i := A_Index - 1 | |
HotKey #^%i%,DynHotkey | |
HotKey !%i%, DynHotkey | |
} | |
Exit |
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
"script_score":{ | |
"params":{ | |
"normalizer":15 | |
}, | |
"script":"_score+((doc.containsKey(\"hotel.eating_place.rating\") && !doc[\"hotel.eating_place.rating\"].empty ? doc[\"hotel.eating_place.rating\"].value : 0.0)+(doc.containsKey(\"hotel.basin.rating\") && !doc[\"hotel.basin.rating\"].empty ? doc[\"hotel.basin.rating\"].value : 0.0)+(doc.containsKey(\"hotel.room.rating\") && !doc[\"hotel.room.rating\"].empty ? doc[\"hotel.room.rating\"].value : 0.0))/normalizer" | |
}, | |
"boost_mode":"replace" |
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
# | |
# A fatal error has been detected by the Java Runtime Environment: | |
# | |
# SIGSEGV (0xb) at pc=0x00007f648ae03091, pid=10488, tid=140068429559552 | |
# | |
# JRE version: Java(TM) SE Runtime Environment (7.0_76-b13) (build 1.7.0_76-b13) | |
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.76-b04 mixed mode linux-amd64 compressed oops) | |
# Problematic frame: | |
# V [libjvm.so+0x91e091] SymbolTable::lookup(char const*, int, Thread*)+0xa1 | |
# |