Skip to content

Instantly share code, notes, and snippets.

View CorruptComputer's full-sized avatar
🏠
Working from home

Nickolas Gupton CorruptComputer

🏠
Working from home
View GitHub Profile
@CorruptComputer
CorruptComputer / Life.java
Last active June 6, 2017 16:22
The Game of Life
package life;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Random;
import javax.swing.JButton;
@CorruptComputer
CorruptComputer / Beepsky TODO.txt
Last active September 9, 2018 03:41
Beepsky TODO
Time links.
DB for saving data between reboots.
Server settings
Namecolor setting
Enable/Disable commands.
Ban users from using the bot.
User Settings
???
Global Settings
Bans
@CorruptComputer
CorruptComputer / index.html
Last active September 24, 2018 02:37
OBS: Google Play Desktop Music Player Integration
<html>
<head>
<script>
document.addEventListener('DOMContentLoaded', function () {
setInterval(function () {
fetch('playback.json').then(response => response.json()).then( function(data) {
//console.log(data);
document.getElementById('image').src = data["song"]["albumArt"];
document.getElementById('song').textContent = data["song"]["title"].substring(0, 50);
document.getElementById('artist').textContent = data["song"]["artist"].substring(0, 50);
@CorruptComputer
CorruptComputer / readme.md
Last active December 8, 2020 03:07
How to setup and use Git/GitHub on Windows

This guide uses TortoiseGit. While there are other programs out there, this one is very beginner friendly. This guide is for Windows only.

Some videos that are recommended watching for any Git user:

Step 1 - Install Git

@CorruptComputer
CorruptComputer / Steam Runtime Diagnostics
Last active April 15, 2024 05:20
My main PC, Ryzen 7 3800X and AMD Radeon RX 6700 XT
"LD_* scout runtime" information:
{
"steam-runtime-system-info" : {
"version" : "0.20240321.0+srt1",
"path" : "/home/ngupton/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-system-info"
},
"can-write-uinput" : true,
"steam-installation" : {
"path" : "/home/ngupton/.local/share/Steam",
@CorruptComputer
CorruptComputer / .bashrc
Last active July 23, 2023 15:04
Custom Bash Prompt
################################################################################
## FUNCTIONS FOR PROMPT ##
################################################################################
bash_prompt_command() {
# How many characters of the $PWD should be kept
local pwdmaxlen=25
# Indicate that there has been dir truncation
local trunc_symbol=".."
@CorruptComputer
CorruptComputer / Steam System Info - armadillo
Last active May 11, 2022 13:38
My laptop, AMD Ryzen 5 5500U with Radeon Graphics
Computer Information:
Manufacturer: LENOVO
Model: LNVNB161216
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 5 5500U with Radeon Graphics
CPU Family: 0x17