Skip to content

Instantly share code, notes, and snippets.

@yeppiidev
yeppiidev / sorting_algorithms.java
Created August 24, 2023 13:25
A visual demo of bubblesort and bogosort in Processing 3 (rename .java to .pde)
import processing.sound.*;
final int BUBBLE_SORT = 0;
final int BOGO_SORT = 1;
final int HIGHLIGHT_AREA = 2;
int[] nums;
int activeElem;
int ci, cj = 1;
@yeppiidev
yeppiidev / main.py
Created October 14, 2022 14:20
A simple Reddit Image Fetcher Program
# Copyright (c) 2022, yeppiidev
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
@yeppiidev
yeppiidev / Makefile
Last active October 14, 2022 14:25
A REPL-based language that somewhat works. Feel free to extend this to create your own language :)
# This makefile is made to run on Windows,
# you may need to modify it before running on Linux.
ifeq ($(OS),Windows_NT)
RM = del /Q /F
CP = copy /Y
ifdef ComSpec
SHELL := $(ComSpec)
endif
ifdef COMSPEC
<!DOCTYPE html>
<html>
<head>
<title>MyFirstGist</title>
<body>
<h1>
this is my first gist on github
</h1>
<marquee behaviour="scroll" direction="down">my first gist.<h1>some text...</h1></marquee>
</body>
<!DOCTYPE html>
<html>
<head>
<input type="submit"
name="x"
value="x">
</head>
</html>