ftp -o - https://jcs.org/move_in | sh -
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

bin/progress: more diffs for more accuracy

+3 -1
+3 -1
bin/progress
··· 4 4 # gzip (68010): 56.13%, 27m52s left (1804580 bytes/sec) 5 5 # 6 6 7 + DIFFS_COUNT = 20 8 + 7 9 if !(file = ARGV[0]) 8 10 puts "usage: #{$0} <file>" 9 11 exit 1 ··· 34 36 35 37 if last_off > -1 36 38 diffs.push (off - last_off) 37 - if diffs.count == 10 39 + if diffs.count == DIFFS_COUNT 38 40 diffs.shift 39 41 end 40 42 end