Skip to content

Instantly share code, notes, and snippets.

@felixdollack
felixdollack / SketchSystems.spec
Last active April 3, 2025 12:05 — forked from rgraves-aspiration/SketchSystems.spec
Aspiration App Logic
Aspiration App Logic
open app from home screen -> Has User Previously Logged In?
Logged Out Flow
Has User Previously Logged In?
yes -> Is Device Authentication Set Up?
no -> App Welcome Screen
App Welcome Screen
tap login -> Is Device Authentication Set Up?

Things I believe

This is a collection of the things I believe about software development. I have worked for years building backend and data processing systems, so read the below within that context.

Agree? Disagree? Feel free to let me know at @JanStette. See also my blog at www.janvsmachine.net.

Fundamentals

Keep it simple, stupid. You ain't gonna need it.

@felixdollack
felixdollack / README.md
Created April 6, 2022 05:09 — forked from anson-vandoren/README.md
Flask-RESTPlus with Nginx reverse proxy on Docker

This setup does not require the "Flask snippet #35" solution that is most often given for flask-restplus answers to this question.

Using the "snippet 35" solution means that the "Try it!" commands from the SwaggerUI display the wrong endpoint, which adds confusion to others looking at your documentation.

@felixdollack
felixdollack / .gitignore
Created March 15, 2021 02:55 — forked from bjodah/.gitignore
pass_pycallback
_myclib.cpp
_myclib.so
build/
cython_debug/
@felixdollack
felixdollack / readme.md
Created March 10, 2021 14:14 — forked from mowings/readme.md
ffmpeg stream and save video from Dahua 4300s IP Camera

Use ffmpeg to stream video from a dahua 4300s to a file or files

You can use ffmpeg to directly pull frames off of a dahua 4300s at full resolution. May be a good alternative to pricey dvrs which likely cannot record at full resolution, may not work with the camera, or are prohibitevly expensive

Simple Stream to file

Simple stream to file. Full resolution

ffmpeg -loglevel debug -rtsp_transport tcp -i "rtsp://admin:admin@198.175.207.61:554/live" \

-c copy -map 0 foo.mp4

@felixdollack
felixdollack / MyIOContext.cpp
Created January 10, 2021 04:22 — forked from xlphs/MyIOContext.cpp
MyIOContext
#include <cstdio>
#include <string>
class MyIOContext {
public:
std::string datafile;
AVIOContext *ioCtx;
uint8_t *buffer; // internal buffer for ffmpeg
int bufferSize;
FILE *fh;
@felixdollack
felixdollack / latex2word
Created September 3, 2020 06:03
Convert a Latex document including bibliography to MS Word
# pip install pandoc
pandoc main.tex --bibliography=bibliography.bib -o main.docx