This is explaining stuff relevant to AOC 2021 day 6
First lets do fibonacci numbers because it's smaller (2x2 matrix instead of 9x9) and it's familiar ground.
So you can implement fibs like this:
def fib(n):
| main { | |
| width: 100%; | |
| padding: 15px; | |
| } | |
| .catalogue-item { | |
| border: 1px solid #e5e5e5; | |
| color: #555; | |
| display: block; | |
| padding: 2rem 0; |
Let's say contributor has submitted a pull request to your (author) project (repo). They have made changes on their
branch feature and have proposed to merge this into origin/master, where
origin -> https://github.com/author/repo.gitNow say you would like to make commits to their PR and push those changes. First, add their fork as a remote called
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <unistd.h> | |
| // Build: | |
| // gcc -gdwarf-4 -fcf-protection=none -no-pie -fno-stack-protector basicbof.c -o basicbof | |
| // To give us a pop rdi gadget | |
| void dosomething() { | |
| int x = 0xc35f; |