This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Bypass All Shortlinks | |
// @name:id Bypass Semua Shortlink | |
// @name:ug Bypass بارلىق قىسقا ئۇلىنىشلار | |
// @name:ar تجاوز الجميع الروابط المختصرة | |
// @name:he לַעֲקוֹף את כל קישורים קצרים | |
// @name:hi सभी शॉर्टलिंक को बायपास करें | |
// @name:ja バイパス 全て ショートリンク | |
// @name:fr Bypass Tout Lien courts | |
// @name:ko 모든 짧은 링크 우회 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Always on focus | |
// @namespace https://minhquang.xyz/focustest | |
// @author moi, daijro | |
// @version 1.0.0 | |
// @description Ngăn các trang web biết rằng bạn đã chuyển tab hoặc không ở trong trang web. | |
// @include * | |
// @run-at document-start | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
okokok | |
123 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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 | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
import os | |
# Đường dẫn đến file txt ban đầu | |
input_file_path = "words.txt" | |
# Đường dẫn đến file txt mới sẽ ghi ra | |
output_file_path = "tudien.txt" | |
# Đọc nội dung file txt ban đầu |