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
| -----BEGIN CERTIFICATE----- | |
| MIIE8jCCA9qgAwIBAgISA6rh5N6GnruMhHayEhlY0OVfMA0GCSqGSIb3DQEBCwUA | |
| MDMxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQwwCgYDVQQD | |
| EwNSMTAwHhcNMjQwNzI1MTczMTA4WhcNMjQxMDIzMTczMTA3WjAcMRowGAYDVQQD | |
| ExF3d3cuYmFubmlzdGVyLm9yZzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC | |
| ggEBALTc9hRTR260UeIPQIC0kA2JVJZC+aQzet+4KorihR0ryf2pHtElPT9b2MNn | |
| 2XOwa/64H2xAJUwDg4Trdc9GmgEwRsc5TNytqa7xCvFI9p5IE39wHquVNmyJro/O | |
| zZMXwXyFOBeS5+txPGgYaKQQ7EzsXx9cRvnBtO04kfl8pNjx5WUEIZK/GcwJhhUv | |
| zAU2m3efS9VJzCPLJ/QK6srmoZc+de2aSYksop9c3qh0avtpjZzbyt/jgREFu1go | |
| XgCqNMwK80GLwRKVbCwpyEXMsLfEVpgaBZpWIohPmP7pgint6UpkgXC3WpQOXGHP |
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
| #######b. ### ### .d####b.########################b d############## | |
| ### Y##b### ###d##P Y##b ### ### ####b d#### ### | |
| ### ###### ###Y##b. ### ### #####b.d##### ### | |
| ### d##P### ### "Y###b. ### ####### ###Y#####P### ### | |
| #######P" ### ### "Y##b. ### ### ### Y###P ### ### | |
| ### T##b ### ### "### ### ### ### Y#P ### ### | |
| ### T##b Y##b. .d##PY##b d##P ### ### ### " ### ### | |
| ### T##b "Y#####P" "Y####P" ### ### ### ### ### | |
| # ignore = [] # Skip formatting the specified files and directories |
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 bash | |
| for json in $(kubectl get svc -o json | jq -c '.items[] | select(.kind == "Service") | {name:.metadata.name, port:.spec.ports[0].port}'); do | |
| service=$(echo "${json}" | jq .name | tr -d '"') | |
| remote_port=$(echo "${json}" | jq .port | tr -d '"') | |
| local_port=$((remote_port)) | |
| if [ $((local_port)) -lt 1024 ]; then | |
| local_port=$((local_port + 8000)) | |
| fi | |
| echo kubectl port-forward "service/${service}" "${local_port}:${remote_port}" | |
| done |
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
| --ignore-dir=node_modules/ | |
| --ignore-dir=.venv/ | |
| --ignore-dir=.venv | |
| --ignore-dir=*.egg-info | |
| --ignore-dir=... | |
| --ignore-dir=.caches | |
| --ignore-dir=man | |
| --color-colno=137 | |
| --type-add=rs=.rs |
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 bash | |
| set -exu |
>>> from signal import Signals
>>> possible_signals = [(name, getattr(signal, name)) for name in dir(Signals) if name == name.upper()]
>>> valid_signals = [(name, signal) for name, signal in possible_signals if isinstance(signal, Signals)]
>>> len(valid_signals)
41
>>> [(name, signal.real) for name, signal in valid_signals]
[('SIGABRT', 6),
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
| # Output a single frame from the video into an image file: | |
| ffmpeg -i input.mov -ss 00:00:14.435 -vframes 1 out.png | |
| # Output one image every second, named out1.png, out2.png, out3.png, etc. | |
| # The %01d dictates that the ordinal number of each output image will be formatted using 1 digits. | |
| ffmpeg -i input.mov -vf fps=1 out%d.png | |
| # Output one image every minute, named out001.jpg, out002.jpg, out003.jpg, etc. | |
| # The %02d dictates that the ordinal number of each output image will be formatted using 2 digits. | |
| ffmpeg -i input.mov -vf fps=1/60 out%02d.jpg |
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
| https://linktr.ee/falcaogabriel |
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
| 457256DB220D76CA139A6F837A9C17E806F18A32 |