- C-a == Ctrl-a
- M-a == Alt-a
:q close
:w write/saves
:wa[!] write/save all windows [force]
:wq write/save and close
| client | |
| dev tun | |
| # "Allow calling of built-in executables and user-defined scripts." In other | |
| # words, this must be specified for the `up` script to be executed. | |
| script-security 2 | |
| route-nopull | |
| up vpn-up.sh | |
| down vpn-down.sh |
| # systemd service spec for pulseaudio running in system mode -- not recommended though! | |
| # on arch, put it under /etc/systemd/system/pulseaudio.service | |
| # start with: systemctl start pulseaudio.service | |
| # enable on boot: systemctl enable pulseaudio.service | |
| [Unit] | |
| Description=Pulseaudio sound server | |
| After=avahi-daemon.service network.target | |
| [Service] | |
| ExecStart=/usr/bin/pulseaudio --system --disallow-exit --disallow-module-loading |
| #!/bin/bash | |
| scriptname="script_template" | |
| ### functions | |
| function usage | |
| { | |
| echo -e "usage: $scriptname MANDATORY [OPTION]\n" | |
| echo -e "MANDATORY mandatory parameter:" | |
| echo -e " -m, --mandatory VAL The desc of the mandatory parameter\n" |
| [Unit] | |
| Description=Set %i interface in promiscuous mode | |
| After=network.target | |
| [Service] | |
| Type=oneshot | |
| ExecStart=/usr/bin/ip link set dev %i promisc on | |
| RemainAfterExit=yes | |
| [Install] |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| ################################################################################### | |
| # Copyright (c) 2009 Armin Widegreen <armin.widegreen@gmail.com> # | |
| # # | |
| # This program is free software; you can redistribute it and/or modify it under # | |
| # the terms of the GNU General Public License as published by the Free Software # | |
| # Foundation, either version 3 of the License, or (at your option) any later # | |
| # version. # | |
| # # |
| # disable card reader until it is fixed with 3.11 | |
| blacklist rts5139 |
useful tools for tracking the power consumption
Advanced power management tool for Linux.
Specs: