Skip to content

Instantly share code, notes, and snippets.

View QuanTrieuPCYT's full-sized avatar
:shipit:
hi

QuanTrieuPCYT QuanTrieuPCYT

:shipit:
hi
View GitHub Profile
@QuanTrieuPCYT
QuanTrieuPCYT / rmjavacheck
Last active April 19, 2024 10:36
Script to remove JavaCheck.jar on Minecraft Launcher on macOS Platforms
#!/bin/bash
file_path="~/Library/Application
Support/minecraft/launcher/launcher.bundle/Contents/Resources/JavaCheck.jar"
if [ -e "$file_path" ]; then
rm -R "$file_path"
echo "Minecraft Launcher's JavaCheck.jar deleted!"
else
echo "Minecraft Launcher's JavaCheck.jar not found!"
@QuanTrieuPCYT
QuanTrieuPCYT / FPTU.md
Created April 15, 2024 13:04
FPTU Kỳ Truyện - Đại học FPT: khi sinh viên gian lận và hack vào server trường

Đại học FPT: khi sinh viên gian lận và hack vào server trường

Lấy từ nguồn: https://tinhte.vn/thread/dai-hoc-fpt-khi-sinh-vien-gian-lan-va-hack-vao-server-truong.1091706/


Trường Đại Học FPT (FU) số 8 Tôn Thất Thuyết - Cầu Giấy - Hà Nội (Toà nhà Detect - đối diện bến xe Mĩ Đình) Trong 3 năm nay, FU có thực hiện việc thi cử online bằng phần mềm chuyên dụng của trường, được nhà trường đặt hàng của Phan Trường Lâm (LamPT) có 2 phiên bản đều được code bằng C# .NET:
1- bản EOS Client dùng thi môn Business English (BE).
2- bản IT Client thi các môn Software Engineering: Java, C#, C/C+- Computer Network, Operating System (OS), Introduction to Database, ...

@QuanTrieuPCYT
QuanTrieuPCYT / securebootsign.sh
Last active April 19, 2024 13:53
Debian Linux Manual Secure Boot signing script
#!/usr/bin/env bash
# DPKG Post-Install Script to sign vmlinuz kernel images and EFI executable binaries for Secure Booting with custom certificates
# Required for full OpenCore Secure Boot (for example: you want to use Secure Boot in Windows 11 for Valorant, just like me!)
#
# Requirement:
# - You have followed this guide: https://github.com/perez987/OpenCore-and-UEFI-Secure-Boot
# - Custom ISK.key and ISK.pem in a folder of choice, I will just name it /path/to/securebootkeys as in this script
# - You are running Debian Linux, with `sbsigntool` installed (`sudo apt install sbsigntool --no-install-recommends -y`)
# - Have a brain
@QuanTrieuPCYT
QuanTrieuPCYT / excellent_enchants_4.0.5_java17_MC_1_20_6_removed.sh
Last active June 17, 2024 07:48
ExcellentEnchants 4.0.5 with removed MC 1.20.6 support and Java 17 support.
#!/usr/bin/env bash
#
# Script to build ExcellentEnchants 4.0.5 with removed MC 1.20.6 support and Java 17 support.
# Provided that your environment meets the followings:
# - JDK 17 or later installed
# - `git` installed, `mvn` installed (Apache Maven)
# - Using an OS that uses GNU's `sed` utility (such as Linux). macOS uses a different `sed`, so please double-check!
#
# Clone the repository
@QuanTrieuPCYT
QuanTrieuPCYT / README.md
Created July 13, 2024 19:02
ThiccMC Closing Notes

Tương lai của ThiccMC

Chào mọi người, mình là Quân đây. Hôm nay mình xin được thông báo rằng: ThiccMC sẽ đóng cửa vào ngày 20/07/2024, chính xác vào 8 giờ tối theo múi giờ GMT+7. Mọi kênh chat trong server Discord sẽ được archive lại sau khi thông báo này được đưa lên, nếu bạn muốn để lại bình luận thì có thể bình luận vào cái Gist này ở cuối trang.

Cụm SMP sẽ tiếp tục được duy trì trước giờ đóng cửa, nên nếu các bạn muốn xây gì tiếp hay muốn ôn lại kỉ niệm thì có thể chơi tiếp, đồng thời cụm SMP sẽ không tiếp nhận verify các người chơi mới nữa. Sau giờ này, máy chủ sẽ được đưa vào trạng thái bảo trì và thông báo đóng cửa sẽ hiện lên. File world của Thicc SMP sẽ được upload lên một nền tảng lưu trữ file và sẽ được thông báo sau, và tên miền ThiccMC sẽ được duy trì tiếp tục nhiều năm tới, nói chung là lâu nhất có thể.

Tại sao lại có sự thay đổi này?

Mình mới đầu lập ra Thicc SMP, và giờ là ThiccMC, với một mục đích là thoả mãn ước muốn host một máy chủ Minecraft của riêng mình và tạo nên một cộng đồng lớ