Skip to content

Instantly share code, notes, and snippets.

View AnnikenYT's full-sized avatar

Leo AnnikenYT

View GitHub Profile
{%- set filename = invoice['invoice.date']|date('Y-m-d') ~ '_' ~ invoice['invoice.number']|replace({'/' : '-'}) ~ '_' ~ invoice['customer.company']|default(invoice['customer.name'])|replace({' ' : '-'}) -%}
{%- set option = pdfContext.setOption('filename', filename) -%}
{%- set option = pdfContext.setOption('format', 'A4-P') -%}
{% set company = 'Leas Porscha' %}
{% set tagline = 'Timesheet' %}
{% set highlight = '#008000' %}
{% set suppress = '#424242' %}
{% set logoUrl = config('theme.branding.logo') %}
@AnnikenYT
AnnikenYT / blender-render.ipynb
Last active April 19, 2023 08:52
Blender Render.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AnnikenYT
AnnikenYT / gradient_json.py
Last active March 17, 2022 16:21
Json text gradient generator for minecraft
from colour import Color
import json
import pyperclip3 as pc
def menu():
print(f"""
Press "c" to get the {bcolors.OKCYAN}JSON{bcolors.ENDC} as a string and {bcolors.OKBLUE}copy it{bcolors.ENDC} to the clipboard.
Press "s" to get the {bcolors.OKGREEN}Sign Command{bcolors.ENDC} as a string and {bcolors.OKBLUE}copy it{bcolors.ENDC} to the clipboard.
@AnnikenYT
AnnikenYT / cnpc_locked_door.js
Created February 15, 2022 12:47
A simple lockable door for Custom NPCS
//Lockable Door Script by AnnikenYT
var key_name = "Anniken's key" // Du brauchs ein Item mit EXAKT diesem Namen um die Tür zu öffnen.
var door_name = "Door" // Dieser name wird in den Nachrichten angezeigt.
var locked = true; // Wenn true ist die Tür standartmäßig verschlossen, wenn false nicht.
// DONT CHANGE!
function init(event) {
event.block.setBlockModel("minecraft:iron_door");
}