I hereby claim:
- I am colinmcintosh on github.
- I am colinmcintosh (https://keybase.io/colinmcintosh) on keybase.
- I have a public key whose fingerprint is 8677 7BE8 2F3B 4345 6B86 2837 B0BD 806E 5D45 F2FF
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
find / -name '*' -type f -print0 | xargs -0 ls -l | awk '{ total += $5; count += 1}; END { print (total/count)/1024/1024 " GB" }' |
def second_largest(list_of_numbers): | |
return sorted(set(list_of_numbers))[-2] | |
def second_largest_two(list_of_numbers): | |
x = None | |
for i in list_of_numbers: | |
if x is None or i > x: | |
x, y = i, x | |
return y |
def max_in_list(list_of_numbers): | |
x = list_of_numbers.pop() | |
for i in list_of_numbers: | |
if i > x: x = i | |
return x |