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 / record.vb
Created August 4, 2022 11:06 — forked from rigwild/record.vb
Export Powerpoint presentation as a 60 fps video
' Save presentation as pptm then create a macro in "View > Macros", run it
Sub MkVideo()
If ActivePresentation.CreateVideoStatus <> ppMediaTaskStatusInProgress Then
ActivePresentation.CreateVideo FileName:=Environ("USERPROFILE") & "\Desktop\video.wmv", _
UseTimingsAndNarrations:=True, _
VertResolution:=1080, _
FramesPerSecond:=60, _
Quality:=100
Else: MsgBox "There is another conversion to video in progress"
End If
@KevinNitroG
KevinNitroG / tai-file-bi-chan-download-tu-google-drive
Created October 2, 2022 10:40 — forked from hauvuhd/tai-file-bi-chan-download-tu-google-drive
Tải file bị chặn download từ Google Drive - PDF
let jspdf = document.createElement("script");
jspdf.onload = function () {
let pdf = new jsPDF();
let elements = document.getElementsByTagName("img");
for (let i in elements) {
let img = elements[i];
if (!/^blob:/.test(img.src)) {
continue;

CÁCH TÌM PHIM:

  • Nhập tên phim vào thanh tìm kiếm
  • Cú pháp: Tên + Năm ra mắt phim + Season
  • Ví dụ:
    • far from home 2022
    • Inception
    • Squid game S01
    • Hulk 1080p
  • Umbrella Academy S02E04
@KevinNitroG
KevinNitroG / Code cho Bảo Trân.py
Last active April 20, 2023 14:08
Code cho Bảo Trân 2/4/23 + 20/4/23
# Câu 1
print('CÂU 1:\n')
n = 0
while n<10 or n.is_integer() == False:
n = float(input("Nhập số nguyên dương lớn hơn 10: "))
n = int(n)
# Câu 2
print('\n---\n\nCÂU 2:\n')
array = []
@KevinNitroG
KevinNitroG / Liệt kê danh sách file trong folder Google Drive vào Google Sheets - GDrive.VIP.js Hướng dẫn cách liệt kê danh sách file trong folder Google Drive vào Google Sheets- List all files in a folder Google Drive by GDrive.VIP
// Hướng dẫn liệt kê danh sách file trong folder Google Drive - GDrive.VIP
// GDRIVE.VIP: Dán ID folder vào dưới
var folderId = 'ID Folder';
// Function 1: Liệt kê tất cả folder và viết vào sheet.
function listFolers(){
getFolderTree(folderId, false);
};
@KevinNitroG
KevinNitroG / KevinNitro's RVX Settings.json
Last active May 27, 2024 17:40
KevinNitro's Revanced Extended settings
"alt_thumbnail_dearrow_connection_toast": true,
"append_time_stamp_information_type": false,
"bypass_ambient_mode_restrictions": true,
"custom_playback_speed_menu_type": true,
"custom_playback_speeds": "0.2\n0.5\n0.7\n1.0\n1.2\n1.3\n1.5\n1.7\n1.8\n2.0\n2.2\n2.5\n3.0\n3.5\n4.0\n5.0",
"custom_player_overlay_opacity": 10,
"custom_seekbar_color_value": "#ff0000",
"default_playback_speed": 1,
"default_video_quality_mobile": 720,
"default_video_quality_wifi": 1080,
@KevinNitroG
KevinNitroG / DGNL-2.md
Last active June 5, 2023 16:38
Điểm DGNL đợt 2 - 2023
Tên Điểm
Huỳnh Minh Anh 716
Trần Nhật Phương Anh
Nguyễn Quốc Anh 893
Đào Thị Quỳnh Anh
Đoàn Thục Anh 866
Nguyễn Phạm Trâm Anh 917
Nguyễn Tuấn Anh 680
Nguyễn Đức Bảo 818
@KevinNitroG
KevinNitroG / Convert Dictionary.py
Last active July 11, 2023 11:48
Đây là python script chuyển đổi dictionary (viết tắt) giữa các phần mềm (GBoard, OpenKey, EVKey, UniKey)
origin =r"""
"""
import os
import sys
import fnmatch
# Const
gboard_format = r"# Gboard Dictionary version:1"
gboard_macro = "dictionary.txt"
@KevinNitroG
KevinNitroG / Script douyin.js
Created July 10, 2023 16:19
Script tải video douyin, f12 vào console paste, share bởi Nguyen Tung
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",