Skip to content

Instantly share code, notes, and snippets.

message CGameInfo
{
message CDotaGameInfo
{
message CPlayerInfo
{
optional string hero_name = 1;
optional string player_name = 2;
optional bool is_fake_client = 3;
}
Guaiacol is a naturally occurring organic compound with the formula C6H4(OH)(OCH3), discovered by Ascanio Sobrero. Although it is biosynthesized by a variety of organisms,[3] this colorless aromatic oil is usually derived from guaiacum or wood creosote. Samples darken upon exposure to air and light. Guaiacol is present in wood smoke, resulting from the pyrolysis of lignin.
The
compound contributes to the flavor of many compounds, e.g. roasted coffee.[4]
%
aiaco-phosphal (phosphotal is a mixture of the phosphites of creosote phenols).[citation needed] The valerianic ester of guaiacol is known as geosote, the benzoic as benzosol, the salicylic as guaiacolsalol, while the glyc
%
asodas ocerca gregaria, by the breakdown of plant material. This process is undertaken by the gut bacterium Pantoea
@spaghetti-
spaghetti- / gist:4649960
Created January 27, 2013 19:31
ring buffer
typedef unsigned long ul;
template <typename T>
class ringBuffer
{
public:
T *data;
ul size;
ul n;
ul fpos, wpos;
item_blink
item_blades_of_attack
item_broadsword
item_chainmail
item_claymore
item_helm_of_iron_will
item_javelin
item_mithril_hammer
item_platemail
item_quarterstaff
@spaghetti-
spaghetti- / gist:4664329
Created January 29, 2013 13:43
dota 2 items.txt
// Dota Heroes File
"DOTAAbilities"
{
"Version" "1"
// NOTES:
//
// "ability_type":
// DOTA_ABILITY_TYPE_BASIC = 0 :
// DOTA_ABILITY_TYPE_ULTIMATE = 1 :
import simplejson as json
import urllib
import urlparse
import sqlite3
import unicodedata
#config
database = 'streams.db'
table = 'dotastreams'
# coding=utf-8
from pluginmanager import *
import re, json
from requests import get
@plugins.register('PRIVMSG')
def youtube(*args, **kwargs):
user = kwargs['user']
channel = kwargs['channel']
msg = kwargs['msg']
Û
œ
Š



F
D

E
#!/bin/python2.7
def xnor(x, y):
"""
logical XNOR
function assumes that x and y can indeed be xor'd
that is to say, the right format
"""
return ~(x ^ y)