This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.7' | |
services: | |
gitlab: | |
container_name: gitlab | |
image: 'gitlab/gitlab-ce:16.9.1-ce.0' | |
restart: always | |
hostname: 'hostname' | |
environment: | |
GITLAB_OMNIBUS_CONFIG: | | |
external_url 'https://hostname' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/.bash-profile | ~/.zprofile | |
export [variable_name]=[variable_value] | |
source ~/.bash-profile | ~/.zprofile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openssl rand -base64 64 | |
gpg --gen-random 1 10 | base64 | |
gpg --gen-random 2 20 | base64 | |
gpg --gen-random 1 40 | base64 | |
gpg --gen-random 2 70 | base64 | |
head -c 35 /dev/random | base64 | |
head -c 60 /dev/random | base64 | |
date | sha256sum | base64 | head -c 45; echo | |
date | sha256sum | base64 | head -c 50; echo | |
date | sha256sum | base64 | head -c 60; echo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
[RequireComponent(typeof(CharacterController))] | |
[AddComponentMenu("Custom/Control Script/FPS Input")] | |
public class FPSInput : MonoBehaviour | |
{ | |
private CharacterController _characterController; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.Serialization; | |
[RequireComponent(typeof(Rigidbody))] | |
[AddComponentMenu("Custom/Control Script/Mouse Look")] | |
public class MouseLook : MonoBehaviour | |
{ | |
public enum RotationAxes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form role="search" method="get" id="searchform" action="<?php echo home_url( '/' ) ?>" > | |
<label class="screen-reader-text" for="s">Поиск: </label> | |
<input type="text" value="<?php echo get_search_query() ?>" name="s" id="s" /> | |
<input type="submit" id="searchsubmit" value="найти" /> | |
</form> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Help | Edit Custom VM options | |
-Dsun.java2d.metal=false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo lsof -i :номер_порта | |
sudo netstat -lntup | |
Опишем все ключи, которые используются в команде | |
-l показать только прослушиваемые "LISTEN" порты. | |
-n показывать адреса как ip, а не пытаться определять домены. | |
-t показывать TCP порты. | |
-u показывать UDP порты. | |
-p показать название программы, которая слушает порт. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALTER USER 'userName'@'localhost' IDENTIFIED BY 'New-Password-Here'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openssl rand -base64 32 |
NewerOlder