Setting your git username
git config --global user.name "JosiasAurel"| #include <stdio.h> | |
| #define N 5 | |
| static int A[N][N]; | |
| void fillMagicSquare(); | |
| typedef struct TupleTwo | |
| { |
| import subprocess | |
| import sys | |
| import time | |
| import json | |
| from watchdog.observers import Observer | |
| from watchdog.events import FileSystemEventHandler | |
| # load config | |
| with open("autobuild.json", "r") as config_file: |
| board = [i for i in range(9)] | |
| is_win = False # keeps track of whether there is a winner or not | |
| def print_board(): | |
| count = 0 | |
| for i in board: | |
| if count == 3 or count == 6: | |
| print() | |
| print(i, end=" ") |
| async function hitService(numRequests) { | |
| const level = "https://sinerider.hackclub.dev/?N4IgbiBcAMB0CMAaEA7AlgYwNZRAZQBkB5ABQFEB9AOTIHEBBAFQEkA1MkZDAewFsAHADYBTAC7CAJlFEAnAK7DkAZwCGYSQRXiAHrgC0u5AHNuKwUqgo5gwQF8gA==="; | |
| for (let i = 0; i < numRequests; i++) { | |
| console.log("Making request"); | |
| const req = await fetch("https://sinerider-scoring-od9e5.ondigitalocean.app/score", { | |
| method: "POST", | |
| headers: { | |
| "Content-Type": "application/json" | |
| }, |
| /* | |
| First time? Check out the tutorial game: | |
| https://sprig.hackclub.com/gallery/getting_started | |
| */ | |
| const player = "p" | |
| const wall = "w" | |
| const goal = "g" |
| /* | |
| @title: Gravity Box | |
| @author: Josias Aurel | |
| */ | |
| const player = "p" | |
| const wall = "w" | |
| const goal = "g" |
| import os | |
| import requests | |
| from dotenv import load_dotenv | |
| from typing import List | |
| import json | |
| # load environment variables | |
| load_dotenv() | |
| # credentials |
| git ls-files | grep -v -e ".json" -e ".jpg" -e ".svg" -e ".ico" | xargs wc -l |
If you own a laptop, and you have Python and a code editor such as Visual Studio Code installed, I will need you to install a few dependencies that we will need for our WhatsApp bot project for the last class.
Please run the following commands in order to install the required dependencies
pip3 install openai