Skip to content

Instantly share code, notes, and snippets.

View KevinTyrrell's full-sized avatar
🎯
Focusing

Kevin Tyrrell KevinTyrrell

🎯
Focusing
  • San Jose, California
View GitHub Profile
@KevinTyrrell
KevinTyrrell / $output.txt
Last active August 20, 2024 01:13
Information regarding Ocarina of Time & Majora's Mask songs in regards to which button combinations unlock access to which songs. This is relevant in randomizers like the Ocarina of Time+MM Randomizer where you are able to unlock Ocarina note buttons progressively (see: https://ootmm.com/).
== Song Note Breakdown ==
[10] Songs Require [A]: Sonata of Awakening, Goron Lullaby, Bolero of Fire, Serenade of Water, Song of Storms, Oath to Order, Minuet of Forest, Nocturne of Shadow, Song of Time, Requiem of Spirit
[13] Songs Require [LEFT]: Sonata of Awakening, Goron Lullaby, Serenade of Water, Saria's Song, Song of Soaring, Song of Healing, Zelda's Lullaby, Prelude of Light, Epona's Song, New Wave Bossa Nova, Minuet of Forest, Elegy of Emptiness, Nocturne of Shadow
[17] Songs Require [RIGHT]: Sun's Song, Sonata of Awakening, Goron Lullaby, Bolero of Fire, Serenade of Water, Saria's Song, Song of Healing, Zelda's Lullaby, Prelude of Light, Epona's Song, New Wave Bossa Nova, Oath to Order, Minuet of Forest, Elegy of Emptiness, Nocturne of Shadow, Song of Time, Requiem of Spirit
[13] Songs Require [DOWN]: Sun's Song, Bolero of Fire, Serenade of Water, Saria's Song, Song of Soaring, Song of Healing, New Wave Bossa Nova, Song of Storms, Oath to Order, Elegy of Emptiness, Nocturne of Shadow, Song of Time,
@KevinTyrrell
KevinTyrrell / sm.sh
Created February 29, 2024 18:24
A safer alternative to 'rm' in Bash. Moves files to your Recycle Bin (/recycle) in \$HOME. Removes files through 'rm' once they have expired.
#!/bin/bash
# A safer alternative to 'rm' in Bash
# Copyright (C) 2024 Kevin Tyrrell
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
public class B
{
public static List<B> transform(List<A> as)
{
try
{
return as.stream()
.map(a ->
{
if (a.nope()) throw new Exception();
```
[admin@LenovoUltrabookU530Touch FishingBot]$ git status
On branch master
Your branch is up to date with 'origin/master'.
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
new file: FishingBot.iml
renamed: src/Style.css -> resources/css/main-window.css
-- Picks up an item in the inventory, if present.
-- name - (string) name of the item in the inventory.
function r_pick_up(name)
local bag, slot = r_find_item(name)
if bag then
PickupContainerItem(bag, slot)
end
end
import java.util.Scanner;
public class test {
public static void main(String [] nameqn3) throws Exception
{
Scanner console = new Scanner (System.in);
String answer;
char intAns;
public class Creature implements Cloneable
{
static class Hero extends Creature
{
public Hero(final int HP, final boolean markedForDeath)
{
super(HP, markedForDeath);
}
public Hero(final int HP)
final String[][] clothing = new String[][] {
{ "Cap", "Bandana" },
{ "Vest", "Blazer", "T-Shirt" },
{ "Jeans", "Shorts" },
{ "Shoes" }
};
int permutations = 1;
for (final String[] i : clothing)
permutations *= i.length;
import java.util.Arrays;
public class Combinatorics
{
public static void main(String[] args)
{
final String[][] champs = new String[][] {
{ "Support#1", "Support#2", "Support#3" },
{ "Bruiser#1" },
{ "ADC#1", "ADC#2" }
import java.io.Serializable;
/**
* Project: SecretValues
* Author: User
* Created: May 17, 2017
*/
public final class SecretInteger implements SecretValue<Integer>,
Cloneable, Comparable<SecretInteger>, Serializable
{