Skip to content

Instantly share code, notes, and snippets.

View Bamux's full-sized avatar

Sebastian S. Bamux

  • Germany
View GitHub Profile
import codecs
import requests
from datetime import datetime
import math
import os
def get_session_id(delta, month, idold, sid, url):
session_key = []
print(url)
import codecs
import os
import mysql.connector
def database_connect():
mydb = mysql.connector.connect(
host="",
user="",
passwd="",
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
Key01 := 0
status := 0
loop {
import codecs
import requests
from datetime import datetime
import math
import os
def get_session_id(delta, month, idold, sid, url):
session_key = []
print(url)
@Bamux
Bamux / rift_items_csv.py
Last active February 3, 2018 14:19
Rift Items.xml parser
# -*- coding: utf-8 -*-
# This python Script genereats a CSV File from the Items.xml (for the selected class) which you can import in a Spredsheet
import codecs
import os
#######################################################################################################################
# Instructions
# 1. Download the latest Rift_Discoveries_xxxx-xx-xx.zip from http://webcdn.triongames.com/addons/assets/
# 2. unzip the Rift_Discovery file, you need the Items.xml from this folder
@Bamux
Bamux / RiftMeter.lua
Last active April 16, 2017 17:44
Rift Meter Improvements
-------------------------------------------------------------------------------
---- Rift Meter ----
---- ----
---- http://www.curse.com/addons/rift/rift-meter ----
---- Author: Vince@Brutwacht ----
-------------------------------------------------------------------------------
local Info, RM = ...
RiftMeter = RM