Skip to content

Instantly share code, notes, and snippets.

View minhqnd's full-sized avatar
👽
still alive

Quang Minh minhqnd

👽
still alive
View GitHub Profile
@minhqnd
minhqnd / export_fap_calendar.md
Last active January 17, 2026 19:01
Xuất lịch học từ FAP (FPT Academic Portal) sang file ICS để import vào Apple Calendar / Google Calendar.

FAP to Calendar

Xuất lịch học từ FAP (FPT Academic Portal) sang file ICS để import vào Apple Calendar / Google Calendar.

Tính năng

  • Xuất lịch học của tất cả các môn trong kỳ hiện tại
  • Support vị trí 5 cơ sở FPT: Hòa Lạc, Đà Nẵng, Cần Thơ, HCM, Quy Nhơn
  • Tự động thông báo thời gian di chuyển dựa vị trí trên
@minhqnd
minhqnd / CompleteDiscordQuest.md
Created September 23, 2025 14:47 — forked from aamiaa/CompleteDiscordQuest.md
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for non-video, non-activity quests! For stream/play quests use the desktop app!

Note

When doing stream quests, you need at least 1 other account in the vc!

How to use this script:

  1. Accept a quest under Discover -> Quests
@minhqnd
minhqnd / FPTU.md
Created July 16, 2025 01:30 — forked from QuanTrieuPCYT/FPTU.md
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, ...

@minhqnd
minhqnd / fap.py
Last active February 12, 2025 18:01
Convert FAP FPT Calendar to ics
import json
import uuid
from datetime import datetime, timezone
def create_event(data):
"""Format each event for the iCalendar file with Apple-specific attributes."""
event_template = """BEGIN:VEVENT
TRANSP:OPAQUE
DTSTART;TZID=Asia/Ho_Chi_Minh:{start_time}
DTEND;TZID=Asia/Ho_Chi_Minh:{end_time}
@minhqnd
minhqnd / README.md
Last active January 22, 2026 10:02
Hướng dẫn tắt Alway on focus

Hướng dẫn tắt Alway on focus

Cái này để làm gì?

Always on focus là một script giúp ngăn các trang web biết rằng bạn đã chuyển tab, rời chuột khỏi cửa sổ hoặc không tương tác với trang web. Đoạn script này có các tính năng sau:

  • Vô hiệu hóa Page Visibility API: Khóa thuộc tính hidden thành falsevisibilityState thành visible. Hỗ trợ tất cả các tiền tố trình duyệt (webkit, moz, ms).

  • Hold trạng thái Focus: Tắt window.onblur() và ghi đè document.hasFocus() luôn trả về True mọi lúc (Ví dụ cái này khi chuyển tab hoặc bấm ra ngoài cửa sổ sẽ không bị tính là thoát tab).

@minhqnd
minhqnd / ytadblock.user.js
Created October 22, 2023 17:53
Remove Youtube Adblock Warnings
// ==UserScript==
// @name Remove Youtube Adblock Warnings!
// @namespace http://tampermonkey.net/
// @version 0.2.2
// @description No more 'Ad blockers are not allowed on YouTube'
// @author coder369
// @license MIT
// @match https://www.youtube.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @grant none
var getid = async function(sec_user_id, max_cursor) {
var res = await fetch("https://www.douyin.com/aweme/v1/web/aweme/post/?device_platform=webapp&aid=6383&channel=channel_pc_web&sec_user_id=" + sec_user_id + "&max_cursor=" + max_cursor, {
"headers": {
"accept": "application/json, text/plain, */*",
"accept-language": "vi",
"sec-ch-ua": "\"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"108\", \"Microsoft Edge\";v=\"108\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
@minhqnd
minhqnd / quangminhnd.txt
Last active July 24, 2023 23:10
FIX-quangminhnd add
{
"contact": "https://fb.com/therealstromez",
"templates": [
{
"name": "MIXIPLACE VIETNAM",
"sources": ["https://github.com/quangminhnd/MixiPlace/blob/main/MIXIFINAL-quangminhnd.png?raw=true"],
"x": 2375,
"y": 1442
},
{
import requests
import json
import time
# Disable SSL warnings
requests.packages.urllib3.disable_warnings()
url = "https://quangninh.tsdc.edu.vn/forward-api"
headers = {
'Content-Type': 'application/json;charset=utf-8',