IMPORTANT: Backup your nginx site configs (usually under /etc/nginx/sites-available)!
Remove old nginx incl. nginx-common:
apt-get autoremove --purge nginx nginx-common| #!/bin/sh | |
| # cloudflareddns.sh - dynamic dns updater module for Synology | |
| # | |
| # Author: | |
| # Michael Wildman (http://mwild.me) | |
| # | |
| # Version: | |
| # 0.2 | |
| # |
| /* | |
| * This is a simple and easy approach to reuse the same | |
| * navigation drawer on your other activities. Just create | |
| * a base layout that conains a DrawerLayout, the | |
| * navigation drawer and a FrameLayout to hold your | |
| * content view. All you have to do is to extend your | |
| * activities from this class to set that navigation | |
| * drawer. Happy hacking :) | |
| * P.S: You don't need to declare this Activity in the | |
| * AndroidManifest.xml. This is just a base class. |