Skip to content

Instantly share code, notes, and snippets.

<prototype name="microcorruption" extrapop="2" stackshift="2">
<input>
<pentry maxsize="2" minsize="1">
<register name="R15"/>
</pentry>
<pentry maxsize="2" minsize="1">
<register name="R14"/>
</pentry>
<pentry maxsize="2" minsize="1">
<register name="R13"/>
@tslater2006
tslater2006 / TI_MSP430.cspec
Created March 25, 2019 15:32
Added GCC convention and __interupt convention for MicroCorruption <INT> call
<?xml version="1.0" encoding="UTF-8"?>
<compiler_spec>
<global>
<range space="RAM"/>
</global>
<stackpointer register="SP" space="RAM"/>
<default_proto>
<prototype name="__stdcall" extrapop="2" stackshift="2">
<input>
<pentry maxsize="2" minsize="1">
@tslater2006
tslater2006 / config.json
Created August 2, 2019 01:01
Sample Pivet Config
{
"Environments": [
{
"Name": "MyEnvironment",
"Connection": {
"Provider": "Bootstrap",
"TNS": "DBNAME",
"TNS_ADMIN": "C:\\app\\oracle\\product\\12.2.0\\client_1\\network\\admin",
"Schema": "SYSADM",
"BootstrapParameters": {
11,(temp) -> Set Grill Temp
11,-01 / 19 -> Cancel Grill Temp
12,(seconds formatted as 5 numbers) -> Set Timer
12,07920 -> Set Timer for 2 hours and 12 minutes
13 -> Cancel Timer
14,(temp) -> Set Probe Temp
15 -> Cancel Probe Temp
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
namespace AdventOfCode.Utilities
{
class ElfImage
{
public List<int[,]> Layers = new List<int[,]>();
using AdventOfCode.Utilities;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
namespace AdventOfCode.Solutions.Year2019 {
#################################################################################
#.#.....#.........#...S.#...............#...............#.......#.....#.........#
#.#.#.###.#.#####.#.###.#.###########.#.#.###.###########.###.#E#.###.#.#.#######
#...#.....#.#...#.#.#.#.#.#.........#.#.#...#.#...#.....#...#.#.#...#...#.#.....#
#.#########.#.#.###.#.#.###.#######I###.#.#.#.#.#.#.###.###.#.#.#.#.#####.#.###.#
#.#.......#...#...#s#.#.#...#.#.....#...#.#.#.#.#.#.#.#...#.#.#.#.#...#.U.#...#.#
#.#R#####.#######.#.#.#.#.###.#.#####.#.#.#.###.#.#.#B#.#.#.#.#.#####.#.#####.#.#
#.#.#...#.#.....#...#.#..i....#n#.....#.#.#.....#.....#.#.#.#.#.......#.#.....#.#
#.#.###.#.#.#.#.#####.#######.#.#.#.###.#.#############.###.#.###.#####.#.#####.#
#.#..l..#.#.#.#.#.......#...#.#.#.#.#.#.#...#.....#.#...#...#.#...#...#.#.....#w#
s<->i = 16
s<->n = 38
s<->l = 114
s<->w = 740
s<->c = 608
s<->r = 776
s<->g = 50
s<->o = 58
s<->v = 158
s<->j = 74
s<->i = S,
s<->n = I, S,
s<->l = R, W,
s<->w = F, K, P, V, W,
s<->c = K, P, W,
s<->r = F, G, K, P, V, W,
s<->o = I, N, S,
s<->v = K, P, W,
s<->j = I, N, O, S,
s<->q = D, H, K, P, W,
@tslater2006
tslater2006 / Day 22
Last active December 22, 2019 09:01
using AdventOfCode.Utilities;
using System;
using System.Linq;
using System.Numerics;
namespace AdventOfCode.Solutions.Year2019 {
class Day22 : ASolution {
public Day22() : base(22, 2019, "") {