Skip to content

Instantly share code, notes, and snippets.

View NickelMattera's full-sized avatar
🌈
No pride for some of us without liberation for all of us.

Nickel Mattera (she/they) NickelMattera

🌈
No pride for some of us without liberation for all of us.
View GitHub Profile
@NickelMattera
NickelMattera / PrideFlagTrivia.md
Created June 28, 2024 12:49
Pride Flag Trivia
  • Q: The lesbian flag has gone through a few iterations. What symbol was on the first flag?
    • Double-headed Axe
  • Q: The ace flag has purple in it and the aro flag has green in it. What colors are in the aro-ace flag?
    • Blue, White, Yellow, Orange
  • Q: What symbol is used on the Intersex pride flag to symbolize wholeness and completeness?
    • Circle
  • Q: The white strip in the trans flag represents a few things. What is one of them?
    • Individuals in the process of transitioning, non-binary people, people who are agender, and intersex individuals
  • Q: Each color in the pride flag represents something. What is one of them?
  • Red: Life
@NickelMattera
NickelMattera / Switch-Update-Blocking.md
Created December 23, 2023 15:20
Switch Update Blocking

Switch Update Blocking

This is a simple guide to setting up a DNS Server to block all communications with Nintendo.

Setting up Ubuntu Server

For my server I will be installing Ubuntu Server LTS 18.04. Once you have it installed lets make sure that everything is up to date.

sudo apt-get update
@NickelMattera
NickelMattera / keybase.md
Created December 4, 2023 16:03
keybase.md

Keybase proof

I hereby claim:

  • I am nicholemattera on github.
  • I am nicholemattera (https://keybase.io/nicholemattera) on keybase.
  • I have a public key ASA7d4S0F1F82Yf7ojgqS6f_KF-hjD95G1V-tQfAyN7flAo

To claim this, I am signing this object:

@NickelMattera
NickelMattera / gist:a1775f559090cbba31cf63d0819dcb61
Last active November 11, 2023 18:31
Creating Perler Bead Name Tags

Instructions

The name tag itself is 12 beads wide and 8 beads tall. The person creating the name tag will need to choose between a single flag or two flags similar to my Ace/Enby name tag. If the individual wants to do two flags then the flags need to have the same number of bars.

Bar Heights

3 Bars

Bar Height
#include <stdio.h>
#include <switch.h>
#define INNER_HEAP_SIZE 0x80000
extern "C" {
extern u32 __start__;
u32 __nx_applet_type = AppletType_None;
@NickelMattera
NickelMattera / main.cpp
Created December 20, 2019 16:59
OAuth with the Switch Web Applet
#include <iostream>
#include <string>
#include <switch.h>
using namespace std;
int main() {
const char * GITHUB_AUTH_URL = "https://github.com/login/oauth/authorize?client_id=%PUT_CLIENT_ID_HERE%&scope=public_repo,read:packages,repo:status&allow_signup=false";
const char * CALLBACK_URL = "https://oauth.teamatlasnx.com/oauth/";
#include <iostream>
#include <fstream>
#include <switch.h>
#include <SimpleIniParser.hpp>
using namespace simpleIniParser;
using namespace std;
void doStuff1();
void doStuff2();
@NickelMattera
NickelMattera / emuMMC-Tutorial.md
Last active June 19, 2019 17:18
emuMMC Setup Tutorial

You are continuing at your own risk. I am not responsible for any harm that may happen to your device(s) or data by following this tutorial.

First off before anything you should expect to have issues. emuMMC is still in beta and is not perfect. It is recommended if you are not an advance user then you should wait for everything to be polished and released officially. This guide assumes you are using Linux. if you don't have Linux installed you can use a live CD, and if you don't know how to use Linux then it's recommended that you wait for Hekate. If you run into problems make sure to use the search box in Discord on either the Team AtlasNX or the ReSwitched servers. It's possible other people have ran into the same problem as you and it has been addressed. If your problem hasn't already been addressed then please do not ask in general or switch-hacking-meta rooms, instead use the support rooms.

  1. You will first want to create a ba
@NickelMattera
NickelMattera / main.c
Created June 29, 2018 18:21
Drawing to Framebuffer
#include <string.h>
#include <switch.h>
struct color {
u8 r, g, b, a;
};
uint8_t BlendColor(u32 src, u32 dst, u8 alpha);
void DrawRectangle(u32 x, u32 y, u32 width, u32 height, struct color clr);