Using adb, create a backup of the app using the following command:
adb backup -f freeotp-backup.ab -apk org.fedorahosted.freeotp| #-- Some security related parameters -- set on all postgresql servers | |
| [postgres@posvt01 ~]$ vi /etc/patroni.yml | |
| ... | |
| restapi: | |
| listen: posvt01.localdomain:3308 | |
| connect_address: posvt01.localdomain:3308 | |
| certfile: /etc/ssl/postgres/server.crt | |
| keyfile: /etc/ssl/postgres/server.key | |
| cafile: /etc/ssl/postgres/root.crt | |
| authentication: |
Using adb, create a backup of the app using the following command:
adb backup -f freeotp-backup.ab -apk org.fedorahosted.freeotp| // Policy template for Linux. | |
| // Uncomment the policies you wish to activate and change their values to | |
| // something useful for your case. The provided values are for reference only | |
| // and do not provide meaningful defaults! | |
| { | |
| // Cross-origin HTTP Basic Auth prompts | |
| //------------------------------------------------------------------------- | |
| // Controls whether third-party sub-content on a page is allowed to pop-up an | |
| // HTTP Basic Auth dialog box. Typically this is disabled as a phishing | |
| // defense. If this policy is not set, this is disabled and third-party sub- |
Services declared as oneshot are expected to take some action and exit immediatelly (thus, they are not really services,
no running processes remain). A common pattern for these type of service is to be defined by a setup and a teardown action.
Let's create a example foo service that when started creates a file, and when stopped it deletes it.
Create executable file /opt/foo/setup-foo.sh:
| #!bash | |
| _etcdctl_list() { | |
| local IFS=$'\n' | |
| local wd="$cur" | |
| local -a tokens | |
| if ! etcdctl ls "$wd" &> /dev/null; then | |
| wd=$(dirname "$wd") | |
| fi |
Based on this blog.
This guide shows you how to setup emacs to render a README.md very similarly to how github will do it; except it also works offline. There are no dependencies that can't be easily installed via the package manager on ubuntu.
emacs, emacs-goodies-el, and pandoc.~/emacs.d/github-pandoc.css.