How to create a ssl certificate using letsencrypt in your mac for your own domain
brew install certbot
# meta-name: Code style template | |
# meta-description: Empty script with the order of the code sections | |
# -- 01 @tool | |
# -- 02 class_name | |
# -- 03 extends | |
extends _BASE_ | |
# -- 04 # docstring | |
# |
using System; | |
using System.Linq; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.Tilemaps; | |
/// <summary> | |
/// Helper class to define a Tile and the associated treshold value on the perlin noise | |
/// </summary> | |
[Serializable] |
using UnityEngine; | |
// From here: https://www.youtube.com/watch?v=6kWUGEQiMUI&ab_channel=whateep | |
// Use it: | |
// 1) Create a subclass: | |
// public class MySingletonSO : SingletonScriptableObject<MySingletonSO> {} | |
// 2) Create the new Asset into the /Assets/Resources folder | |
// 3) Access to it: | |
// MySingletonSO.Instance | |
// |
using UnityEngine; | |
public class Utils | |
{ | |
public static float AddNoise(float value) | |
{ | |
return AddNoise(value, value / 2.0f); | |
} | |
public static float AddNoise(float value, float delta) |
commit a656816e7d9498d32b52c6c9455e535466623ad9 | |
Author: Fernando | |
Date: Fri Oct 1 12:23:37 2021 +0200 | |
Invitation workflow | |
diff --git a/app/controllers/admin/invitations_controller.rb b/app/controllers/admin/invitations_controller.rb | |
new file mode 100644 | |
index 0000000..93652c0 | |
--- /dev/null |
using System; | |
using UnityEngine; | |
public class RandomPointInCollider | |
{ | |
Collider2D collider; | |
Vector3 minBound; | |
Vector3 maxBound; | |
int maxAttempts; |
using UnityEngine; | |
public class Draggable : MonoBehaviour | |
{ | |
Vector3 offset; | |
void OnMouseDown() | |
{ | |
offset = transform.position - Camera.main.ScreenToWorldPoint(Input.mousePosition); | |
} |
https://das-lehrlingsheim.de/2021/02/19/mobility-how-to-get-there/
(Train RE2 10.70 Euros) Berlin Alexanderplatz Bahnhof 08:43 - Lübben, Bahnhof 09:33:
/* | |
Convert from one magnitude to another. | |
Example: | |
LinearProportionConverter collisionToVolume = new LinearProportionConverter(soundVolumeLimits.x, soundVolumeLimits.y, collisionMagnitudeLimits.x, collisionMagnitudeLimits.y); | |
float volume = collisionToVolume.CalculateDimension1Value(collisionMagnitude); | |
audioSource.PlayOneShot(clip, volume); | |
*/ |