This is a script that installs Docker
NOTE: This script does not add your user to the docker group, it simply installs Docker
This will not install Docker Compose, but there is a script that does that here.
You need to run the script as root.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <memory.h> | |
struct Vector { | |
int size; | |
uint8_t* offset; | |
}; | |
void vector_resize(struct Vector* vec, int newsize) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Color shades | |
* Shades shamelessly stolen from Tailwind CSS (https://github.com/tailwindlabs/tailwindcss/blob/master/src/public/colors.js) | |
* Auto generated using a JS script | |
* Usage: | |
background-color: var(--sky-50); | |
*/ | |
:root { | |
--black: #000; | |
--white: #fff; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <ftw.h> | |
#include <sys/stat.h> | |
#include <sys/dir.h> | |
#include <dirent.h> | |
void printbytes(char *filename, long l) | |
{ | |
printf("%s: ", filename); |