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
{
"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 {
@cole-wilson
cole-wilson / style.css
Created November 10, 2020 21:35
CSS uploaded by scrapbook.hackclub.com/customizer
* {
font-family: 'Courier New', Courier, monospace;
}
*::first-letter {
text-transform: uppercase;
}
.header-title-name::first-letter {
text-transform: lowercase!important;
}
body {
:root {
--colors-one: #d6e685;
--colors-two: #8cc665;
--colors-three: #44a340;
--colors-four: #1e6823;
}
@media (prefers-color-scheme: dark) {
:root {
--colors-text: var(--colors-white);