Skip to content

Instantly share code, notes, and snippets.

View Freddo3000's full-sized avatar
😐

Fredrik Falk Freddo3000

😐
View GitHub Profile
@gmolveau
gmolveau / docker-compose.yml
Last active June 12, 2022 23:43
docker-compose nextcloud collabora nginx proxy letsencrypt
version: '3'
services:
nextcloud_db:
image: mariadb
container_name: nextcloud_db
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always
volumes:
- nextcloud_db:/var/lib/mysql
@Freddo3000
Freddo3000 / cup_contact_replacement.sqf
Last active October 10, 2019 16:03
Script to replace CUP buildings with Contact DLC equivalents
//Author: Freddo3000
//Description: Replaces CUP buildings with Contact DLC equivalents
//License: https://www.bohemia.net/community/licenses/arma-public-license-share-alike
//Usage: [] execVM "cup_contact_replacement.sqf";
if !(isServer) exitWith {};
#define REPLACE(OLDTYPE,NEWTYPE) case OLDTYPE: {[_x, NEWTYPE] call _fnc_replaceBuilding}
_fnc_replaceBuilding =
@marceldev89
marceldev89 / a3update.py
Last active January 7, 2025 05:23
Arma 3 Linux server and mod updater (workshop)
#!/usr/bin/python3
# MIT License
#
# Copyright (c) 2017 Marcel de Vries
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@timvisee
timvisee / falsehoods-programming-time-list.md
Last active July 25, 2025 20:02
Falsehoods programmers believe about time, in a single list

Falsehoods programmers believe about time

This is a compiled list of falsehoods programmers tend to believe about working with time.

Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.

Falsehoods

  • There are always 24 hours in a day.
  • February is always 28 days long.
  • Any 24-hour period will always begin and end in the same day (or week, or month).
@jbroadway
jbroadway / Slimdown.md
Last active February 20, 2025 13:00
Slimdown - A simple regex-based Markdown parser.