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:
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); | |
*/ |
// Draw the curve using a bezier curve tool like: https://www.desmos.com/calculator/d1ofwre0fr | |
// Get p0, p1, p2 and p3 from that tool | |
using UnityEngine; | |
using System; | |
public class BezierCalculator | |
{ | |
Vector3 p0; | |
Vector3 p1; |
// ==UserScript== | |
// @name Trello highlight lists on IT Board | |
// @description Highlight certain columns in Trello. | |
// @include https://trello.com/b/CdaXFAGQ/it-work-in-progress | |
// @require https://code.jquery.com/jquery-3.4.1.min.js | |
// @version 0.1 | |
// @copyright 2014, Gareth J M Saunders | |
// @copyright 2019, Dalia Research GmbH | |
// ==/UserScript== |
// ==UserScript== | |
// @name Trello highlight lists on IT Board | |
// @description Highlight certain columns in Trello. | |
// @include https://trello.com/b/CdaXFAGQ/it-work-in-progress | |
// @require https://code.jquery.com/jquery-3.4.1.min.js | |
// @version 0.1 | |
// @copyright 2014, Gareth J M Saunders | |
// @copyright 2019, Dalia Research GmbH | |
// ==/UserScript== |
module MyWrapperCreator | |
def my_method_wrapper(method_name) | |
original_method = instance_method(method_name) | |
define_method(method_name) do |*args, &block| | |
puts "wrapper :: INI" | |
result = original_method.bind(self).call(*args, &block) | |
puts "wrapper :: END" | |
result |
drop procedure if exists clone_table; | |
delimiter $$ | |
create procedure clone_table () | |
begin | |
declare n int; | |
set n := 0; | |
while n < 20 do | |
insert destiny_table select | |
field_1, |
watch -t -n 30 "(date '+%Y-%m-%d %H:%M:%S,' | tr -d '\n'; curl -o /dev/null -s -w %{time_total} http://myweb.com; echo) | tee -a /tmp/my_web.log" |