Skip to content

Instantly share code, notes, and snippets.

View hkhangus's full-sized avatar
💬
Stay hungry, stay foolish

HK hkhangus

💬
Stay hungry, stay foolish
View GitHub Profile
FROM golang:1.23.0-bookworm AS build
ARG upx_version=4.2.4
RUN apt-get update && apt-get install -y --no-install-recommends xz-utils && \
curl -Ls https://github.com/upx/upx/releases/download/v${upx_version}/upx-${upx_version}-amd64_linux.tar.xz -o - | tar xvJf - -C /tmp && \
cp /tmp/upx-${upx_version}-amd64_linux/upx /usr/local/bin/ && \
chmod +x /usr/local/bin/upx && \
apt-get remove -y xz-utils && \
rm -rf /var/lib/apt/lists/*
//How to use
//1 - open console (F12)
//2 - paste the code below
//3 - enter and watch
//You can use to calculate a specific year or total
const eliminateSubjects = [
"Anh văn",
"Thể dục",
"Tin học cơ sở",