Skip to content

Instantly share code, notes, and snippets.

View triplrrr's full-sized avatar
🏢
Working Hard Every Day

Ramiro Rocha triplrrr

🏢
Working Hard Every Day
View GitHub Profile
@triplrrr
triplrrr / kruskal.py
Created November 5, 2020 19:40
Script that generates a solvable maze using Kruskal's algorithm
#!/usr/bin/python3
# Usage:
# python3 kruskal.py [WIDTH] [HEIGHT]
# If neither WIDTH nor HEIGHT is provided, a default width and height of 8 is used.
# If only WIDTH is provided, it is ued for both width and height. Extra arguments
# are ignored.
import sys
from random import choice
@triplrrr
triplrrr / Windows Ricing Guide.md
Last active April 22, 2024 14:28
Windows Ricing Kit 2020

Ricing Windows in 2020

Many people like their things to look nice. I am one of those people. I like things to look nice all the time. One of the things I like to look nice is my PC's desktop. I have to look at it constantly, so it might as well be pretty.

What is 'ricing?'

Ricing is the term used to describe the process of making a desktop environment look nice. This usually involves at least several steps, including installing a window manager, a theme, custom icons, and making the terminal look nice. Windows, however isn't meant to have every single part of it tweaked and customized, so we have to make some concessions.

Note that many ricers think that ricing is about making their computer more efficient for their workflow. I disagree. I believe that improved workflow is a sideeffect of good aesthetic, and my personal aesthetic is based in functionality. Also cyberpunk.

What does this guide include?

This guide aims to be a resource for entry level ricers to ricing their Windows 10 environment.

@triplrrr
triplrrr / settings.json
Created September 30, 2020 16:24
My personal settings for Windows Terminal (https://github.com/microsoft/terminal)
// This file was initially generated by Windows Terminal 1.3.2651.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
@triplrrr
triplrrr / dice-parser.py
Last active May 4, 2020 18:21
i rewrote the code from https://gist.github.com/ryands/1340998 and added roll dropping functionality
import random
import re
import sys
from exceptions import ValueError
def roll(sides):
""" Roll a (sides) sided die and return the value. 1 <= N <= sides """
return random.randint(1,sides)

Keybase proof

I hereby claim:

  • I am triplrrr on github.
  • I am triplrrr (https://keybase.io/triplrrr) on keybase.
  • I have a public key ASDhShndNnEQ4zufAtVa9lA88wgtiqSWxrRd__qOnZYX8go

To claim this, I am signing this object: