I hereby claim:
- I am sestus on github.
- I am sestus (https://keybase.io/sestus) on keybase.
- I have a public key whose fingerprint is 9CB5 A967 9E37 6E60 23A7 03F2 40C3 D77F 7026 6694
To claim this, I am signing this object:
function color_my_prompt { | |
local __time="\[\033[01;36m\](\t)" | |
local __user_name="\[\e[m\]\[\e[1;32m\]${USER}" | |
local __host_name="@${HOSTNAME}" | |
local __new_line="\[\e[m\]\n[\w]" | |
local __git_branch_color="\[\033[36m\]" | |
local __git_branch='`git branch 2> /dev/null | grep -e ^* | sed -E s/^\\\\\*\ \(.+\)$/\(\\\\\1\)\ /`' | |
local __prompt_tail="\[\033[35m\]$" | |
local __last_color="\[\033[00m\]" | |
export PS1="$__time $__user_name$__host_name $__new_line$__git_branch_color $__git_branch$__prompt_tail$__last_color " |
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mQINBFqQlc0BEADjSqCZh1AyRc5L4r9JMcQKVBhkk4O5lRZ9Hlf/TdKJT5nkTVvZ | |
0I+KdYXlc8YrZBPWk7ZiqfwbB1dk4juQkDpHrkTq60ONNANB5KyKP81cNZXYpuEd | |
WMQPEEDLJMkwHwHp1nok8j+sw1nD8GMINpCRU4oyHt7gy5pU5eZi9Nvq7w2Tf/CG | |
lTZOYSyAlJOp5lwOlleDHTW3N7i1U8foHl/vnrpWgproVYsXmZc1MBgktNZkE2WZ | |
q7KEXR3yIBPqnTy+Zm1PE4efvnuR4KhUHtyi+jA466wAbgyXLUxm/75B9RpHwTSx | |
oBeUdHu9L7USYm0eM7zn5p9uI4le7cyilHgOaWbffR68ucmGG61Lh+lkIO59E8oH | |
3YicbV3Jps9VuureLZepHYBSFnd9wmjlwReARmo08OflYlhIGjqVfFNYVXxtJz+7 | |
rcOepS8qX2uLpeL2FUM4C/U6qcv49ZrpWpyaTXZG3C5o+wALOtrMINokjD1z7Pjy |
#Estimate the size of all the files of a specific type under a directory (recursively) | |
find path/ -name "*<.suffix>" -print0 | du -sb --files0-from=- | awk '{ total += $1} END { print total/1024/1024/1024 }' | |
#Count the # of files of a specific type under a directory (recursively) | |
find /path -type f -name "*<.suffix>" -exec printf x \; | wc -c | |
#!/bin/bash | |
PROG_NAME=$(basename $0) | |
# Bash script developed to uncompress student exercises, regardless | |
# of the compressed file type. The bash script takes an argument, that | |
# corresponds to the directory that includes all student-subdirectories | |
# that contain the compressed exercises. | |
# E.g | |
# students/ | |
# sdi000001/ sdi000002/ sdi00003/ ..... |
I hereby claim:
To claim this, I am signing this object: