Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
I may be slow to respond.

steevp

💭
I may be slow to respond.
View GitHub Profile
View cathytwitch.py
#!/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
@steevp
steevp / Privacy.md
Last active Jan 13, 2018
Idle Daddy Privacy Policy
View Privacy.md

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/

@steevp
steevp / translations.md
Last active Feb 10, 2018
Translating Idle Daddy
View translations.md

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 / siralim_breeding.py
Last active Sep 6, 2016
Scrapes breeding combinations from Siralim Wiki and writes them to a csv file
View siralim_breeding.py
#!/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 / gog-notify.py
Last active Dec 28, 2019
Checks for new GOG Connect games
View gog-notify.py
#!/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 / openmw_steam.py
Last active Aug 20, 2021
Launch openmw and have Steam track your gameplay hours, etc as if you were playing Morrowind
View openmw_steam.py
#!/usr/bin/env python
import os
import sys
from ctypes import CDLL
from subprocess import call
# Morrowind
os.environ["SteamAppId"] = "22320"
# Enable Steam Overlay