Skip to content

Instantly share code, notes, and snippets.

View oskardotglobal's full-sized avatar

Oskar Manhart oskardotglobal

View GitHub Profile
@oskardotglobal
oskardotglobal / efcla.md
Created July 15, 2023 14:51
Winapps Entity Fiduciary Contributor License Agreement

Fiduciary License Agreement 2.0

based on the

Entity Contributor Exclusive License Agreement

(including the Traditional Patent License OPTION)

Thank you for your interest in contributing to winapps-org's winapps ("We" or "Us").

@oskardotglobal
oskardotglobal / fcla.md
Created July 15, 2023 14:49
Winapps Fiduciary Contributor License Agreement

Fiduciary License Agreement 2.0

based on the

Individual Contributor Exclusive License Agreement

(including the Traditional Patent License OPTION)

Thank you for your interest in contributing to winapps-org's winapps ("We" or "Us").

@oskardotglobal
oskardotglobal / change-host.py
Created February 26, 2023 15:26
Portainer Edge agent change host
#!/usr/bin/env python3
import argparse
import base64
# Author: Oskar Manhart
# Thanks to: https://thad.getterman.org/articles/changing-the-host-for-a-portainer-edge-agent/
# Licensed under MIT (mit-license.org)
parser = argparse.ArgumentParser(prog="change-host")
@oskardotglobal
oskardotglobal / npm-count.py
Created January 24, 2023 16:31
Get total NPM packages in NPM registry
"""
Copyright © 2023 Oskar Manhart
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 copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
@oskardotglobal
oskardotglobal / repos.json
Last active July 26, 2022 10:43
Tinfoil repos
{"locations":["https://nekoshop.cf","https://titz.cf"]}
@oskardotglobal
oskardotglobal / digitalocean-lamp-heic.sh
Last active March 5, 2022 11:42 — forked from eplt/digitalocean-lamp-heic.sh
Install Imagemagick with HEIC on DigitalOcean LAMP Ubuntu 20.04
#!/bin/bash
sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list
apt-get update
apt-get -y install build-essential autoconf libtool git-core
apt-get -y build-dep imagemagick libmagickcore-dev libde265 libheif
cd /usr/src/
git clone https://github.com/strukturag/libde265.git
git clone https://github.com/strukturag/libheif.git
cd libde265/
./autogen.sh