Skip to content

Instantly share code, notes, and snippets.

View lfuelling's full-sized avatar
⚠️
thisisunsafe

Lerk lfuelling

⚠️
thisisunsafe
View GitHub Profile
@lfuelling
lfuelling / PRIVACY.md
Created February 10, 2024 17:47
Privacy statement for nutrition tracker app.

Privacy

This app does connect to the internet to fetch food data from Open Food Facts if the setting is enabled. When you import data from Open Food Facts, the privacy statement of Open Food Facts applies.

No data is uploaded by the app to any servers except the requests that have to be made to import food as mentioned above and iCloud data mentioned below.

Settings and food items on the device will be stored on the device and might get backed up to iCloud if this is configured in the users iCloud preferences.

This statement does not cover functionality that is provided by Apple (eg. the App Store analytics, crash reports, and iCloud functionality).

@lfuelling
lfuelling / PRIVACY.md
Created February 10, 2024 14:52
Privacy statement for Reed

Privacy

This app does connect to the internet to fetch RSS feeds. When you add a feed, the privacy statement of the feed publisher applies.

No data is uploaded by the app to any servers (except the requests that have to be made to download the feeds).

Settings on the device will be stored on the device and might get backed up to iCloud if this is configured in the users iCloud preferences.

This statement does not cover functionality that is provided by Apple (eg. the App Store analytics).

@lfuelling
lfuelling / distro
Created October 28, 2021 18:14 — forked from riptidewave93/distro
LibreNMS /usr/bin/distro script
#!/usr/bin/env sh
# Detects which OS and if it is Linux then it will detect which Linux Distribution.
OS=$(uname -s)
REV=$(uname -r)
#MACH=$(uname -m)
if [ "${OS}" = "SunOS" ] ; then
OS=Solaris
ARCH=$(uname -p)
@lfuelling
lfuelling / config
Created October 24, 2021 13:02
Jekyll NGINX Config
server {
listen 80;
listen [::]:80;
server_name example.com;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl http2;
@lfuelling
lfuelling / README.md
Last active February 11, 2024 20:30
Webstorm / IntelliJ Typescript React Arrow Function Template

Webstorm / IntelliJ Typescript React Arrow Function Template

This is a IntelliJ/WebStorm live template that can be used to easily create a new arrow function component.

How to use

  1. Go to the WebStorm/IntelliJ settings
  2. Open the Live Template editor
  3. Add a new template to the "React" section
  4. Add the contents of content.tsx to the content field
@lfuelling
lfuelling / DimensionLockingTableCell.tsx
Created June 20, 2021 17:27
If you use react-beautiful-dnd and are struggling with Atlassians prehistoric example code (wtf does @flow even mean, who still writes class components??) you might find this example component helpful. If you use this in a draggable row instead of td tags, this will make the table keep its dimensions when dragging.
import React, {FunctionComponent} from "react";
type TableCellProps = {
children: unknown
}
const DimensionLockingTableCell: FunctionComponent<TableCellProps> = ({children}) => {
const ref = React.useRef<HTMLTableDataCellElement>(null);
@lfuelling
lfuelling / PRIVACY.md
Created April 7, 2020 22:01
Data privacy statements for MeshTalk

Privacy

This app is a messenger and thus has to connect to the internet to send and receive messages. The content of each message is only tranferred encrypted. The server the messages are send to has no way of decrypting any messages in a reasonable amount of time because there are no cleartext keys stored on the server.

The only type of key stored on the server are chat keys in handshakes. Those are encrypted with a user's key which is never transferred at all so the server also has no way to decrypt those chat keys.

Since users can set their own server in the settings, the developers of the app can't make any statement regarding the transport layer encryption used to connect to the server.

Aside from that, this app does not connect to the internet or collect any data on it's own.

@lfuelling
lfuelling / PRIVACY.md
Created February 9, 2020 02:13
Generic Data Privacy Statement For Offline Apps On Google Play

Privacy

This app does not connect to the internet or collect any data on it's own.

The exception of this is preferences the user sets or values the user enters. Those will be stored on the device and might get backuped to Google if this is configured. The backup has to be configured in the Android System settings.

This statement does not cover functionality that is provided by Google (eg. the PlayStore analytics).

@lfuelling
lfuelling / keybase.md
Last active May 7, 2020 14:58
Keybase Confirmation

I deleted keybase because it was aquired by zoom.

Money quote:

Ultimately Keybase's future is in Zoom's hands, and we'll see where that takes us.

@lfuelling
lfuelling / halcyon.conf
Last active July 13, 2019 12:52
"jUsT uPlOaD AnD rUn iT"
<VirtualHost *:80>
ServerName {{ halcyon_domain }}
Redirect permanent / https://{{ halcyon_domain }}/
Redirect permanent (.*) https://{{ halcyon_domain }}/
</VirtualHost>
<VirtualHost *:443>
ServerName {{ halcyon_domain }}