{{ message }}

Instantly share code, notes, and snippets.

🔒
crypto(graphy) rules

# Ryo Kajiwarasylph01

🔒
crypto(graphy) rules
Created Sep 13, 2018
Muldrotha the Gravetide ver0.1
View muldrotha.txt
 # Lands 36 Command Tower Misty Rainforest Verdant Catacombs Polluted Delta Breeding Pool Watery Grave Overgrown Tomb Woodland Cemetery Hinterland Harbor
Created Jun 2, 2017
View keybase.md

### Keybase proof

I hereby claim:

• I am sylph01 on github.
• I am s01 (https://keybase.io/s01) on keybase.
• I have a public key ASB52b64K9guFgDtc70icP9FvkNoxFumhTa_6XMvw-VMIQo

To claim this, I am signing this object:

Last active May 26, 2017
Addition/Subtraction of Erlang Date with built-in functions only
View date_arith.ex
 defmodule DateArith do def next_month({y, 12, d}), do: {y + 1, 1, d} def next_month({y, m, d}), do: {y, m + 1, d} def previous_month({y, 1, d}), do: {y - 1, 12, d} def previous_month({y, m, d}), do: {y, m - 1, d} def add_month({y, m, d}, ms) do { y + div(m + ms - 1, 12),
Created Mar 27, 2017
LaTeX template for most of my stuff
View template.tex
 \documentclass[11pt,a4paper]{jarticle} %%%% settings %%%% \usepackage{algorithmic} \usepackage{listings,jlisting} % lstlisting setting % number - line number of codes \lstset{ language={ruby},
Created Feb 4, 2017
View yhpg_e11.rb
 class Node attr_accessor :val, :children, :parent, :index def self.divisors(n) (1..Math.sqrt(n).ceil).flat_map { |x| if n/x == n.to_f/x then [x, n/x] else nil end}.uniq.reject(&:nil?).sort end def child_values self.class.divisors(@val).map{ |x| x + 1 }.select { |x| x > 2 && x < @val } end
Created Dec 6, 2016
View e10_input_samples
 X,5 O,4 OX,10 OO,12 OXX,21 OXO,18 OOX,30 OOO,28 OXXX,81 OXXO,29
Created Dec 6, 2016