I hereby claim:
- I am barbuk on github.
- I am barbuk (https://keybase.io/barbuk) on keybase.
- I have a public key whose fingerprint is 9F59 A495 68EE 372A F17E 5452 B6D0 1F84 A751 9939
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| copyq_get_row(){ | |
| local copyq_row="$(copyq read $1 | head -1 | sed -e 's/^[[:space:]]*//')" | |
| # clean from non compatible json char | |
| printf -v clean_copyq_row "%q" "$copyq_row" | |
| echo -n "$clean_copyq_row" | |
| } |
Some OVH dedicated server does not supports installing Debian original kernel due to hardware support issue.
Most common issue is the network adapter card.
| #!/usr/bin/env bash | |
| # video demo at: http://www.youtube.com/watch?v=90xoathBYfk | |
| # augmented by barbuk: https://github.com/BarbUk/dotfiles/blob/master/bin/snippy | |
| # . restore current clipboard | |
| # . {clipboard} placeholder to use current clipboard in snippet | |
| # . {cursor} placeholder to place the cursor | |
| # . ##noparse header in snippet to not parse | |
| # . execute command begining by $ | |
| # |
| --- TLP 1.2.1.901 -------------------------------------------- | |
| +++ Configured Settings: /etc/default/tlp | |
| TLP_ENABLE=1 | |
| TLP_DEFAULT_MODE=AC | |
| TLP_PERSISTENT_DEFAULT=0 | |
| DISK_IDLE_SECS_ON_AC=0 | |
| DISK_IDLE_SECS_ON_BAT=2 | |
| MAX_LOST_WORK_SECS_ON_AC=15 | |
| MAX_LOST_WORK_SECS_ON_BAT=60 |
| --- TLP 1.3.0-beta.2 -------------------------------------------- | |
| +++ Configured Settings: | |
| TLP_ENABLE="1" | |
| TLP_PERSISTENT_DEFAULT="0" | |
| DISK_IDLE_SECS_ON_AC="0" | |
| DISK_IDLE_SECS_ON_BAT="2" | |
| MAX_LOST_WORK_SECS_ON_AC="15" | |
| MAX_LOST_WORK_SECS_ON_BAT="60" | |
| CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance" |
| --- TLP 1.3.0-beta.2 -------------------------------------------- | |
| +++ Configured Settings: | |
| TLP_ENABLE="1" | |
| TLP_PERSISTENT_DEFAULT="0" | |
| DISK_IDLE_SECS_ON_AC="0" | |
| DISK_IDLE_SECS_ON_BAT="2" | |
| MAX_LOST_WORK_SECS_ON_AC="15" | |
| MAX_LOST_WORK_SECS_ON_BAT="60" | |
| CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance" |
| --- TLP 1.3.0-beta.3 -------------------------------------------- | |
| +++ Configured Settings: | |
| defaults.conf L0004: TLP_ENABLE="1" | |
| defaults.conf L0005: TLP_PERSISTENT_DEFAULT="0" | |
| defaults.conf L0006: DISK_IDLE_SECS_ON_AC="0" | |
| defaults.conf L0007: DISK_IDLE_SECS_ON_BAT="2" | |
| defaults.conf L0008: MAX_LOST_WORK_SECS_ON_AC="15" | |
| defaults.conf L0009: MAX_LOST_WORK_SECS_ON_BAT="60" | |
| defaults.conf L0010: CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance" |
| --- TLP 1.3.0-beta.3 -------------------------------------------- | |
| +++ Configured Settings: | |
| defaults.conf L0004: TLP_ENABLE="1" | |
| defaults.conf L0005: TLP_PERSISTENT_DEFAULT="0" | |
| defaults.conf L0006: DISK_IDLE_SECS_ON_AC="0" | |
| defaults.conf L0007: DISK_IDLE_SECS_ON_BAT="2" | |
| defaults.conf L0008: MAX_LOST_WORK_SECS_ON_AC="15" | |
| defaults.conf L0009: MAX_LOST_WORK_SECS_ON_BAT="60" | |
| defaults.conf L0010: CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance" |
| --- TLP 1.3.0-beta.4 -------------------------------------------- | |
| +++ Configured Settings: | |
| defaults.conf L0004: TLP_ENABLE="1" | |
| defaults.conf L0005: TLP_PERSISTENT_DEFAULT="0" | |
| defaults.conf L0006: DISK_IDLE_SECS_ON_AC="0" | |
| defaults.conf L0007: DISK_IDLE_SECS_ON_BAT="2" | |
| defaults.conf L0008: MAX_LOST_WORK_SECS_ON_AC="15" | |
| defaults.conf L0009: MAX_LOST_WORK_SECS_ON_BAT="60" | |
| defaults.conf L0010: CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance" |