Skip to content

Instantly share code, notes, and snippets.

View Bigcheese's full-sized avatar

Michael Spencer Bigcheese

View GitHub Profile
@Bigcheese
Bigcheese / README.md
Last active June 9, 2022 03:41
/r/MyLittlePony /r/place minimap script!

Help /r/MyLittlePony get a pony on /r/place!

example of the /r/mylittlepony overlay

Instructions

  • Use a Chromium based browser (Google Chrome, Edge, Opera, Yandex.Browser)
  • Android folks can use Kiwi Browser + Tampermonkey.
106 54 34
54 34 14 2
14 2 131 121
2 131 121
131 121 105 53
105 53 31 10
53 31 10 1
31 10 1 19
10 1 19 110
1 19 110 18
@Bigcheese
Bigcheese / build.ninja
Created March 3, 2017 07:10
using clang for mbed with arm gcc embedded.
ninja_required_version = 1.3
root = .
builddir = build
#cxx = ../gcc-arm-none/bin/arm-none-eabi-g++ -v
cxx = clang++ -target arm-none-eabi -I../gcc-arm-none\bin\../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/include/c++/6.3.1 -I../gcc-arm-none\bin\../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/include/c++/6.3.1/arm-none-eabi/thumb/v7e-m -I../gcc-arm-none\bin\../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/include/c++/6.3.1/backward -I../gcc-arm-none\bin\../lib/gcc/arm-none-eabi/6.3.1/include -I../gcc-arm-none\bin\../lib/gcc/arm-none-eabi/6.3.1/include-fixed -I../gcc-arm-none\bin\../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/include
ld = ../gcc-arm-none/bin/arm-none-eabi-gcc
objcopy = ../gcc-arm-none/bin/arm-none-eabi-objcopy
cxxflags = -fshort-enums -std=gnu++98 -fno-rtti -Wvla -c -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -fmessage-length=0 -fno-exceptions -fno-builtin -ffunction-sections -fdata-sections -funsigned-char -fno-delete-null-pointe
int main() {
int b = 42;
int *p = &b;
{
int a = 1;
p = &a;
}
return *p;
}
@Bigcheese
Bigcheese / 3.3-3.4.diff
Created July 27, 2016 20:01
mlpccg rules diff
--- rules3.3.txt 2016-07-27 12:58:41.490526400 -0700
+++ rules3.4.txt 2016-07-27 12:58:55.198486900 -0700
@@ -179 +179 @@
-o (201.3) Text can refer to characters by their Title alone.
+o (201.3) Text can refer to cards by their Title alone.
@@ -287,4 +287,4 @@
-o (401.1) Cards can be in any one of seven zones: Draw Deck, Problem Deck,
-Hand, Play Zone, Discard Pile, Banished Zone, and Queue Zone. A given card
-always exists in a distinct zone, and never exists in more than one zone at a
-time or ‘between’ zones.
@Bigcheese
Bigcheese / rules3.2-3.3.diff
Created June 13, 2016 20:42
MLPCCG rules changes from 3.2 to 3.3
--- rules3.2.txt 2016-06-13 13:37:52.180208900 -0700
+++ rules3.3.txt 2016-06-13 13:36:38.248943100 -0700
@@ -57,10 +57,11 @@
517. Points
518. Searching
519. Counters
520. Copying
521. Tokens
+522. Dilemmas
6. Turn Sequence
--- rules3.1.txt 2016-04-04 17:40:04.373071100 -0700
+++ rules3.2.txt 2016-04-04 17:40:20.901982700 -0700
@@ -216,7 +216,6 @@
 Resource
• (207) Traits
o (207.1) Traits include all text listed on the Traitline under a card’s art.
-Problems do not have Traits.
 (207.1a) A card can have multiple Traits. These traits are separated by
a “•”
 (207.1b)Some traits have icons associated with them; these traits may
@Bigcheese
Bigcheese / rules3.0-3.1.diff
Created November 21, 2015 11:45
MLPCCG rules diff
--- rules3.0.txt 2015-11-21 03:40:40.250947700 -0800
+++ rules3.1.txt 2015-11-21 03:40:43.409056500 -0800
@@ -60,0 +61 @@
+521. Tokens
@@ -147 +148 @@
- (104.2a) If an occurrence can’t happen, any cost involving that
+ (104.2a) If an occurrence can’t happen, any cost requiring that
@@ -150 +150,0 @@
- (104.2b) Players can’t choose to do something that can’t be done.
@@ -158,2 +158,2 @@
llvm-mc -filetype=obj -triple x86_64-linux -o uw-0.o uw-0.s
llvm-mc -filetype=obj -triple x86_64-linux -o uw-1.o uw-1.s
llvm-mc -filetype=obj -triple x86_64-linux -o uw-2.o uw-2.s
llvm-ar cr uw1.a uw-1.o
llvm-ar cr uw2.a uw-2.o
ld -o uw uw-0.o --start-group uw1.a uw2.a --end-group
ld.lld2 -o uw uw-0.o --start-group uw1.a uw2.a --end-group
@Bigcheese
Bigcheese / rules3.0.diff
Created August 28, 2015 23:50
MLPCCG Rules 3.0 Changes
--- ../../mlpccg/rules2.4.txt Fri Aug 28 16:37:04 2015
+++ ../../mlpccg/rules3.0.txt Fri Aug 28 16:37:05 2015
@@ -122,6 +122,7 @@
begins.
 (102.4a) To mulligan, a player shuffles their hand into their draw deck,
then puts the top 6 cards of their draw deck into their hand.
+o (102.5) Once any mulligans have been completed, the game starts.
• (103) Winning and Losing
o (103.1) As a player wins the game, the game ends immediately and no further
actions are performed. This can happen at any time, including during PrePriority