I hereby claim:
- I am 7sdream on github.
- I am 7sdream (https://keybase.io/7sdream) on keybase.
- I have a public key whose fingerprint is B37B 94A8 E2B8 AB65 FE71 731A 72A6 D9FC EDDA B75D
To claim this, I am signing this object:
| # Docker Version Manager wrapper for *nix | |
| # Implemented as a POSIX-compliant function | |
| # Should work on sh, dash, bash, ksh, zsh | |
| # To use, source this file from your bash profile | |
| begin # This ensures the entire script is downloaded | |
| set DVM_SCRIPT_SOURCE $_ | |
| # __dvm_has() { | |
| # type "$1" > /dev/null 2>&1 |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| if [ "$#" -lt 2 ]; then | |
| echo "Usage: $0 videofile output fps width start duration" | |
| exit 1 | |
| fi | |
| VIDEO=$1 | |
| OUTPUT=$2 | |
| FPS=$3 |
| #!/bin/bash | |
| # ===== setting ===== | |
| FORMAT=mp4 | |
| VIDEO_CODEC=libx264 | |
| VIDEO_GPU_CODEC=h264_videotoolbox | |
| PROFILE=high | |
| LEVEL=4.2 | |
| PRESET=veryslow |
| // This script convert Insomnia export json file(v4) into a HttpYac project. | |
| // Only tested for http requests. gRPC, GraphQL, SSE or other request type may not work. | |
| const fs = require("fs"); | |
| const util = require("util"); | |
| const insomnia = JSON.parse(fs.readFileSync("insomnia.json")).resources; | |
| const itemMap = new Map(insomnia.map(item => [item._id, item])); | |
| const cleanFilename = (s) => s.replace(/[/\\?%*:|"<>]/g, "-"); |
| function with-env { | |
| $originalEnvValues = @{} | |
| $envAssignments = @() | |
| $command = @() | |
| $isEnvAssignment = $true | |
| foreach ($arg in $args) { | |
| if ($isEnvAssignment -and $arg -match '=') { | |
| $envAssignments += $arg | |
| } else { |