proto tcp
$ systemctl restart [email protected]
| #!/usr/bin/env bash | |
| set -x | |
| #cat /etc/lsb-release|grep DISTRIB_CODENAME|cut -d= -f2 | |
| # Add Docker's official GPG key: | |
| sudo apt-get update | |
| sudo apt-get install ca-certificates curl | |
| sudo install -m 0755 -d /etc/apt/keyrings | |
| sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc |
| #!/usr/bin/env bash | |
| scp $1 user@server:~ |
| #!/usr/bin/env bash | |
| scp user@server:$1 . |
| #!/usr/bin/env bash | |
| keytool -printcert -jarfile $1 |
proto tcp
$ systemctl restart [email protected]
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEngine.Events; | |
| using UnityEngine.UI; | |
| /// <summary> | |
| /// + MovePanel | |
| /// + Out circle image |
| using System.Collections.Generic; | |
| using UnityEditor; | |
| using UnityEngine; | |
| #if UNITY_EDITOR | |
| /// <summary> | |
| /// https://gist.github.com/alexmelyon/8f79bd08c79202d1570f26faefe47bf3 | |
| /// </summary> | |
| [ExecuteInEditMode] |
| using UnityEngine; | |
| using UnityEngine.Events; | |
| public class MouseFingerEvent | |
| { | |
| public Vector2 position; | |
| public int index; | |
| } | |
| public class MouseFinger : MonoBehaviour |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public class CameraEditorMovement : MonoBehaviour | |
| { | |
| [Header("Mouse")] | |
| public float lookSpeedH = 2f; | |
| public float lookSpeedV = 2f; | |
| public float zoomSpeed = 2f; |
| fun main() { | |
| val list = listOf(24, 36, 145, 48, 72L) | |
| list.reduce { total, next -> lcm(total, next) }.let { println(it) } | |
| } | |
| /** | |
| * НОК Наименьшее общее кратное | |
| */ | |
| fun lcm(a: Long, b: Long): Long { |