Skip to content

Instantly share code, notes, and snippets.

View steevp's full-sized avatar
💭
I may be slow to respond.

steevp

💭
I may be slow to respond.
View GitHub Profile
@steevp
steevp / openmw_steam.py
Last active January 17, 2024 10:42
Launch openmw and have Steam track your gameplay hours, etc as if you were playing Morrowind
#!/usr/bin/env python
import os
import sys
from ctypes import CDLL
from subprocess import call
# Morrowind
os.environ["SteamAppId"] = "22320"
# Enable Steam Overlay
@steevp
steevp / gog-notify.py
Last active December 28, 2019 17:20
Checks for new GOG Connect games
#!/usr/bin/env python2
# Script to check for new GOG Connect games
#
# Configure your system for sending emails first. I used:
# https://www.howtoforge.com/tutorial/configure-postfix-to-use-gmail-as-a-mail-relay/
import requests
import browsercookie
import json
import smtplib
from email.mime.text import MIMEText
@steevp
steevp / siralim_breeding.py
Last active September 6, 2016 14:49
Scrapes breeding combinations from Siralim Wiki and writes them to a csv file
#!/usr/bin/env python3
# Scrapes breeding combinations from Siralim Wiki and writes them to a csv file
import csv
import requests
import re
from bs4 import BeautifulSoup
with open('Breeding Combinations.csv', 'w', newline='') as csvfile:
writer = csv.writer(csvfile, quoting=csv.QUOTE_MINIMAL)
html = requests.get('http://siralim.gamewiki.tips/doku.php?id=breeding').text
@steevp
steevp / translations.md
Last active February 10, 2018 08:59
Translating Idle Daddy

Creating a new translation

  • All of the English strings used in the app can be found in strings.xml, use this file as the base for your new translation.
  • Copy and Paste the text from strings.xml into a text editor (e.g. notepad++) and begin editing.

Translating strings

  • strings.xml contains items that look like below, these are your strings:
<string name="status">Status</string>
  • You only need to translate the part between the opening and closing <string> tags, leave the name=key part untranslated. For example (from the Bulgarian translation):
@steevp
steevp / Privacy.md
Last active December 26, 2022 08:12
Idle Daddy Privacy Policy

Privacy Policy

Idle Daddy is built as an open-source, ad-supported app. This app is provided by Steev's apps at no cost and is intended for use as is. This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decides to use Idle Daddy.

Information Collection and Use

Idle Daddy requires your Steam™ username and password to function. This information is never collected by the developer and only sent to the official Steam™ servers.

3rd-Party Libraries

Idle Daddy uses AdMob to serve ads. You can view their privacy policy here:
https://www.google.com/policies/privacy/partners/

#!/usr/bin/env python3
import os
import requests
import aiml
import irc.bot
USERNAME = "crack_azz" # Substitute your bot's username
TOKEN = "oauth:OOOOOOOOOOOOOOOOOOOOO" # OAUTH token (Get one here: https://twitchapps.com/tmi/)
CHANNEL = "jacks_azz" # Twitch channel to join