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
const tariffs: Record<QuizTheme, { base: TariffPlan[], discount: TariffPlan[] }> = { | |
[QuizTheme.Quiz2]: { | |
base: [ | |
{ | |
id: 'MONTH_6', | |
name: '6-months plan', | |
periodLabel: '6 months', | |
price: 39.99, | |
oldPrice: 89.99, |
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
atlantm.by { | |
handle_path /uploads/blog/* { | |
root * /srv/uploads/blog | |
file_server browse | |
} | |
handle { | |
reverse_proxy 127.0.0.1:3000 | |
} |
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 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 | |
sudo chmod a+r /etc/apt/keyrings/docker.asc | |
echo \ | |
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \ | |
$(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \ | |
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null |
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
{"level":30,"time":1740004307262,"pid":764691,"hostname":"ubuntu-s-1vcpu-1gb-35gb-intel-nyc3-01","af_sub1":"EAIaIQobChMIq6ax88HQiwMV3zQIBR2GPxwTEAAYASAAEgIGP_D_BwECj0KCQiArby5BhCDARIsAIJvjISaXSoAg6kipqAI_QCgaAOkf0hhIUkTWKnz-x_ZNtUjwoAM7b-i8bMaArgKEALw_wcB","media_source":"googleadwords_int","event_time":"2024-02-19 03:36:01.000","app_id":"id6444069212","event_name":"af_start_trial"} | |
{"level":30,"time":1740004446349,"pid":764805,"hostname":"ubuntu-s-1vcpu-1gb-35gb-intel-nyc3-01","af_sub1":"EAIaIQobChMIq6ax88HQiwMV3zQIBR2GPxwTEAAYASAAEgIGP_D_BwECj0KCQiArby5BhCDARIsAIJvjISaXSoAg6kipqAI_QCgaAOkf0hhIUkTWKnz-x_ZNtUjwoAM7b-i8bMaArgKEALw_wcB","media_source":"googleadwords_int","event_time":"2024-02-19 03:36:01.000","app_id":"id6444069212","event_name":"af_start_trial"} | |
{"level":30,"time":1740004558730,"pid":764905,"hostname":"ubuntu-s-1vcpu-1gb-35gb-intel-nyc3-01","af_sub1":"EAIaIQobChMIq6ax88HQiwMV3zQIBR2GPxwTEAAYASAAEgIGP_D_BwECj0KCQiArby5BhCDARIsAIJvjISaXSoAg6kipqAI_QCgaAOkf0hhIUkTWKnz-x_ZNtUjwoAM7b-i8bMaArgKEALw_ |
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
curl --location 'https://api.monetai.pro/generate/text2image_async' \ | |
--header 'Content-Type: application/json' \ | |
--data '{ | |
"aspect_ratio": { | |
"height": 9, | |
"width": 16 | |
}, | |
"num_generations": 1, | |
"prompt": "cupra formentor and family", | |
"seed": 582767, |
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
ozerich@atlantm:/srv/vpn/x86_Ubuntu_Debian$ sudo ./itvpn --config client.ovpn | |
2024-11-20 11:22:11 us=614243 Initializing OpenSSL support for engine 'formica' | |
2024-11-20 11:22:11 us=614763 WARNING: file 'pwd' is group or others accessible | |
2024-11-20 11:22:11 us=614812 WARNING: file 'authpass.txt' is group or others accessible | |
2024-11-20 11:22:11 us=614889 Current Parameter Settings: | |
2024-11-20 11:22:11 us=614954 config = 'client.ovpn' | |
2024-11-20 11:22:11 us=615048 mode = 0 | |
2024-11-20 11:22:11 us=615062 persist_config = DISABLED | |
2024-11-20 11:22:11 us=615141 persist_mode = 1 |
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
{ | |
"advisories": [ | |
"Infrequent/Mild Cartoon or Fantasy Violence" | |
], | |
"app_availability": { | |
"available_in": [ | |
"DO", | |
"FR", | |
"BG", | |
"DK", |
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
<?php | |
namespace App\Operations\Developers; | |
use App\Models\Game; | |
use App\Models\User; | |
use App\Models\UserDeveloper; | |
use App\Repositories\GamePlatformRepository; | |
use App\Repositories\GameRepository; | |
use App\Repositories\UserDeveloperRepository; |
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
async loadRelationshipsForEntity(entity: BaseEntity, repo: Repository<any>, relationships: Array<string | [string, string[]]>) { | |
// @ts-ignore | |
const id = entity.id; | |
const { ...res } = await Promise.all( | |
relationships.map((relation) => { | |
// @ts-ignore | |
const relationsArray: string[] = Array.isArray(relation) ? [relation[0], ...relation[1].map(item => relation[0] + "." + item)] : [relation]; |
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
async findOneGameByUrlAlias(urlAlias: string): Promise<Game | null> { | |
const relations = [ | |
"gamePlatforms", | |
"gamePlatforms.developer", | |
"gamePlatforms.developer.icon", | |
"gamePlatforms.developer.cover", | |
"reviews", | |
"reviews.user", | |
"gameSimilar", | |
"gameSimilar.gameSimilar", |
NewerOlder