❗ All the information provided on this tutorial are for educational purposes only. I'm not responsible for any misuse of this information. If you like the app buy it
Discover gists
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
1. Run 'Git Bash' | |
2. Right-click and select Options... | |
3. Select Text group at the left | |
4. Change Font to 'Lucida Console' | |
5. Select 'C' as Locale and 'UTF-8' as Character set | |
5. Select 'ru_RU' as Locale and 'UTF-8' as Character set | |
6. Apply and Save. | |
7. In the terminal execute: | |
git config --global core.quotepath false | |
git config --global i18n.commitencoding cp1251 |
Type | Name | Description | Approach |
---|---|---|---|
Problem |
Group Anagrams |
To group the Anagrams strings, Input : Array of Strings, Output : Array of arrays having Anagrams strings. |
for-loop to iterate strings of given array. Map to store unique sorted string as key and array of all string having same sorted string as value . Once Done return Array.from(map.values()) which contains array of arrays having Anagrams strings. |
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
needs() { | |
command -v "$1" > /dev/null || { >&2 printf "%s is required- not installed or in PATH; %s\n" "$1" "${@:2}"; return 1; } | |
} | |
_generate_curl_api_request_for_please() { | |
needs jq; | |
local request args timeout model curl; | |
local curl=${CURL:-curl}; | |
local model=${OPENAI_MODEL:-gpt-4o}; | |
local timeout=${OPENAI_TIMEOUT:-30}; |
You might want Audacity to work with the ASIO drivers supplied with your sound devices. Commmon reasons for this are:
- Only ASIO drivers are available for your hardware (eg Behringer mixers)
- Performance - ASIO has low latency (delays)
- You don't want to use the ASIO4All bridging driver with non ASIO drivers
- Multi channel support - though Audacity is not so good at handling other than Stereo or Mono
Due to licensing restrictions the Audacity team cannot provide a prebuilt version with Windows ASIO driver support. But with this guide and script you can easily build your own Audacity with ASIO support, on a Windows PC.
Since my Macbook Pro only has USB-C port, I used an USB-A to USB-C adapter to connect my F310 to it, but it does not work (pressing MODE button does not turn on the LED).
To make it work:
- Disconnect F310 from Mac
- On F310: switch X-input to D-input
- Hold Logitech button (in the middle)
- Connect F310 to Mac via adapter, now you can release the Logitech button.
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
; SpotifyGlobalKeys.ahk: | |
; AutoHotkey script to control Spotify with global keyboard shortcuts | |
; Author: James Teh <[email protected]> | |
; Copyright 2017-2018 James Teh | |
; License: GNU General Public License version 2.0 | |
DetectHiddenWindows, On | |
; Get the HWND of the Spotify main window. | |
getSpotifyHwnd() { |
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
#!/bin/bash | |
# Variables | |
JENKINS_HOME="/var/lib/jenkins" # Replace with your Jenkins home directory | |
S3_BUCKET="s3://your-s3-bucket-name" # Replace with your S3 bucket name | |
DATE=$(date +%Y-%m-%d) # Today's date | |
# Check if AWS CLI is installed | |
if ! command -v aws &> /dev/null; then | |
echo "AWS CLI is not installed. Please install it to proceed." |
NewerOlder