Skip to content

Instantly share code, notes, and snippets.

View paddykontschak's full-sized avatar

Patrick Kontschak paddykontschak

View GitHub Profile
@paddykontschak
paddykontschak / 1.md
Created December 29, 2018 19:31 — forked from LotteMakesStuff/1.md
UPM: How to make a custom package

UPM: How to make a custom package So, Unity has this shiny new package manager, and you have code you want to share between projects - wouldn't it be great if we could bundle up our shared code and plug it into all the projects that need it? Let's figure out how to make our own Package!


Todo

  • Modify the project manifest
  • Make a package manifest
  • Package the manifest up with some test code
  • Try it out in Unity!

@paddykontschak
paddykontschak / pokemon_candy.txt
Last active April 18, 2017 08:55
Pokemon candy needed
snub 19 - 50 3km 93km
sun 10 - 50 3km 120km
mar 9 - 124 5km 575km
bay 2 - 124 3km 610km
cyn 19 - 124 3km 525km
tot 48 - 124 3km 380km
scy 41 - 50 5km 45km
on 25 - 50 5km 125km
using System.Threading;
// create instance of class `class`
Class1 c = new Class1();
private void Start_Thread_Click(object sender, EventArgs e)
{
c.frm = this;
// create thread1 - similar to class instance, add c.function into brackets

Mirai Botnot

Summary

  • Mirai is a piece of malicious Software used to create large botnets
  • Targets IoT devices and routers
  • 360k bots at peak efficiency

Examples

/*
tbl_Fuhrpark
ID_Fahrzeug, AmtlKennz, Nutzlast, Verb100, FS_Klasse, MobilNr
tbl_Fahrten
ID_Fahrt, ID_Fahrzeug, ID_Fahrer, GPS_Laenge, GPS_Breite
tbl_Fahrer
ID_Fahrer, PersNr, FS_Klasse, Datum_LetztGesundhPrfg
# Subnetting IPv4
192.168.2.1/22
## Netzmaske
/22 ^= 255.255.252.0
/ \
__/|_____ |\_______
1111.1111.1111.1111.1111.11|00.0000.0000

Abschreibung

Methode zur Ermittlung der durch Abnutzung oder Alterung eingetretenen Wertminderung (Wertverlust).

Hierzu werden die Anschaffungs- bzw. Herstellkosten auf die gewöhnliche Nutzungsdauer verteilt. => AfA Tabelle

AfA = Absetzung für Abnutzung

Nutzungsdauer LKW = 9 Jahre

@paddykontschak
paddykontschak / Dofus129Guide.md
Last active April 26, 2022 11:55
Dofus 1.29 Installation Guide for macOS / Guide d’installation de Dofus 1.29 sur MacOS

Konjuktur

Konjunkturzyklus

Konjunkturindikatoren

  • Frühindikator
  • Aktuellindikator
  • Spätindikator
/* bling.js */
window.$ = document.querySelectorAll.bind(document)
Node.prototype.on = window.on = function (name, fn) {
this.addEventListener(name, fn)
}
NodeList.prototype.__proto__ = Array.prototype