Skip to content

Instantly share code, notes, and snippets.

@schmilblick
schmilblick / gist:c1b26d91aeb235f77124
Created October 21, 2014 07:24
get_keyword_ideas.py result
Keyword with '(StringAttribute){
Attribute.Type = "StringAttribute"
value = "cruise new"
}' text and average monthly search volume '(LongAttribute){
Attribute.Type = "LongAttribute"
value = 70
}' was found with Products and Services categories: (IntegerSetAttribute){
Attribute.Type = "IntegerSetAttribute"
value[] =
10150,
@schmilblick
schmilblick / BeRconClient.py
Created January 15, 2013 09:04
Start of a simple rcon client for Arma2 and DayZ
import socket
import struct
import zlib
def get_checksum(cs):
return struct.pack("i", zlib.crc32(cs))
class RconClient:
MSG_LOGIN = 0x00
MSG_COMMAND = 0x01