Skip to content

Instantly share code, notes, and snippets.

View ASoldo's full-sized avatar
🌞
Rise and Grind

Rootster ASoldo

🌞
Rise and Grind
View GitHub Profile
@DavideMontersino
DavideMontersino / private-fork.md
Last active February 27, 2024 12:56
How to fork to a private gitlab instance

Theory:

your git repository can have more than one remote server; In this case we want to have two:

  1. one for our private repository on gitlab (will be the default one, called origin)
  2. one to be connected to the source repo on github, to be able to pull new changes (will be called upstream)

How to make a private fork from github to gitlab

@doofy-dev
doofy-dev / flipper_pixels.c
Created November 14, 2022 13:11
Read and write pixels for Flipper zero
typedef enum {
Black,
White,
Inverse
} DrawMode;
unsigned flipBit(uint8_t x, uint8_t bit) {
return x ^ (1 << bit);
}