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'
}
@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 \