Alessandro Fogli Iseppe

Results 5 comments of Alessandro Fogli Iseppe

> https://github.com/farag2/Utilities/blob/master/Rebuild_icon_cache.cmd It's not working, screen went all black until restart.

After installing, it needs a restart in order to work.

> We need to pass the config file along. Currently only the context is remembered, maybe you could use that. > > Note that as a workaround the `KUBECONFIG` environment...

Or better yet, use a raw string literal. `match_siteinfo = re.findall(r'window\.siteInfo\s*=\s*({[^}]+})', main_page)`

> Automatic switch profile to powersave when battery below a certain threshold You may find this useful: ```bash #!/bin/bash BAT=$(echo /sys/class/power_supply/BAT*) BAT_STATUS="$BAT/status" BAT_CAP="$BAT/capacity" LOW_BAT_PERCENT=20 AC_PROFILE="throughput-performance" BAT_PROFILE="balanced" LOW_BAT_PROFILE="powersave" # tuned-adm list...