Skip to content

Instantly share code, notes, and snippets.

@josh-hernandez-exe
josh-hernandez-exe / Dual-Type-Chart.md
Last active November 29, 2022 19:21
Coromon Multi-Type Chart Generation

|DEF Type 1 / DEF Type 2 \ ATK Type | Normal|50 | Electric|50 | Ghost|50 | Sand|50 | Fire|50 | Ice|50 | Water|50 | Magic|50 | Foul|50 | Heavy|50 | Air|50 | Poison|50 | Cut|50 | Dark Magic|50| | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :

@josh-hernandez-exe
josh-hernandez-exe / 25_nodes.ipynb
Created April 30, 2021 09:29
SciPy based Spare Matrix Implementation of PageRank
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@josh-hernandez-exe
josh-hernandez-exe / discussion-05.ipynb
Created December 2, 2020 20:33
625.603 Discussion Assignment 5 - Python/R/MATLAB/Julia
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@josh-hernandez-exe
josh-hernandez-exe / ex-3-9-17.ipynb
Last active October 5, 2020 18:14
625.603 Discussion Assignment 3
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@josh-hernandez-exe
josh-hernandez-exe / ex-3-3-2.ipynb
Last active September 19, 2020 22:28
625.603 Discussion Assignment 2
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@josh-hernandez-exe
josh-hernandez-exe / genral_mpr.ipynb
Last active September 19, 2020 21:39
Move Point Refresh (MPR) Analysis for Pokemon Masters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@josh-hernandez-exe
josh-hernandez-exe / phantom_force.ipynb
Last active September 17, 2020 05:34
Pokemon Masters Morty and Drifblim analysis on Phantom Force usage
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@josh-hernandez-exe
josh-hernandez-exe / jsonequals.py
Last active January 8, 2019 20:32
Test if two json dicts are equal.
def _get_json_iterator(json):
if isinstance(json, dict):
return json.keys()
elif isinstance(json, list):
return range(len(json))
else:
raise Exception()
def is_json_equal(json_a, json_b):
if json_a is json_b:
@josh-hernandez-exe
josh-hernandez-exe / CombinatoricEnumeration.cs
Last active April 20, 2018 17:22
Combinatoric Enumeration in C# Based of `itertools` model from python
using System.Linq;
using System.Collections.Generic;
namespace Combinatoric.Enumeration
{
public static class CombinatoricEnumeration
{
// https://docs.python.org/2/library/itertools.html#itertools.combinations
public static IEnumerable<List<T>> Combinations<T>(this IEnumerable<T> items, int r)
{