macsmc-battery selects different values anyways but those seem close enough.
sudo cp battery-charge-threshold-start.service battery-charge-threshold.service /etc/systemd/system/
sudo systemctl enable battery-charge-threshold-start.service
| # run with: | |
| # R --no-save --no-restore --file=time-resolved-fluorescence-well-measurements.R | |
| # Hombrechtikon tooling for Technical Analysis Equipment | |
| library(ggplot2) | |
| filename <- 'measurement.csv' | |
| offset <- 56 | |
| stop <- FALSE |
| #!/bin/sh | |
| ## | |
| # @see https://github.com/jpetazzo/pipework/issues/72#issuecomment-50045428 | |
| ## | |
| which nmcli | |
| if [ $? -eq 0 ]; then | |
| LANG=C nmcli --terse --fields device,state device status \ | |
| | egrep "^(docker|vboxnet).*\:connected" \ |
| /vendor/ | |
| /htdocs/ | |
| composer.lock |
| #!/bin/sh | |
| ssh-keygen -i -m RFC4716 -f id_rsa.ppk.pub |
| #!/bin/sh | |
| # | |
| # @author Sebastian Wagner <2000sw@gmail.com> | |
| # | |
| # ---------------------------------------------------------------------------- | |
| # "THE BEER-WARE LICENSE" (Revision 42): | |
| # <2000sw@gmail.com> wrote this file. As long as you retain this notice you | |
| # can do whatever you want with this stuff. If we meet some day, and you think | |
| # this stuff is worth it, you can buy me a beer, club-mate or pizza in return | |
| # ---------------------------------------------------------------------------- |
| #!/bin/sh | |
| # splash.sh | |
| HOST=$(/sbin/ip route | awk '/default/ { print $3 }') | |
| #echo \ | |
| curl \ | |
| -d target_url=stern.de_2F \ | |
| -d password=Hotspot \ |
| #!/bin/sh | |
| # sudo getweb P1005 | |
| nc -q 4 fritz.box 9100 < /lib/firmware/hp/sihpP1005.dl |
| <?php | |
| const LOTUS_TIME_FORMAT = '%Y%m%dT%H%M%S,'; | |
| function lotusTime2UnixTime($srcValue){ | |
| //Example 20110413T084135,95+02 | |
| /* in PHP5.3 | |
| $time = new DateTime(); | |
| $time->createFromFormat('Ymd\THis,uO', $srcValue); | |
| $dstValue = intval($time->format('U')); */ | |
| $t = strptime($srcValue, LOTUS_TIME_FORMAT); |
| #!/bin/sh | |
| # magento_adminpassword.sh | |
| # | |
| # reads an password from stdin or terminal and creates hash with salt for magento | |
| # USAGE | |
| # echo hai | ./adminpassword.sh | |
| # or | |
| # ./adminpassword.sh |