Skip to content

Instantly share code, notes, and snippets.


Marcel Kummer tanuva

View GitHub Profile
tanuva / smb.conf
Created Dec 9, 2018
My smb.conf with broken directory permissions from macOS clients.
View smb.conf
workgroup = DONTPANIC
server string = Samba Server
server role = standalone server
log file = /var/log/samba/log.%m
max log size = 50
# Needed for Time Machine
fruit:model = MacPro
View lwstest.cpp
#include <iostream>
#include <sstream>
#include <libwebsockets.h>
const size_t MaxFragmentSize = 65536;
const int MaxSendChunkSize = 32768;
lws_context *m_context;
lws *m_wsi;
bool abortConnection = false;
std::string m_hostName = "localhost";