find . -name "*.sh" -exec git ls-files -s {} \;
find . -name "*.sh" -exec git update-index --chmod=+x {} \;
See final versions without trash here
- Download necessary version of docker binaries from https://docs.docker.com/engine/install/binaries/ and extract archive to
c:/Program Files
, for example, using script in powershell. Run powershell as Administrator and call:FilesExpand-Archive .\docker-20.10.9.zip -DestianationPath $Env:ProgramFiles
docker.exe
anddockerd.exe
will be herec:/Program Files/docker/
.
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
type AnyFunction = (...args: any[]) => any | |
function useEvent<T extends AnyFunction>(callback?: T) { | |
const ref = useRef<AnyFunction | undefined>(() => { | |
throw new Error("Cannot call an event handler while rendering.") | |
}) | |
// Or useInsertionEffect if it's React 18 | |
useLayoutEffect(() => { | |
ref.current = callback | |
}) |
feat
Commits, that adds or remove a new featurefix
Commits, that fixes a bugrefactor
Commits, that rewrite/restructure your code, however does not change any API behaviourperf
Commits are specialrefactor
commits, that improve performancestyle
Commits, that do not affect the meaning (white-space, formatting, missing semi-colons, etc)test
Commits, that add missing tests or correcting existing testsdocs
Commits, that affect documentation onlybuild
Commits, that affect build components like build tool, ci pipeline, dependencies, project version, ...ops
Commits, that affect operational components like infrastructure, deployment, backup, recovery, ...
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
import android.util.Log | |
import io.ktor.util.decodeBase64Bytes | |
import io.ktor.util.encodeBase64 | |
import okhttp3.OkHttpClient | |
import okhttp3.Request | |
import okhttp3.Response | |
import okhttp3.WebSocket | |
import okhttp3.WebSocketListener | |
import okio.ByteString | |
import org.json.JSONArray |
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
#!/usr/bin/env ruby | |
# deep_research.rb | |
require 'openai' | |
require 'json' | |
require 'net/http' | |
require 'uri' | |
require 'timeout' | |
require 'time' |