Using ffmpeg for windows from gyan.dev at https://www.gyan.dev/ffmpeg/builds/, it is executed in WSL shell (in case you are wondering with all the shell syntax - for cmd or PowerShell just change it to windows path)
So one day I get unknown revision
error after running go get
command from private repo
The easiest solution is to just add alias to force to use ssh (so credential will use our underlying ~/.ssh)
[url "ssh://[email protected]:2222/"]
insteadOf = https://theprivaterepo.com/
Some recomend to use .netrc
or use git credential provider
I hereby claim:
- I am azureru on github.
- I am azureru (https://keybase.io/azureru) on keybase.
- I have a public key whose fingerprint is 9395 B8CA C51B FD8E 9BB2 6419 5DCD 4150 C59E AA8C
To claim this, I am signing this object:
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
#!/bin/bash | |
### User Pass Mysql ### | |
USER=backup | |
PASS=backup | |
DBNAME=project_sql | |
BACKUP_DIR="/root/backup" | |
DST_HOST="user@host" | |
REMOTE_DST_DIR="/root/backup" | |
BACKUP_DAILY=true # if set to false backup will not work |
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
#!/bin/bash | |
wget https://image | |
ftp -n <<EOF | |
open ftp.example.com | |
user user secret | |
put my-local-file.txt | |
EOF |
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
# concat images | |
ffmpeg -r 30 -f image2 -s 1920x1080 -i end%05d.png -vcodec libx264 -crf 25 -pix_fmt yuv420p part0.mp4 | |
# concat videos | |
for f in ./part*.mp4; do echo "file '$f'" >> mylist.txt; done | |
fmpeg -f concat -safe 0 -i mylist.txt -c copy output.mp4 |
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
// the node-script | |
var request = global.get('request'); | |
var accessToken = "YOURACCESSTOKEN"; | |
var domain = "YOURDOMAIN"; | |
var record = "YOURDNSRECORD"; | |
var ip = msg.payload; | |
var options = { |
Getting started:
Related tutorials:
- MySQL-CLI: https://www.youtube.com/playlist?list=PLfdtiltiRHWEw4-kRrh1ZZy_3OcQxTn7P
- Analyzing Business Metrics: https://www.codecademy.com/learn/sql-analyzing-business-metrics
NewerOlder