This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import subprocess | |
| import glob, os | |
| def seconds_to_formatted_time(seconds): | |
| minutes = seconds // 60 | |
| seconds = seconds - (minutes * 60) | |
| return f"{int(minutes)}:{seconds:05.2f}" | |
| for minutes in range(2,5): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function rollDieRoutine() | |
| local twopi = 2 * math.pi | |
| -- First, generate a random angle | |
| local angle = math.random() * 2 * twopi | |
| -- Calculate position based on the angle | |
| local x = die_launch_radius * math.cos(angle) | |
| local z = die_launch_radius * math.sin(angle) |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dictionary = {AA="(Hawaiian) a volcanic rock consisting of angular blocks of lava with a very rough surface", | |
| AAH="an interjection expressing surprise / to exclaim in surprise", | |
| AAHED="AAH, to exclaim in surprise", | |
| AAHING="AAH, to exclaim in surprise", | |
| AAHS="AAH, to exclaim in surprise", | |
| AAL="(Hindi) the Indian mulberry tree, aka noni", | |
| AALII="(Hawaiian) a tropical tree", | |
| AALIIS="AALII, (Hawaiian) a tropical tree", | |
| AALS="AAL, (Hindi) the Indian mulberry tree, aka noni", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from bs4 import BeautifulSoup | |
| import requests | |
| import re | |
| import time | |
| # Create a list of all ECO codes | |
| eco_codes = [] | |
| for letter in ["A", "B", "C", "D", "E"]: | |
| eco_codes.extend([letter + str(number).zfill(2) for number in range(0, 100)]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Event "Local Event"] | |
| [Site "Local Site"] | |
| [Date "2017.04.24"] | |
| [Round "1"] | |
| [White "PyChess.py"] | |
| [Black "Stockfish 8 64"] | |
| [Result "0-1"] | |
| [TimeControl "300+0"] | |
| [Time "23:58:00"] | |
| [WhiteClock "0:02:38.099"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ''' <summary> | |
| ''' Represents the gender of a person. | |
| ''' </summary> | |
| ''' <remarks>Courtesy of https://ageofshitlords.com/list-of-all-tumblr-genders-so-far/ </remarks> | |
| Public Enum Gender | |
| '''<summary> | |
| ''' A gender which is profound, deep, and infinite. | |
| '''</summary> | |
| Abimegender | |
| '''<summary> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| namespace SumOfDigitsSequence | |
| { | |
| class Program | |
| { |