This gist contains Windows batch files for setting monitor brightness and contrast presets using ControlMyMonitor.
Included presets:
- 10
- 25
- 50
- 75
This gist contains Windows batch files for setting monitor brightness and contrast presets using ControlMyMonitor.
Included presets:
| ; Typewriter Paste - Ctrl+Shift+V | |
| ; Types clipboard content character by character with delay (AutoHotkey v1.1) | |
| ; Delay in ms between characters (adjust to taste) | |
| DelayMs := 75 | |
| ^+v:: | |
| saved := ClipboardAll | |
| Clipboard := Clipboard | |
| if (StrLen(Clipboard) = 0) { | |
| MsgBox Clipboard is empty. |
| <# | |
| .SYNOPSIS | |
| TSIP CLI Tool - A command-line interface for the tSIP VoIP softphone. | |
| .DESCRIPTION | |
| Automates tSIP via its SCRIPT_B64 interface. Supports dialing, sending DTMF, | |
| and displaying messages. Includes a built-in contact manager (contacts.csv). | |
| .PARAMETER DefaultInput | |
| Sends DTMF tones by default if no switch is provided. (Position 0) |
| /** | |
| * EQ Bank – Angular Date Picker Helper | |
| * ----------------------------------- | |
| * Tested on: | |
| * https://secure.eqbank.ca/accounts/main/details | |
| * | |
| * Purpose: | |
| * Programmatically set date values on Angular-controlled | |
| * date picker inputs and submit the filter form. | |
| * |
| # Summary of the Python Code | |
| # The Python script export_scripts_from_json.py takes a JSON file as input, extracts JavaScript code snippets from specific nodes within the JSON structure, and saves each snippet as a separate .js file. | |
| # | |
| # Key Functionality | |
| # ------------------ | |
| # JSON Input: The script reads a JSON file from the path provided as a command-line argument. | |
| # Data Extraction: It navigates the JSON structure to find nodes of type "script" and extracts the content of the "script" property within their "properties". | |
| # File Output: Each extracted script is saved to a .js file. The files are named using a combination of a sequential counter (01, 02, 03, etc.) and the script's "uid" property. The script creates a directory (if it doesn't exist) named after the workflowName in the JSON file and saves all the .js files in that directory. | |
| # Error Handling: The script includes error handling for file not found, invalid JSON format, missing keys in the JSON data, and issues during file writing. | |
| # Filename San |
This post explores two methods for integrating with TSIP (SIP Client): leveraging browser protocol integration and utilizing a REST API through shell2http.
TSIP supports a custom protocol, tsip:, which allows direct execution of Lua scripts from a web browser. This method eliminates the need for an intermediary server.
To execute a script, construct a URL with the tsip: protocol and the SCRIPT_B64 parameter, which contains the base64-encoded Lua script.
| <# | |
| .SYNOPSIS | |
| Executes the FFmpeg command to convert an input file to a specified audio format. | |
| .DESCRIPTION | |
| This function converts a given input file to the specified audio format using the FFmpeg command-line tool. | |
| It allows customization of audio parameters such as sampling rate, channels, bitrate, and codec. | |
| .PARAMETER InputFile | |
| The path to the input file. |