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
| // License:MIT | |
| local buttonNum = 4 -- Left small button is 3, Right small button is 4 | |
| local scrolling = false | |
| local scrollSteps = -2 -- When negative, it scrolls in reverse. | |
| hooksMouseUp = hs.eventtap.new({hs.eventtap.event.types.otherMouseUp}, function(e) | |
| if (e:getProperty(hs.eventtap.event.properties.mouseEventButtonNumber) == buttonNum and scrolling) then | |
| scrolling = false | |
| return true | |
| end |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>Electron Context Menu Sample</title> | |
| </head> | |
| <body> | |
| <script> |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>Electron Context Menu Test</title> | |
| </head> | |
| <body> | |
| <script> |
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
| // https://www.exceedsystem.net/2021/10/04/how-to-implement-otp-in-csharp-so-easy/ | |
| // License:MIT | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Security.Cryptography; | |
| using System.Threading; | |
| namespace _2FAS |
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
| // https://www.exceedsystem.net/2021/10/02/how-to-use-surfshark-vpn-from-linux-other-than-ubuntu-and-debian/ | |
| // License:MIT | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.IO; | |
| using System.Linq; | |
| namespace SurfsharkConnector | |
| { |
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
| // [VSCode Macros] extension | |
| // https://marketplace.visualstudio.com/items?itemName=EXCEEDSYSTEM.vscode-macros | |
| // License:MIT | |
| const vscode = require('vscode'); | |
| const fs = require('fs'); | |
| const path = require('path'); | |
| /** | |
| * Macro configuration settings | |
| * { [name: string]: { ... Name of the macro |
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
| // [VSCode Macros] extension | |
| // https://marketplace.visualstudio.com/items?itemName=EXCEEDSYSTEM.vscode-macros | |
| // License:MIT | |
| const vscode = require('vscode'); | |
| /** | |
| * Macro configuration settings | |
| * { [name: string]: { ... Name of the macro | |
| * no: number, ... Order of the macro | |
| * func: ()=> string | undefined ... Name of the body of the macro function |
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
| // [VSCode Macros] extension | |
| // https://marketplace.visualstudio.com/items?itemName=EXCEEDSYSTEM.vscode-macros | |
| // License:MIT | |
| const vscode = require('vscode'); | |
| /** | |
| * Macro configuration settings | |
| * { [name: string]: { ... Name of the macro | |
| * no: number, ... Order of the macro | |
| * func: ()=> string | undefined ... Name of the body of the macro function |
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
| // [VSCode Macros] extension | |
| // https://marketplace.visualstudio.com/items?itemName=EXCEEDSYSTEM.vscode-macros | |
| // License:MIT | |
| const vscode = require('vscode'); | |
| const formatter = require('sql-formatter'); | |
| /** | |
| * Macro configuration | |
| */ | |
| module.exports.macroCommands = { |
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
| // [VSCode Macros] extension | |
| // https://marketplace.visualstudio.com/items?itemName=EXCEEDSYSTEM.vscode-macros | |
| // License:MIT | |
| const vscode = require('vscode'); | |
| const acorn = require('acorn'); | |
| /** | |
| * Macro configuration | |
| */ | |
| module.exports.macroCommands = { |