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.exeanddockerd.exewill 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 | |
| }) |
featCommits, that adds or remove a new featurefixCommits, that fixes a bugrefactorCommits, that rewrite/restructure your code, however does not change any API behaviourperfCommits are specialrefactorcommits, that improve performancestyleCommits, that do not affect the meaning (white-space, formatting, missing semi-colons, etc)testCommits, that add missing tests or correcting existing testsdocsCommits, that affect documentation onlybuildCommits, that affect build components like build tool, ci pipeline, dependencies, project version, ...opsCommits, 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' |