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
/* | |
1. Open Discord in a browser | |
2. Search for all crossword times | |
e.g. from:paramt https://www.nytimes.com | |
3. Paste the following script in the console | |
*/ | |
let res1 = ""; |
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 twilio.rest import Client | |
import requests | |
from bs4 import BeautifulSoup | |
COURSE = ["MATH", "136"] | |
SECTION = 8 | |
# Twilio Auth | |
account_sid = "" | |
auth_token = "" |
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
#!/usr/bin/env python3 | |
# Get the size of the square | |
def getSquareSize(): | |
waitingForInput = True | |
while waitingForInput: | |
print("Enter the size of the magic square: ", end="") | |
try: | |
size = int(input()) |
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
/* | |
Name: Param Thakkar | |
Date: September 30 | |
Purpose: Find the middle of a set of numbers | |
*/ | |
#include <algorithm> | |
#include <iostream> | |
#include <vector> |
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
/* | |
Name: Param Thakkar | |
Date: September 30 | |
Purpose: Calculate the average of a user defined number of inputs | |
**/ | |
#include <iostream> | |
#include <iomanip> | |
using namespace std; |