Skip to content

Instantly share code, notes, and snippets.

View SealOfTime's full-sized avatar

Matvei Vdovitsyn SealOfTime

View GitHub Profile
@SealOfTime
SealOfTime / build.gradle
Created June 30, 2020 12:36
Не создаётся task :client:shadowJar
/*
* This file was generated by the Gradle 'init' task.
*
* This is a general purpose Gradle build.
* Learn how to create Gradle builds at https://guides.gradle.org/creating-new-gradle-builds
*/
buildscript {
repositories {
jcenter()
}
@SealOfTime
SealOfTime / clock.html
Last active December 8, 2020 00:41 — forked from jakchagu/clock.html
OBS Studio: A HTML page for showing current date and time in the video + Time Zones + Translation
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>A simple clock</title>
</head>
<body translate="no" >
@SealOfTime
SealOfTime / newyear.html
Last active December 8, 2020 00:18
Counts till new year
<!DOCTYPE html>
<html style="width:100%;height:100%;padding:0;margin:0;">
<head>
<meta charset="UTF-8">
<title>A simple clock</title>
<style>
@font-face {
font-family: 'frozen';
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAVCwABIAAAAC3owAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABlAAAABwAAAAchsbXX0dERUYAAAGwAAAAIgAAACYAJwEAR1BPUwAAAdQAAAY4AAAJrFh1JhFHU1VCAAAIDAAAACAAAAAgbJF0j09TLzIAAAgsAAAAUAAAAGBG5ZVMY21hcAAACHwAAAGhAAACil6pjMRjdnQgAAAKIAAAADEAAAC4QnochmZwZ20AAApUAAABogAABz9ymzBbZ2FzcAAAC/gAAAAIAAAACAAAABBnbHlmAAAMAAABOcsAArHMvydOEWhlYWQAAUXMAAAANgAAADYXztyJaGhlYQABRgQAAAAfAAAAJBAXBXdobXR4AAFGJAAAAiwAAANovE0pYGxvY2EAAUhQAAACawAAA2wBMJN4bWF4cAABSrwAAAAgAAAAIAMTBZZuYW1lAAFK3AAAAiEAAAZulsrPnHBvc3QAAU0AAAACWgAABP134yQjcHJlcAABT1wAAAFTAAAD2ALCtGkAAAABAAAAANXtRbgAAAAA1OUdxQAAAADb9HPheNpjYGRgYOABYjEGOQYmBkYgvAnELEARJiBmhGAAGGUBKAAAeNpVlT1sW1UUx4/t+CNUpFWAGEpJIXWdJqROG1w7Tu3A4DiJG+fD8XfsARQWWhhQtkYI0QzQMJEFpQiJBiEwSxukSmSiEQOtEIpRJdpODmJIWeiWLH6X3722KtDTfffdr3PO/3/+9zyxichT0i0D
package com.example.auth
import io.ktor.application.*
import io.ktor.auth.*
import io.ktor.client.*
import io.ktor.client.engine.apache.*
import io.ktor.http.*
import io.ktor.locations.*
import io.ktor.request.*
import io.ktor.response.*
female(vera).
female(shura).
female(tanya).
female(galya).
female(yana).
female(sasha).
female(luba).
female(aunt_yana).
female(lena).
female(diana).
@SealOfTime
SealOfTime / prog.go
Created January 12, 2022 16:05
Example of new interfaces in Go 1.18
//Forbid me for the ugly formatting, this is a neccessary loss for saving some visual space in the article.
type Pet interface {
Dog | Cat
Say() string
}
type Dog struct{}
func (d Dog) Say() string { return "I'm an incredibly intelligent dog" }
type Cat struct{}