Skip to content

Instantly share code, notes, and snippets.

View RoseAndres's full-sized avatar

Dre Rosales RoseAndres

View GitHub Profile
@RoseAndres
RoseAndres / dice-faceoffs.rb
Last active October 16, 2023 21:53
Create a die-definition by creating an array containing a value for each side of the die. Can be used to generate statistical tables for personal use like https://docs.google.com/spreadsheets/d/1diclXxKa3jpCFKu91dWspjao72d_lEbHyT02spjRVQI/edit?usp=sharing
# d3 from the game 'Bord'
bd3 = [0, 1, 10]
# standard d3 & d6
d3 = [1,2,3]
d6 = [1,2,3,4,5,6]
# generates all possible totals for a given number of a given die-definition
def gen_totals(die, num_dice)
gen_totals_helper(die, num_dice, [])
@RoseAndres
RoseAndres / readme.txt
Created July 8, 2023 17:55
Core Exodus (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@RoseAndres
RoseAndres / readme.txt
Created June 12, 2023 21:13
Core Exodus (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@RoseAndres
RoseAndres / test_mailer.rb
Last active May 23, 2022 21:05
Easy TestMailer for verifying SMTP settings via rails console
# You can either paste all of the code below directly into a rails console session (if you only plan on needing to test
# this once or twice), or put the TestMailer class in a directory that would get autoloaded so that you can use it via
# line 17 at will.
class TestMailer < ApplicationMailer
def send_email
mail(
to: "ex@mple.com",
subject: "test smtp service",
body: "this is a test",

Keybase proof

I hereby claim:

  • I am roseandres on github.
  • I am skelteon (https://keybase.io/skelteon) on keybase.
  • I have a public key ASC8pnPBcgbQq-IIt_JW2skKLPXs0bOFBY2emUDDK9tRXwo

To claim this, I am signing this object:

@RoseAndres
RoseAndres / readme.txt
Created February 6, 2019 07:27
Untitled PuzzleScript Script
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@RoseAndres
RoseAndres / readme.txt
Created February 6, 2019 07:26
Movement Puzzle Game (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html