All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker
. This will install the whole docker suite, left only Tini to be compiled manually.
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
add_action( 'wfacp_after_checkout_page_found', function () { | |
if ( function_exists( 'consulting_load_theme_scripts_and_styles' ) ) { | |
remove_action( 'wp_enqueue_scripts', 'consulting_load_theme_scripts_and_styles' ); | |
} | |
} ); |
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
Me: | |
I am looking to build a simple GUI site that allows me to paste in some text, click "rewrite", and get rewritten, cleaned-up text back. This input text is ran through the Claude API to rewrite it. The GUI should be very simple. I just want a text box for input and a text box for output. I also two sliders on the side with labels on the ends: | |
Tone: casual on the left, formal on the right. The middle instructs the model to keep the tone/voice the same. | |
Length: shorter on the left, longer on the right. | |
Above these sliders, I want a model selector dropdown that let's me pick which Claude model to use. I also want a copy text button under the output textbox. The three Claude models are: | |
claude-3-opus-20240229. Display name "Claude 3 Opus". | |
claude-3-sonnet-20240229. Display name "Claude 3 Sonnet". | |
claude-3-haiku-20240307. Display name "Claude 3 Haiku". |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\Wine\Mac Driver] | |
"LeftCommandIsCtrl"="Y" | |
"RightCommandIsCtrl"="Y" | |
"LeftOptionIsAlt"="Y" | |
"RightOptionIsAlt"="Y" | |
[HKEY_CURRENT_USER\Control Panel\Desktop] | |
"FontSmoothing"="2" |
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
nodes: | |
- id: webcam | |
custom: | |
source: https://huggingface.co/datasets/dora-rs/dora-idefics2/raw/main/operators/opencv_stream.py | |
outputs: | |
- image | |
- id: idefics2 | |
operator: | |
python: https://huggingface.co/datasets/dora-rs/dora-idefics2/raw/main/operators/idefics2_op.py | |
inputs: |
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
#!/usr/bin/env bash | |
# Temporarily enable developer mode for the Spotify desktop client on Linux and macOS. | |
showHelp () { | |
echo -e \ | |
"Usage: ./tmpdevmodify.sh [option]\n | |
Options: | |
-c, --clearcache Clear Spotify app cache | |
-d, --debug Add Debug Tools to user dropdown menu |
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
.editor-group-watermark > .letterpress{ | |
background-image: url("https://raw.githubusercontent.com/Aikoyori/ProgrammingVTuberLogos/main/VSCode/VSCode-Thick.png") !important; | |
opacity: .75; | |
aspect-ratio: 3/2 !important; | |
} |
Answer: All APIs of Node.js library are aynchronous that is non-blocking. It essentially means a Node.js based server never waits for a API to return data. Server moves to next API after calling it and a notification mechanism of Events of Node.js helps server to get response from the previous API call.
Source: tutorialspoint.com
How to make an application icon for macOS using
iconset
&iconutil
NewerOlder