Skip to content

Instantly share code, notes, and snippets.

View XChrisUnknownX's full-sized avatar

XChrisUnknownX

View GitHub Profile
@XChrisUnknownX
XChrisUnknownX / Text Game Starter Pack.py
Last active April 9, 2020 03:45
This is a sample of a text game "starter pack" I am creating. I needed somewhere to store it where I could access it easily. This particular build contains a choices function for a multiple choice game and a random character creator
import random
import time
# going to create a starter pack for text games in Python.
# TABLE OF CONTENTS:
# Contains:
# choices(a): # Choices is going to accept a, an integer, how many choices you're giving the player.
# Returns integer of the choice, 1 to a.
# choicestest(): Tests choices(a).
#
# createcharacter(): creates a list that has traits of a random character, and can be used to create a proper reference to the character.
@XChrisUnknownX
XChrisUnknownX / Stenonymous Suite.py
Created October 29, 2019 16:11
Stenonymous Suite Early Version without QA Generator
import time
import random
import random as r
import sys
# Thanks to Noah Collin for helping me to work out conceptually how to make this program better. He is a true visionary and thinker.
# Thanks to the stenographers that gave me ideas leading to the creation of this program.
# QA() will be the QA Generator
# fingerdrill() will be the fingerdrill Generator
# menu() will be our menu
def QA():
@XChrisUnknownX
XChrisUnknownX / CharacterStreaming.py
Created July 12, 2019 14:30
Takes user’s custom string and streams it at specified WPM.
import time
import random
ptest = input("Characters to stream: ")
wordslist = ptest.split()
characters = len(ptest)
words = len(wordslist)
while True:
wordspermin = input("Enter desired words per minute: ")
try:
@XChrisUnknownX
XChrisUnknownX / CharacterTypingImprovedWIP.py
Created July 12, 2019 14:19
Trying to stream a custom stream at the user’s custom WPM
import time
import random
ptest = input("Characters to stream: ")
wordslist = ptest.split()
characters = len(ptest)
words = len(wordslist)
while True:
wordspermin = input("Enter desired words per minute: ")
try:
@XChrisUnknownX
XChrisUnknownX / CharacterTyping.py
Created July 11, 2019 16:29
Allows you to display text character by character. Must be accompanied by time.sleep timings (see test)
import time
def a():
print("a",end="",flush=True)
return None
def b():
print("b",end="",flush=True)
return None
def c():
print("c",end="",flush=True)
return None
@XChrisUnknownX
XChrisUnknownX / TXT Merger.py
Created July 10, 2019 18:32
Attempts to merge an unlimited number of txt that you specify.
import time
import random
def getnumber():
while True:
x = input("Insert the number of transcripts you wish to merge: ")
try:
x = int(x)
except:
continue
@XChrisUnknownX
XChrisUnknownX / SpeechTimer.py
Created July 9, 2019 02:06
Puts up text on a set interval but does no voice recognition
import time
import random
article = "I would like to take the time to demonstrate a little something that I discussed with others on Facebook. It pertains to AI and stenography. The writer wrote that they had heard that an artificial intelligence or algorithm at a recent AAERT conference did very well transcribing words in real time. Of course, I don't deny that I believe one day technology will be able to do what we do, but I also am a bit of a skeptic when it comes down to this sort of thing because of some observations I have about human nature, which we'll get to later. The first part of this conversation that has to happen is that the environment under which artificial intelligence or automatic voice recognition succeeds is very important. You can throw a recording system just about anywhere in the same way you can throw a stenographer in there, but if the conditions are not ideal, the stenographer will outperform the voice recognition system. We can see this in two ways. One is to observe what we see ar
@XChrisUnknownX
XChrisUnknownX / FileMarkerProHACKED20-240.py
Last active July 6, 2019 11:27
This is a modified version of the transcript marker that takes r.txt and turns it into marked transcripts 20 WPM to 240 WPM at 10 WPM steps.
import time
import sys
import random
version = "1"
print("Note: Timings are not exact. Transcript is marked at the 15 second reading interval.")
textname = "r.txt"
wordspermin = "0"
@XChrisUnknownX
XChrisUnknownX / FileMarkerPROv1.py
Last active July 6, 2019 11:24
This program marks .txt transcripts for timed dictation/reading/practice. Must have Python 3 to use. Must keep in the same folder as the .txt you wish to mark.
import time
import sys
import random
version = "1"
print("Note: Timings are not exact. Transcript is marked at the 15 second reading interval.")
textname = input("Name of text file you wish to open. ")
wordspermin = input("Mark X words per minute. Input X. ")
@XChrisUnknownX
XChrisUnknownX / Finger Drill Generator.py
Last active May 20, 2019 23:07
Creates stenography finger drills based on a preset list OR allows for custom lists
import time
import random
# creates times
hr = 1
min = 0
times = []
identifier = "a.m."
while hr <= 12:
min = 0
for i in range(0,120):