Skip to content

Instantly share code, notes, and snippets.

@josh-hernandez-exe
josh-hernandez-exe / Dual-Type-Chart.md
Last active Nov 29, 2022
Coromon Multi-Type Chart Generation
View Dual-Type-Chart.md

|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 Apr 30, 2021
SciPy based Spare Matrix Implementation of PageRank
View 25_nodes.ipynb
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 Dec 2, 2020
625.603 Discussion Assignment 5 - Python/R/MATLAB/Julia
View discussion-05.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View f-distro-share.ipynb
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 Oct 5, 2020
625.603 Discussion Assignment 3
View ex-3-9-17.ipynb
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 Sep 19, 2020
625.603 Discussion Assignment 2
View ex-3-3-2.ipynb
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 Sep 19, 2020
Move Point Refresh (MPR) Analysis for Pokemon Masters
View genral_mpr.ipynb
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 Sep 17, 2020
Pokemon Masters Morty and Drifblim analysis on Phantom Force usage
View phantom_force.ipynb
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 Jan 8, 2019
Test if two json dicts are equal.
View jsonequals.py
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 Apr 20, 2018
Combinatoric Enumeration in C# Based of `itertools` model from python
View CombinatoricEnumeration.cs
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)
{