Skip to content

Instantly share code, notes, and snippets.

@v-bus
v-bus / gist:4edb2a0768b39f20b543e2e2721f2868
Created March 29, 2020 07:10 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@v-bus
v-bus / Makefile
Created May 20, 2020 06:42 — forked from TheHippo/Makefile
Golang Makefile example
OUT := binariy-name
PKG := gitlab.com/group/project
VERSION := $(shell git describe --always --long --dirty)
PKG_LIST := $(shell go list ${PKG}/... | grep -v /vendor/)
GO_FILES := $(shell find . -name '*.go' | grep -v /vendor/)
all: run
server:
go build -i -v -o ${OUT} -ldflags="-X main.version=${VERSION}" ${PKG}
Введение Ubuntu в домен
Предполагается что перед этим у вас уже корректно настроен netplan и доменные сервисы доступны с Linux машины и все действия будут выполнять с правами root.
1.Устанавить realmd командой: apt install realmd
2.Выполнить команду realm discover [ваш].[домен]. Это команда проверит доступность домена и выдаст необходимые для работы с данным доменом пакеты. Пример команды: realm discover contoso.com
Пример вывода команды для Active Directory домена:
contoso.com
type: kerberos
realm-name: CONTOSO.COM
domain-name: contoso.com
@v-bus
v-bus / gen_module.tf
Created January 28, 2022 21:14
How to generate terraform module
variable "module_dir" {
default = "module"
}
locals {
file_list = [
"provider.tf",
"main.tf",
"versions.tf",
"variables.tf",
"outputs.tf",
@v-bus
v-bus / contacts.md
Last active June 12, 2022 18:09
contacts