- Surface Laptop 4 w/Microsoft Dock
- Dell 43" 16:9 4K monitor
- Das Keyboard 4 (numpad and mx cherry blue switches)
- Logitech M510
This file contains 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 kotlin.random.Random | |
/************************************************************ | |
* Name: Eric Gooler | |
* Date: 4/26/2023 | |
* Assignment: | |
* Class Number: CIS282 | |
* Description: | |
************************************************************/ | |
fun main() { | |
var numbers = List(200) { Random.nextInt(1, 101) } |
This file contains 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. Find and decode where your assigned desktop background is located | |
$TIC=(Get-ItemProperty 'HKCU:\Control Panel\Desktop' TranscodedImageCache -ErrorAction Stop).TranscodedImageCache | |
[System.Text.Encoding]::Unicode.GetString($TIC) -replace '(.+)([A-Z]:[0-9a-zA-Z\\])+','$2' | |
# 2. Open the file location in Explorer | |
# 3. Copy the image you wish to have as your BG into that directory | |
# 4. Copy the name of the assigned desktop background, then rename it to something like justInCase.jpg | |
# 5. Rename the new image as the old image |
This file contains 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
### | |
# | |
# Setup: This requires an 'emails.txt' file in this directory as well | |
# | |
# Simply run 'ruby main.rb' and wait | |
# | |
# You may run in to issues when attempting to grab more than 100 addresses without refactoring threading to pools | |
# | |
# n.b. you'll get bot banned, be careful | |
# |
This file contains 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
# Stop the container(s) using the following command: | |
docker-compose down | |
# Delete all containers using the following command: | |
docker rm -f $(docker ps -a -q) | |
# Delete all volumes using the following command: | |
docker volume rm $(docker volume ls -q) | |
# Restart the containers using the following command: |
This file contains 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
# ###################################################################################################################### | |
# The Monty Hall Problem # | |
# ######################## | |
# | |
# The Premise: | |
# Three identical boxes are presented to a player | |
# Two are duds, and one contains a prize | |
# The player chooses one box, having no idea of what it might contain. | |
# In this instance, each box has a 33.3% chance of being a winner, and a 66.6% chance of being a dud (RIP 0.1%) | |
# A moderator then removes one of the duds from play, leaving the players original choice, and one other box |
This file contains 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
# Make sure to change LOGIN to your user name | |
output = "gh issue create -a LOGIN " | |
args = [] | |
arglist = [ | |
['repo [OWNER/REPO]', '--repo'], | |
['title', '--title'], | |
['body', '--body'], | |
['label [bug, feature, etc] csv in string', '--label'], | |
['project', '--project'], |
This file contains 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
document.getElementById("numberInput").addEventListener("input", function (e) { | |
const numberArr = e.target.value.toString().split("."); // float as string, two values | |
if (numberArr.length > 1 && numberArr[1].length > 2) // checking 2nd value longer than 2, then assigning.. | |
e.target.value = parseFloat(numberArr[0] + "." + numberArr[1].substring(0,2)); // ..the correct value | |
}); |
This file contains 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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<!-- Required meta tags --> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<!-- Bootstrap CSS --> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> |
NewerOlder