- Adopted from: https://stubby4j.com/docs/admin_portal.html
- Inspired by Swagger API docs style & structure: https://petstore.swagger.io/#/pet
Discover gists
This file contains 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
<div class="body"> | |
<div class="chest"> | |
<div class="left"><div class="clavicle"></div></div> | |
<div class="right"><div class="clavicle"></div></div> | |
</div> | |
<div class="breast"> | |
<div class="left"><ul class="boob"><li class="nipple"></li></ul></div> | |
<div class="right"><ul class="boob"><li class="nipple"></li></ul></div> | |
<div class="between"></div> |
This file contains 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
Настройка Git клиента для идентификации пользователя: | |
git config --global user.name "Your Name" | |
git config --global user.email "your@email.address" | |
git config --global core.editor "your editor" | |
Инициализация репозитория в текущем каталоге: | |
git init | |
Создает репозиторий в указанном каталоге: | |
git init <directory> |
This file contains 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
import { initFlowbite } from "flowbite"; | |
import { Subject, concatMap, delay, of } from "rxjs"; | |
let flowbiteQueue = new Subject<any>(); | |
flowbiteQueue.pipe( | |
concatMap(item => of(item).pipe(delay(100))) | |
).subscribe((x) => { | |
x(); | |
}) |
This file contains 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
FROM golang:1.12 AS build | |
COPY ./main.go . | |
# ARG here is to make the sha available for use in -ldflags | |
ARG GIT_SHA | |
# -ldflags "-X main.sha=${GIT_SHA}" allows main.sha to be set at build time | |
RUN go build -ldflags "-X main.sha=${GIT_SHA}" -o /app | |
FROM scratch |
This file contains 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
$userPath = $env:USERPROFILE | |
$pathExclusions = New-Object System.Collections.ArrayList | |
$processExclusions = New-Object System.Collections.ArrayList | |
$pathExclusions.Add('C:\Windows\Microsoft.NET') > $null | |
$pathExclusions.Add('C:\Windows\assembly') > $null | |
$pathExclusions.Add($userPath + '\Downloads\HeidiSQL_11.3_64_Portable') > $null | |
$pathExclusions.Add($userPath + '\.dotnet') > $null |
This file contains 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
<?php | |
class Calc { | |
public $num1; | |
public $num2; | |
public $cal; | |
public function __construct($num1Inserted, $num2Inserted, $calInserted) { | |
$this->num1 = $num1Inserted; |
This file contains 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
#!/bin/bash | |
sudo apt install software-properties-common && sudo add-apt-repository ppa:ondrej/php -y | |
sudo apt update | |
sudo apt upgrade -y | |
sudo apt install php8.1 -y | |
sudo apt install php8.1-bcmath -y | |
sudo apt install php8.1-bz2 -y | |
sudo apt install php8.1-cli -y | |
sudo apt install php8.1-common -y | |
sudo apt install php8.1-curl -y |
NewerOlder