Skip to content

Instantly share code, notes, and snippets.

View bravecorvus's full-sized avatar
💭
磨穿鉄硯

Andrew Lee bravecorvus

💭
磨穿鉄硯
View GitHub Profile
This file has been truncated, but you can view the full file.
root@d8da751e2344:/mount# strace -s300 -f -r -T ./gegl.ermine image.png -o gegloutput.png -- fattal02
0.000000 execve("./gegl.ermine", ["./gegl.ermine", "image.png", "-o", "gegloutput.png", "--", "fattal02"], 0x7ffddf662768 /* 9 vars */) = 0 <0.625472>
0.629144 readlink("/proc/self/exe", "/mount/gegl.ermine", 4096) = 18 <0.000225>
0.000694 stat("/mount/gegl.ermine", {st_mode=S_IFREG|0755, st_size=126019752, ...}) = 0 <0.001309>
0.001666 uname({sysname="Linux", nodename="d8da751e2344", ...}) = 0 <0.000196>
0.000413 open("/mount/gegl.ermine", O_RDONLY) = 3 <0.000963>
0.002368 fstat(3, {st_mode=S_IFREG|0755, st_size=126019752, ...}) = 0 <0.000783>
0.001930 mmap(0x10003000, 249856, PROT_READ, MAP_PRIVATE|MAP_FIXED, 3, 0x7e000) = 0x10003000 <0.000144>
0.000389 close(3) = 0 <0.000823>
0.001122 mmap(0xfffd000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xfffd000 <0.000266>
This file has been truncated, but you can view the full file.
root@d8da751e2344:/mount# strace -s300 -f -r -T gegl image.png -o gegloutput.png -- fattal02
0.000000 execve("/usr/bin/gegl", ["gegl", "image.png", "-o", "gegloutput.png", "--", "fattal02"], 0x7ffd25309df8 /* 9 vars */) = 0 <0.000931>
0.001116 brk(NULL) = 0x5571b988d000 <0.000024>
0.000755 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) <0.000020>
0.000125 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) <0.000026>
0.000077 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 <0.000035>
0.000112 fstat(3, {st_mode=S_IFREG|0644, st_size=22280, ...}) = 0 <0.000024>
0.000076 mmap(NULL, 22280, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fef7f13a000 <0.000016>
0.000044 close(3) = 0 <0.000018>
0.000056 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) <0.000024>
execve("./gegl.ermine", ["./gegl.ermine", "image.png", "-o", "output.png", "--", "fattal02"], 0x7ffd53f163b8 /* 9 vars */) = 0
readlink("/proc/self/exe", "/mount/gegl.ermine", 4096) = 18
stat("/mount/gegl.ermine", {st_mode=S_IFREG|0755, st_size=267995528, ...}) = 0
uname({sysname="Linux", nodename="834dae66fcad", ...}) = 0
open("/mount/gegl.ermine", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=267995528, ...}) = 0
mmap(0xffdc000, 409600, PROT_READ, MAP_PRIVATE|MAP_FIXED, 3, 0x7e000) = 0xffdc000
close(3) = 0
mmap(0xffd6000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xffd6000
time(NULL) = 1555788988 (2019-04-20T19:36:28+0000)
This file has been truncated, but you can view the full file.
execve("/app/gegl.ermine", ["/app/gegl.ermine", "image.png", "-o", "output.png", "--", "fattal02"], 0x7ffe3af0dfc8 /* 9 vars */) = 0
uname({sysname="Linux", nodename="04067d3690a3", ...}) = 0
open("/app/gegl.ermine", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=267995528, ...}) = 0
mmap(0xffdc000, 409600, PROT_READ, MAP_PRIVATE|MAP_FIXED, 3, 0x7e000) = 0xffdc000
close(3) = 0
mmap(0xffd6000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xffd6000
time(NULL) = 1555788914 (2019-04-20T19:35:14+0000)
open("/root/.ermine/ErminePackedAppTrial.x86_64.lic", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ermine/ErminePackedAppTrial.x86_64.lic", O_RDONLY) = -1 ENOENT (No such file or directory)
root@e8fa1d5082de:/mount# strace -s300 -f ./gegl.ermine
execve("./gegl.ermine", ["./gegl.ermine"], 0x7fff3c582950 /* 9 vars */) = 0
readlink("/proc/self/exe", "/mount/gegl.ermine", 4096) = 18
stat("/mount/gegl.ermine", {st_mode=S_IFREG|0755, st_size=10426208, ...}) = 0
uname({sysname="Linux", nodename="e8fa1d5082de", ...}) = 0
open("/mount/gegl.ermine", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=10426208, ...}) = 0
mmap(0x1003b000, 20480, PROT_READ, MAP_PRIVATE|MAP_FIXED, 3, 0x7e000) = 0x1003b000
close(3) = 0
mmap(0x10035000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x10035000
root@f5c960513f28:/mount# strace -s300 -f ./gegl.ermine
execve("./gegl.ermine", ["./gegl.ermine"], 0x7ffcfd077ff0 /* 9 vars */) = 0
readlink("/proc/self/exe", "/mount/gegl.ermine", 4096) = 18
stat("/mount/gegl.ermine", {st_mode=S_IFREG|0755, st_size=10426208, ...}) = 0
uname({sysname="Linux", nodename="f5c960513f28", ...}) = 0
open("/mount/gegl.ermine", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=10426208, ...}) = 0
mmap(0x1003b000, 20480, PROT_READ, MAP_PRIVATE|MAP_FIXED, 3, 0x7e000) = 0x1003b000
close(3) = 0
mmap(0x10035000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x10035000
mfcc := exec.Command("mfcc.sh", "/output/"+fileheader.Filename+".raw", strconv.Itoa(frameLength), strconv.Itoa(frameLengthOutput), strconv.Itoa(framePeriod), strconv.Itoa(mgcOrder))
mfccout, mfccerr := mfcc.Output()
if mfccerr != nil {
log.Println("Error executing mfcc.sh")
log.Println("error:", mfccerr)
http.Error(w, http.StatusText(404)+": "+mfccerr.Error(), 404)
return
}
arr := make([]float64, 0)
//...
myVoiceIt.videoVerification({
userId: userId,
contentLanguage : "en-us",
videoFilePath : "/Users/username/Downloads/verify.mp4"
},(jsonResponse)=>{
if (jsonResponse["responseCode"] === "SUCC") {
// Add behavior for when user is successfully authenticated
} else {
// Add behavior for when video verification failed
myVoiceIt.createUser((jsonResponse)=>{
let userId = jsonResponse["userId"]; // Save generated userId to use later
myVoiceIt.getAllEnrollments((jsonResponse)=>{
console.log(jsonResponse);
});
});