- Prepare script on terminal
- Copy data
- Run script
- Move focus to destination target
- Script will 'type' for you
func newDropletUploadRequest(uri string, path string, uuid string) (*http.Request, error) { | |
file, err := os.Open(path) | |
if err != nil { | |
return nil, err | |
} | |
checksum, err := filesha256(file) | |
uri = uri + "/droplets/" + uuid + "/" + checksum | |
BEGIN; | |
DELETE FROM rendered_templates_archives as RT | |
WHERE RT.instance_id IN ( | |
SELECT I.id FROM instances AS I INNER JOIN deployments AS D ON I.deployment_id = D.id | |
WHERE D.name = [$deploymentName]); | |
DELETE FROM records as R WHERE R.name IN ( |