Skip to content

Instantly share code, notes, and snippets.

View sams96's full-sized avatar

Sam Smith sams96

View GitHub Profile
#include <stdio.h>
int main(){
int a = 29;
int b = 34;
int tot;
printf("A\tB\n");
#include <stdio.h>
#include <math.h>
int main(){
float a = 6;
float b = -5;
float c = -11;
float d = pow(b, 2) - (4 * a * c);
Workmans type
```
Q D R W B || J F U P tab
A S H T G || Y N E O I
Z X M C V || K L , . enter
ctrl supr esc _ _ shift alt spc bksp _ _ hyp
```
```
! @ { } | || pgup 7 8 9 *
#include <stdio.h>
#include <math.h>
double calcE(double m, double c) {
double e;
double c2;
c2 = pow(c, 2);
e = (m * c)/10;
return e;
}
set terminal epslatex size 13.5cm, 10cm
set output 'bifsample.tex'
set datafile separator ","
set nokey
set xrange [2.4:4.0]
set xlabel '$r$'
set ylabel '$x$'
@sams96
sams96 / docker-compose.yml
Created August 22, 2024 11:35
paperless-ngx docker compose file with scheduled rclone backup
# docker-compose file for running paperless from the Docker Hub.
# This file contains everything paperless needs to run.
# Paperless supports amd64, arm and arm64 hardware.
#
# All compose files of paperless configure paperless in the following way:
#
# - Paperless is (re)started on system boot, if it was running before shutdown.
# - Docker volumes for storing data are managed by Docker.
# - Folders for importing and exporting files are created in the same directory
# as this file and mounted to the correct folders inside the container.