This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xrandr --output DP1 --scale 1.6x1.6 | |
xrandr --output DP1 --panning 1920x1080+3200+0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
remove Lock = Caps_Lock | |
remove Control = Control_L | |
keysym Control_L = Caps_Lock | |
keysym Caps_Lock = Control_L | |
add Lock = Caps_Lock | |
add Control = Control_L |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2017-11-21 16:50:24,213 : DEBUG : Fast version of gensim.models.doc2vec is being used | |
2017-11-21 16:50:24,219 : INFO : 'pattern' package not found; tag filters are not available for English | |
2017-11-21 16:50:24,220 : WARNING : no word id mapping provided; initializing from corpus, assuming identity | |
2017-11-21 16:50:24,220 : INFO : using serial LSI version on this node | |
2017-11-21 16:50:24,220 : INFO : updating model with new documents | |
2017-11-21 16:50:24,220 : INFO : preparing a new chunk of documents | |
2017-11-21 16:50:24,220 : DEBUG : converting corpus to csc format | |
2017-11-21 16:50:24,220 : INFO : using 100 extra samples and 2 power iterations | |
2017-11-21 16:50:24,220 : INFO : 1st phase: constructing (9, 105) action matrix | |
2017-11-21 16:50:24,220 : INFO : orthonormalizing (9, 105) action matrix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
warn_on=20 | |
debug=0 | |
discharging=`acpi | grep Discharging | wc -l` # will be 1 if discharging and 0 if chargin | |
if [ $discharging -eq 1 ]; then # if discharging, check percentage | |
percentage_remaining=`acpi | grep -o [0-9]*% | sed s/%//g` | |
echo "Remaining ${percentage_remaining}" |