Skip to content

Instantly share code, notes, and snippets.

View joegiralt's full-sized avatar
💣
:p

Joseph Giralt joegiralt

💣
:p
View GitHub Profile

Keybase proof

I hereby claim:

  • I am joegiralt on github.
  • I am proletariat (https://keybase.io/proletariat) on keybase.
  • I have a public key whose fingerprint is 2CC1 4759 33E4 3F97 506E 4362 166B 9E35 49A5 A093

To claim this, I am signing this object:

require 'set'
class Board
attr_accessor :rows, :columns, :grids, :puzzle, :completed_set
COL_LOOKUP = {a: 0, b: 1, c: 2, d:3, e: 4, f:5, g:6, h:7, i:8 }
GRID_LOOKUP = {
[:a,1] => 1,
[:a,2] => 1,
[:a,3] => 1,
@joegiralt
joegiralt / Kabo
Created November 30, 2018 22:22
Char sheet
# Kabo (Son of Tell)
## High Elf Wizard (Blade Singer)
Background: Criminal
Alignment: True Neutral
Age: 100
Height: 5'6
Weight: 135lbs
Size: Medium
Speed: 30ft (40ft) in bladesong
class NataliasPhoneNumberSolver
attr_reader :init_number
attr_accessor :unique_dials, :current_unique_dial
# 1,2,3
# 4,5,6
# 7,8,9
# 0
@joegiralt
joegiralt / volcadrum.cki
Created July 25, 2019 18:07
Volca Drum Instrument Definition
{
"instrument_data": {
"VolcaDrm": {
"midi_port": 1,
"midi_chan": 1,
"multi": true,
"no_xpose": true,
"no_fts": true,
"no_thru": true,
"track_values": {
@joegiralt
joegiralt / findParenPosition.js
Created October 25, 2019 05:11
interview prep 1.
// I like parentheticals (a lot).
// "Sometimes (when I nest them (my parentheticals) too much (like this (and this))) they get confusing."
// Write a function that, given a sentence like the one above, along with the position of an opening parenthesis, finds the corresponding closing parenthesis.
// Example: if the example string above is input with the number 10 (position of the first parenthesis), the output should be 79 (position of the last parenthesis).
const findParenPosition = (string, pos) => {
https://repl.it/repls/MoralThankfulIntercept