<commit_before>##################### sysdig ##################################################

alias sysdig-topcontainers-net='sudo sysdig -c topcontainers_net'
alias sysdig-htop='sudo csysdig -pc'

sysdig-k8(){
  if [[ $# -eq 0 ]]; then
    echo "USAGE: sysdig-k8 <KUBERNETES_URI>"
    echo "KUBERNETES_URI need to be K8 API URI similar to 'http://admin:password@127.0.0.1:8080'"
    return
  fi
  local _KUBERNETES_URI="$1"
  sudo csysdig -pc -k "${_KUBERNETES_URI}"
}

acpi-status(){
  local at_time battery temp adapter
  at_time=$(date)
  battery=$(acpi -b | awk '{print $4}')
  temp=$(acpi -t | awk '{print $3,$4}')
  adapter=$(acpi -a | awk '{print $3}')
  echo "[ ${at_time} ] Battery: ${battery} | Temp: ${temp} | Adapter: ${adapter}"
}<commit_msg>[profile] fixed acpi-status fo battery<commit_after>##################### sysdig ##################################################

alias sysdig-topcontainers-net='sudo sysdig -c topcontainers_net'
alias sysdig-htop='sudo csysdig -pc'

sysdig-k8(){
  if [[ $# -eq 0 ]]; then
    echo "USAGE: sysdig-k8 <KUBERNETES_URI>"
    echo "KUBERNETES_URI need to be K8 API URI similar to 'http://admin:password@127.0.0.1:8080'"
    return
  fi
  local _KUBERNETES_URI="$1"
  sudo csysdig -pc -k "${_KUBERNETES_URI}"
}

acpi-status(){
  local at_time battery temp adapter
  at_time=$(date --rfc-3339='seconds')
  battery=$(acpi -b | awk '{print $4}')
  temp=$(acpi -t | awk '{print $3,$4}')
  adapter=$(acpi -a | awk '{print $3}')
  echo "[ ${at_time} ] Battery: ${battery} | Temp: ${temp} | Adapter: ${adapter}"
}
{'fraction_non_alphanumeric': 0.2528809218950064, 'fraction_numerical': 0.026888604353393086, 'mean_word_length': 4.542553191489362, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3278251', 'n_tokens_mistral': 604, 'n_tokens_neox': 577, 'n_words': 145}