-
Disable and stop the systemd-resolved service:
sudo systemctl disable systemd-resolved.service sudo systemctl stop systemd-resolved
-
Then put the following line in the
[main]
section of your/etc/NetworkManager/NetworkManager.conf
:
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
#! /usr/bin/env php | |
<?php | |
/** | |
* Here we fake a request. set these values appropriate to your | |
* Habari install. | |
* | |
* HABARI_PATH is the full file path to the habari install. | |
* HABARI_SERVER_NAME is the name (domain) of your habari install. | |
* HABARI_REQUEST_URI is the URL path to your Habari install. "/" for root. |
rsync (Everyone seems to like -z, but it is much slower for me)
- a: archive mode - rescursive, preserves owner, preserves permissions, preserves modification times, preserves group, copies symlinks as symlinks, preserves device files.
- H: preserves hard-links
- A: preserves ACLs
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
<?php | |
class PassAPI extends Plugin | |
{ | |
# Registration | |
# register a device to receive push notifications for a pass | |
# | |
# POST /v1/devices/<deviceID>/registrations/<typeID>/<serial#> | |
# Header: Authorization: ApplePass <authenticationToken> | |
# JSON payload: { "pushToken" : <push token, which the server needs to send push notifications to this device> } | |
# |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<rss version="2.0" | |
xmlns:content="http://purl.org/rss/1.0/modules/content/" | |
xmlns:dsq="http://www.disqus.com/" | |
xmlns:dc="http://purl.org/dc/elements/1.1/" | |
xmlns:wp="http://wordpress.org/export/1.0/" | |
> | |
<channel> | |
<item> | |
<!-- title of article --> |