Skip to content

Instantly share code, notes, and snippets.

View hu553in's full-sized avatar
🌋
Living

Ruslan Khasanshin hu553in

🌋
Living
View GitHub Profile
@hu553in
hu553in / ci.yml
Last active November 17, 2025 09:33
GitHub Actions to build iOS app
variables:
APP_NAME: MyAwesomeApp
name: CI
on:
push:
branches:
- main
tags:
@hu553in
hu553in / build.gradle
Last active November 17, 2025 09:33
Gradle script for publishing JAR to GitLab package registry with custom POM file building
// Uses Gradle internal API - works on Gradle 7.6
import groovy.json.JsonSlurper
import org.gradle.api.internal.tasks.userinput.NonInteractiveUserInputHandler
import org.gradle.api.internal.tasks.userinput.UserInputHandler
plugins {
id 'maven-publish'
}
@stackunderflow111
stackunderflow111 / build.gradle.kts
Last active October 14, 2025 19:26
Integrate Jooq with Testcontainers and Flyway
import nu.studer.gradle.jooq.JooqGenerate
import org.flywaydb.core.Flyway
import org.flywaydb.core.api.configuration.FluentConfiguration
import org.jooq.meta.jaxb.Configuration
import org.testcontainers.containers.JdbcDatabaseContainer
import org.testcontainers.containers.PostgreSQLContainer
import org.testcontainers.utility.DockerImageName
plugins {
id("nu.studer.jooq") version "7.1.1"
@hu553in
hu553in / install_old_chrome.sh
Last active November 17, 2025 09:33
How to download and install an old Chrome version (the Debian package)
#!/usr/bin/env bash
set -euo pipefail
# Required Chrome version can be found here:
# https://www.ubuntuupdates.org/package/google_chrome/stable/main/base/google-chrome-stable
CHROME_VERSION=""
wget --no-check-certificate \
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active December 30, 2025 10:52
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@PurpleBooth
PurpleBooth / README-Template.md
Last active December 31, 2025 04:34
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites