Try this script if you want to generate V2RayN style links:
This file contains hidden or 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
| { | |
| "log": { | |
| "access": "/var/log/v2ray/access.log", | |
| "error": "/var/log/v2ray/error.log", | |
| "loglevel": "warn" | |
| }, | |
| "inbounds": [ | |
| { | |
| "port": 443, | |
| "tag": "itor", |
This file contains hidden or 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
| mouseHook := SetWindowsHookEx(14, "LowLevelMouseProc") | |
| , keyboardHook := SetWindowsHookEx(13, "LowLevelKeyboardProc") | |
| exit | |
| SetWindowsHookEx(idHook, callback) { | |
| if (!hHook := DllCall(Format("SetWindowsHookEx{}", (A_IsUnicode) ? ("W") : ("A")), "Int", idHook, "Ptr", RegisterCallback(callback, "Fast"), "Ptr", DllCall("GetModuleHandle", "UInt", 0, "Ptr"), "UInt", 0, "Ptr")) { | |
| throw (Exception(Format("0x{:X}", A_LastError), -1, FormatMessage(A_LastError))) | |
| } |
This file contains hidden or 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 Amozeshyar Bypass iGap | |
| // @version 1 | |
| // @description Bypass Amozeshyar iGap code | |
| // @author Yedoost | |
| // @match http://stdn.iau.ac.ir/Student/captchaProcess | |
| // @match http://stdn.iau.ac.ir/Student/manageAccount | |
| // @grant none | |
| // ==/UserScript== |
This file contains hidden or 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 Discord Token Login | |
| // @namespace https://gist.github.com/m-Phoenix852/d63d869f16e40dac623c9aa347e8641a/ | |
| // @version 1.1 | |
| // @description Taking over discord's tokens! | |
| // @author Phoenix852 | |
| // @match *://discord.com/login | |
| // @updateURL https://gist.github.com/m-Phoenix852/d63d869f16e40dac623c9aa347e8641a/raw/6d1ee63df17685e4ea06018bd8b47541d4261b82/index.user.js | |
| // @grant none | |
| // @iconURL https://i.imgur.com/rI8GsTz.png |
This file contains hidden or 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
| """ | |
| A Python script for downloading all files under a folder in Google Drive. | |
| Downloaded files will be saved at the current working directory. | |
| This script uses the official Google Drive API (https://developers.google.com/drive). | |
| As the examples in the official doc are not very clear to me, | |
| so I thought sharing this script would be helpful for someone. | |
| To use this script, you should first follow the instruction | |
| in Quickstart section in the official doc (https://developers.google.com/drive/api/v3/quickstart/python): |
This file contains hidden or 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
| # ~/.config/starship.toml | |
| "$schema" = "https://starship.rs/config-schema.json" | |
| # NOTE: Emojis with variation selectors or unstable display widths may cause prompt rendering glitches. | |
| # Examples include ⚔️ 🏎️ 🗃️ 🗑️ ✒️ | |
| # If layout breaks, prefer colourful emojis without variation selectors. | |
| format = """ | |
| $username$hostname$directory$git_branch$git_commit$git_state$git_metrics$git_status$julia$python${custom.python_venv}$rust$typst$conda$direnv | |
| $character""" |
This file contains hidden or 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
| function promiseAll() { | |
| if (!arguments.length) { | |
| return Promise.resolve(null); | |
| } | |
| var args = arguments; | |
| if (args.length === 1 && Array.isArray(args[0])) { | |
| args = args[0]; | |
| } | |
| var count = 1; | |
| var total = args.length; |
This file contains hidden or 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
| #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
| ; #Warn ; Enable warnings to assist with detecting common errors. | |
| SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
| SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
| #SingleInstance Force | |
| WinWait, ahk_exe voicemeeterpro.exe ; wait for voicemeeter | |
| DllLoad := DllCall("LoadLibrary", "Str", "C:\Program Files (x86)\VB\Voicemeeter\VoicemeeterRemote64.dll") |
This is an example of how to convert notes from OneNote into Markdown to use in other, less annoying Note applications. I am using PowerShell on Windows here, but other shell/scripting environments would work as well. If you want separate .md files, you'll need to export your OneNote pages separately. Exporting a section, or a selection of pages creates a single .docx file.
- Download and install Pandoc
- Export each of your note pages to a
.docx(Word) format using OneNote export from the File menu - Gather all of these
.docxfiles into a directory - Open directory in File Explorer
- Open Powershell from the File Explorer using File -> Open Windows Powersell
- Run the following command: