Skip to content

Instantly share code, notes, and snippets.

View cole-wilson's full-sized avatar
🖖
cole.ws

Cole Wilson cole-wilson

🖖
cole.ws
View GitHub Profile
@cole-wilson
cole-wilson / ec1.py
Created August 29, 2024 00:09
Extra Credit 1: MATH 273 Calculus III
# Cole Wilson
# August 28 2024
# MATH 273 Remaley Section 3
#
# Calculates the cross product of
# two vectors in 3D space, with additional
# support for many other vector and matrix
# operations such as dot products and
# scalar multiplication
@cole-wilson
cole-wilson / main.py
Created May 20, 2024 03:57
AP Statistics Final Project: Is FRC pay-to-win?
from itertools import count
import sys
import re
import random
import requests as req_orig
import requests_cache
import statbotics
from code import interact
import geocoder
{
"tabPane": [
{
"title": "Main",
"autoPopulate": false,
"autoPopulatePrefix": "SmartDashboard/",
"widgetPane": {
"gridSize": 64.0,
"showGrid": true,
"hgap": 16.0,
@cole-wilson
cole-wilson / main.py
Created February 9, 2024 05:39
Combat Robotics Challonge Code
import challonge
import time
class Tournament():
_id = None
participants = []
matches = []
printed = []
def __init__(self, _id: str):
@cole-wilson
cole-wilson / README.md
Created December 1, 2023 06:03
AP Stats SImulation

The following Python code simulates the chances of a random seating assignment based on students selected their seats from randomly drawn cards. What is the chance that one or more student will have the eact same seat as before? The same group? Try it out online at https://www.online-python.com/jYsmy9nK7L.

The SlabBook Pro™

Does your MacBook have a broken screen? Buy a monitor instead of a new computer, and chop off the screen.

In September of 2021, the screen on my family's 2016 MacBook Pro went kaput. This was right in the middle of the pandemic when we used it all the time, and we didn't want to spend money on a new laptop! Here's a photo of the screen:

the broken screen

The screen would only work when it was almost completely closed. I did my best to fix it but the cable that connected the screen had somehow ripped and was unfixable. I decided that instead of buying a new computer, I'd just remove the screen! After a lot of careful work, I removed the WiFi antenna and unscrewed the hinges of the screen itself. Here are some photos of the process and the antenna (ignore the sweatshirt I just used it as a soft surface to work on):

<!channel>

Comment on this gist with all the clues we know for sure, I will edit and put them here.

  • TRAINS: this def. has something to do with trains:
    • Maybe, sam said it was for a history project

    • Sam posted in #CDN photos of trains from California_Zephyr_Colorado_River_Western_Colorado.
    • Sam downloaded train horn sound effect
    • The lights in the bottom of the second clue are from a train (also in #CDN)
    • Max is a train engineer
    • Orpheus' profile pic looks like a train engineer, and caleb practlically confirmed this.
  • First Clue: coords lead here, near spacex
@cole-wilson
cole-wilson / git.bash
Last active February 26, 2021 17:04
A bash script to upload an existing project to git.
# This is a bash script to upload two folders to GitHub
# just type the lines directly into the terminal
# no need to put them in a file or anything
# You don't need to type anything after the # comment
# Tell git who you are:
git config user.email "<YOUR_EMAIL>"
git config user.name "<YOUR_NAME>"
# Note: include files starting with `.`
* {
font-family: 'Courier New', Courier, monospace;
}
body {
background: #1a76ff;
}
*::first-letter {
text-transform: uppercase;
}
.header-title-name::first-letter {