[X] - Elden Ring [X] - Horizon Zero Dawn [X] - Horizon Zero Dawn: The Frozen Wilds [X] - The Witcher 3 [X] - The Witcher 3: Hearts of Stone [X] - Yakuza 0 [X] - Yakuza Kiwami [X] - It Takes Two
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
use clap::Parser; | |
/// Rust echo | |
#[derive(Parser, Debug)] | |
#[command()] | |
struct Args { | |
/// Do not print the trailing newline character. | |
#[arg(short, num_args(0), required(false), default_value_t = false)] | |
no_newline: bool, | |
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
const pad = (value) => { | |
return value < 10 ? '0' + value : value; | |
} | |
const createOffset = (date) => { | |
const sign = (date.getTimezoneOffset() > 0) ? "-" : "+"; | |
const offset = Math.abs(date.getTimezoneOffset()); | |
const hours = pad(Math.floor(offset / 60)); | |
const minutes = pad(offset % 60); | |
return sign + hours + ":" + minutes; |
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 kotlinx.serialization.KSerializer | |
import kotlinx.serialization.json.Json | |
import kotlinx.serialization.serializer | |
import org.jetbrains.exposed.sql.Column | |
import org.jetbrains.exposed.sql.ColumnType | |
import org.jetbrains.exposed.sql.Table | |
import org.jetbrains.exposed.sql.statements.api.PreparedStatementApi | |
import org.postgresql.util.PGobject | |
inline fun <reified T : Any> Table.jsonb( |
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
# Copyright © Red Gate Software Ltd 2010-2021 | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
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
# Common settings that generally should always be used with your language specific settings | |
# Auto detect text files and perform LF normalization | |
* text=auto | |
# | |
# The above will handle all files NOT found below | |
# | |
# Documents |
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
# Common settings that generally should always be used with your language specific settings | |
# Auto detect text files and perform LF normalization | |
* text=auto | |
# | |
# The above will handle all files NOT found below | |
# | |
# Java sources |
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
# Created by https://www.toptal.com/developers/gitignore/api/macos,windows,linux,vim,visualstudiocode | |
# Edit at https://www.toptal.com/developers/gitignore?templates=macos,windows,linux,vim,visualstudiocode | |
### Linux ### | |
*~ | |
# temporary files which can be created if a process still has a handle open of a deleted file | |
.fuse_hidden* | |
# KDE directory preferences |
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
# Created by https://www.toptal.com/developers/gitignore/api/macos,windows,linux,vim,visualstudiocode | |
# Edit at https://www.toptal.com/developers/gitignore?templates=macos,windows,linux,vim,visualstudiocode | |
### Linux ### | |
*~ | |
# temporary files which can be created if a process still has a handle open of a deleted file | |
.fuse_hidden* | |
# KDE directory preferences |
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
println("Hello!") |
NewerOlder