Skip to content

Instantly share code, notes, and snippets.

View KevinNitroG's full-sized avatar
🤔
Am I existing?

Kevin Nitro KevinNitroG

🤔
Am I existing?
View GitHub Profile
@KevinNitroG
KevinNitroG / delete_all_stylus_styles.md
Last active September 5, 2024 17:37
Delete all stylus styles
  • Open stylus manager page
  • F12
  • Paste this script in the console

    Or add this snippet. Then Ctrl + Enter

    async function deleteStyle() {
      const deleteBtn = document.querySelector('p.actions > a.delete');
      if (!deleteBtn) {
        return false

}

@KevinNitroG
KevinNitroG / garudalinux.txt
Created August 4, 2024 14:08
Garuda Linux
https://bin.garudalinux.org/?4e769a49118e1b58#GWL5KGY2v7YNrL2gB9wq18fJFP3uoj2oUKd5daEHFxdN
@KevinNitroG
KevinNitroG / IT002-23520161-Buoi_7-Bai_1.cpp
Created April 5, 2024 14:46
gửi thầy Khánh hỏi về sử dụng overload operator >> của parent class cho child class
#include <cstring>
#include <iostream>
#include <string.h>
#include <string>
using namespace std;
class CanBoVienChuc
{
friend class GiangVien;
@KevinNitroG
KevinNitroG / heapSort.cpp
Last active March 8, 2024 11:43
Code C++ Heap Sort & Quick Sort cho thuyết trình DSA UIT IT003.O24 (giảng viên cô Dương Việt Hằng)
#include <bits/stdc++.h>
using namespace std;
void heapify(int[], int, int);
void heapSort(int[], int);
void display(int[], int);
int main()
{
int arr[] = {1, 14, 3, 7, 0};
@KevinNitroG
KevinNitroG / README.md
Last active January 8, 2024 06:21
Triển khai khảo sát sự hài lòng của người học với trải nghiệm học tập (chỉ số IR3_dự án VUDP)

https://ks.vnuhcm.edu.vn/khao-sat/chi-tiet-khao-sat

f12 paste vào console lệnh dưới

Nguyên văn email

Chào các bạn sinh viên!

Với nhu cầu cấp thiết trong việc nâng cao chất lượng nguồn nhân lực trong bối cảnh hội nhập kinh tế và sự bùng nổ của thời đại công nghệ 4.0, trong khuôn khổ Dự án Phát triển các Đại học Quốc gia Việt Nam.

@KevinNitroG
KevinNitroG / ticket.cpp
Last active November 6, 2023 17:41
WeCode lỏ
#include <iostream>
using namespace std;
// Bước check 1: Quick check xem có thoả mãn tồn tại không
bool checkValid(int first, int sec)
{
if (first > 18 || sec > 18 || first < sec)
return false;
return true;
}
@KevinNitroG
KevinNitroG / modify.py
Last active October 28, 2023 06:15
Pháp luật đại cương các câu hỏi ôn tập
import re
re_pattern_bai = r".*[Bb][Àà][Ii] \d{1,2}.*"
re_pattern_cau = r"\d{1,2}.*"
re_pattern_de = r".*Ðề.*"
re_pattern_caudung = r".*\([Đđ]úng\).*"
with open('pldc_de.txt', 'r', encoding='utf-8') as f:
content = f.readlines()
Source: https://reddit.com/r/GenP/s/Utz2nzaz6G
C:\\Windows\\System32\\Drivers\\etc
0.0.0.0 ic.adobe.io
0.0.0.0 cc-api-data.adobe.io
@KevinNitroG
KevinNitroG / Dell set OEMID & StoreContentModifier.bat
Created August 5, 2023 04:20
Set OEMID & StoreContentModifier for Dell's computer in Microsoft Store to fix downloading Dell's apps issue. Run as administrator. Source from reddit maybe. But it doesn't work for me 😪
@echo off
setlocal
echo:
echo Setting OEMID in RegEdit...
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Store" /v OEMID /f /t REG_SZ /d DELL
echo:
echo Setting SCMID...
echo Fetching System Model Name