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 requests | |
import curses | |
from fuzzywuzzy import fuzz | |
# Function to initialize the board with random questions | |
def initialize_board(): | |
board = [] | |
for i in range(6): | |
category_data = requests.get("http://jservice.io/api/random?count=5").json() | |
board.append(category_data) |
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 requests | |
import curses | |
from fuzzywuzzy import fuzz | |
# Function to initialize the board with random questions | |
def initialize_board(): | |
board = [] | |
for i in range(6): | |
category_data = requests.get("http://jservice.io/api/random?count=5").json() | |
board.append(category_data) |
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 requests | |
from fuzzywuzzy import fuzz | |
from fuzzywuzzy import process | |
# Function to get a random question from the Jeopardy API | |
def get_random_question(): | |
response = requests.get("http://jservice.io/api/random") | |
question_data = response.json()[0] | |
return question_data |
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
Region: us-east-1 | |
Image: | |
Os: centos7 | |
HeadNode: | |
InstanceType: t2.micro | |
Networking: | |
SubnetId: subnet-02dca6ec049632f7f | |
Ssh: | |
KeyName: 20220920ec2 | |
LocalStorage: |
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
437 Juffo-Wup | |
188 lysol | |
162 tmkf | |
128 bp | |
86 shmup | |
67 helicomatic | |
45 tacodog | |
43 esch | |
41 vee | |
40 mach5 |
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
#!/bin/bash | |
# Read the patterns from the file PATTERNS.txt and store them in an array | |
patterns=() | |
while IFS= read -r line; do | |
patterns+=("$line") | |
done < PATTERNS.txt | |
# Iterate over the patterns array and compare each pair of patterns | |
for ((i=0; i<${#patterns[@]}; i++)); do |
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 itertools | |
# Open the files in read-only mode | |
with open('PATTERNS.txt', 'r') as patterns_file, open('TEXT.txt', 'r') as text_file: | |
# Read the patterns from the file and store them in a list | |
patterns = patterns_file.read().splitlines() | |
# Create a dictionary to store the counts for each pair of patterns | |
pattern_pair_counts = {} | |
# Loop through each line in the text 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
1267 Juffo-Wup wx | |
1261 dmd Juffo-Wup | |
1257 Juffo-Wup dmd | |
1088 necKro tacodog | |
1032 tacodog necKro | |
932 dmd bp | |
725 Juffo-Wup bp | |
604 dmd mach5 | |
589 dmd helicomatic | |
565 GIR bp |
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
give me a fictional recipe for a meal for two by carnie abraham lincoln using only food waste from a traveling circus in his time | |
Carnie Abraham Lincoln's Circus Stable Waste Skillet: | |
Ingredients: | |
1/2 cup of fresh horse manure | |
1/4 cup of stale horse feed | |
1/4 cup of dried-out apple cores | |
2 tablespoons of melted circus peanut butter |
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
2022-11-28.log:[08:50:21] <dmd> https://github.com/KitwareMedical/dicom-anonymizer/issues/33 | |
2022-11-28.log:[08:59:53] <dmd> https://a.co/d/7s8ZixS | |
2022-11-28.log:[09:08:26] <dmd> i'm sorry WHAT https://shot.3e.org/ss-20221128_090819.png | |
2022-11-28.log:[09:23:45] <dmd> https://www.hawaiinewsnow.com/2022/11/28/mauna-loa-eruption-underway-lava-currently-contained-summit/ | |
2022-11-28.log:[11:09:47] <dmd> https://img.ly/blog/ultimate-guide-to-ffmpeg/ | |
2022-11-28.log:[11:11:27] <dmd> these are amazing https://digitalsynopsis.com/design/miniature-dioramas/ | |
2022-11-28.log:[11:19:43] <dmd> jefftk discovers making friends https://www.neelnanda.io/blog/43-making-friends | |
2022-11-28.log:[11:26:32] <dmd> https://www.gameinformer.com/sites/default/files/styles/full/public/2021/04/28/0c74fec5/returnalsurvive.jpg | |
2022-11-28.log:[11:30:28] <dmd> https://www.youtube.com/watch?v=ZE4shVkwqIk | |
2022-11-28.log:[11:30:49] <dmd> beter link https://www.youtube.com/watch?v=fKAn17K4Qpk |