Skip to content

Instantly share code, notes, and snippets.

View MoltenCoreDev's full-sized avatar

Michał Stachurski MoltenCoreDev

View GitHub Profile
@MoltenCoreDev
MoltenCoreDev / bubble.cpp
Created September 3, 2023 20:16
BubbleSort in c++, for testing in comp coding or smth
#include <iostream>
// Paste this at the top of the file
void bubbleSort(int* arr, int size);
// This at the bottom
void bubbleSort(int* arr, int size) {
for (int i = 0; i < size - 1; i++) {
for (int i = 0; i < size - 1; i++)
{
@MoltenCoreDev
MoltenCoreDev / go.json
Last active November 27, 2021 00:00
go.json
{
"name": "Go",
"version": "1.17",
"src": "https://go.dev/dl/go1.17.3.linux-amd64.tar.gz",
"cmd": [
"tar -xvzf /tmp/go.tar.gz -C /tmp",
"mkdir -p /tmp/gobins",
"mv /tmp/go/bin/go /tmp/gobins/",
"mv /tmp/go/bin/gofmt /tmp/gobins/"
]
yay -S nvidia nvidia-dkms nvidia-utils pipewire pipewire-media-session pipewire-pulse pipewire-jack pipewire-jack-dropin pipewire-alsa opendoas catia firefox-developer-edition xorg xorg-xinit i3-gaps discord jack-rack pro-audio neofetch jdk8-openjdk python python-pip minecraft-launcher uwufetch kitty lutris funkin-git wget