Skip to content

Instantly share code, notes, and snippets.

@microaeris
microaeris / cat_thief.html
Last active February 27, 2022 12:16
Fungi ASCII Art
<span class='start'></span><span class='color4'>
_______________
| |
| STOP THIEF‼ &gt;
</span><span class='color6'> _ </span><span class='color4'>|_______________|
</span><span class='color6'>{+} </span><span class='color10'>____
</span><span class='color6'>{+} </span><span class='color4'>V </span><span class='color6'>{+} </span><span class='color10'>________\___\
</span><span class='color2'>|#=#===#== </span><span class='color10'>\ _ / </span><span class='color2'>______</span><span class='color10'>\
</span><span class='color2'>|=#=#=#=#=░ </span><span class='color10'>\ ° </span><span class='color2'>( </span><span class='color4'>O </span><span class='color10'>_</span><span class='color4'>O</span><span class='color10'></span><span class='color2'>)</span><span class='color10'>' </span><span cl
@microaeris
microaeris / lithium_ion_batteries.md
Last active December 11, 2021 03:17
Lithium Ion Batteries

Lithium-Ion Batteries

A Guide to Understanding Battery Specifications

http://web.mit.edu/evt/summary_battery_specifications.pdf

A battery is a device that converts chemical energy into electrical energy and vice versa.

A battery's capacity is rated in amp-hours (Ah). For example, a battery with 100 Amp-hours can provide 100 amps of current for one hour.

The capacity can drop over time.

@microaeris
microaeris / harvest_moon_gb_font.c
Last active July 17, 2017 00:16
Harvest Moon Game Boy Font Tiles
/*
FONT.C
Tile Source File. Font copied from Harvest Moon GBC 2.
Sprite Sheet: https://www.spriters-resource.com/game_boy_gbc/harvestmoongbc2/sheet/68590/
Info:
Form : All tiles as one unit.
Tile size : 8 x 8
@microaeris
microaeris / Anaconda.sublime-settings
Last active April 19, 2017 05:15
ESW Anaconda Sublime Settings
/*
Anaconda default settings
*/
{
/*
Anaconda Tooltip Options
Sublime Text 3 supports tooltips since build 3070; if anaconda
runs in a ST3 installation equal to or newer than build 3070, it
can be configured to show tooltips for documentation and signatures.
# 3DS Hacking Notes
ARM11 is a group of 32-bit RISC ARM processor cores licensed by ARM Holdings.
https://www.reddit.com/r/3dshacks/comments/5kxhvm/psa_a_quick_reminder_on_layers_of_3ds_security/?st=IXCW4OS7&sh=12d494ae
A dual- or quad-core Arm11 CPU with half-decent usermode sandboxing
A single-core Arm9 CPU that handles all system-critical processes, with no separation between User and Kernel mode
Arm11 Userland, where all the games and apps run, with their own sets of privileges.
Arm11 Kernel, which gives unlimited access to much, but not all of the software features, and some hardware.
{
"auto_complete_triggers": [{"selector": "source.python - string - comment- constant.numeric", "characters": "."}],
"complete_parameters": true,
"enable_signatures_tooltip": true,
"merge_signatures_and_doc": true,
"anaconda_linting_behaviour": "save-only",
"pep8_ignore":
[
"E501"
]
#!/usr/bin/perl
#-----------------------------------------------------------------------------
#
# Copyright (C) 2011
# Michael Theall (mtheall)
# Dave Murphy (WinterMute)
#
# This software is provided 'as-is', without any express or implied
# warranty. In no event will the authors be held liable for any
# damages arising from the use of this software.
import java.util.*;
/**
* CryptoEquivalence is defined by two words having a
* character mapping where the characters in one word
* can singularly map to the character of the same index
* of the second word without a conflict.
*
* book -> room GOOD
* book -> roam BAD (o maps to both o and a)
class Node {
public String value;
public LinkedList<Node> children;
public Node(String value, LinkedList<Node> children) {
this.value = value;
this.children = children != null ? children : new LinkedList<Node>();
}
}