$ sudo apt-get install unattended-upgrades
$ sudo nano /etc/apt/apt.conf.d/10periodic
#!/bin/sh | |
BASEFOLDER=/home/vbox/backups | |
for VMNAME in $(VBoxManage list runningvms | cut -d ' ' -f1 | sed 's/"//g;') | |
do | |
echo "" | |
VBoxManage controlvm "$VMNAME" acpipowerbutton | |
echo "Waiting for VM "$VMNAME" to poweroff..." | |
until $(VBoxManage showvminfo --machinereadable "$VMNAME" | grep -q ^VMState=.poweroff.) |
{ | |
"homepage": "http://www.duckduckgo.com", | |
"homepage_is_newtabpage": false, | |
"browser": { | |
"show_home_button": true | |
}, | |
"bookmark_bar": { | |
"show_on_all_tabs": true | |
}, | |
"sync_promo": { |
diff --git src/com/android/camera/exif/ExifOutputStream.java src/com/android/camera/exif/ExifOutputStream.java | |
index d7c8320..5887269 100644 | |
--- src/com/android/camera/exif/ExifOutputStream.java | |
+++ src/com/android/camera/exif/ExifOutputStream.java | |
@@ -207,37 +207,7 @@ class ExifOutputStream extends FilterOutputStream { | |
} | |
private void writeExifData() throws IOException { | |
- if (mExifData == null) { | |
return; |
diff --git core/java/com/android/internal/os/RuntimeInit.java core/java/com/android/internal/os/RuntimeInit.java | |
index 4b6e6d8..6f6193a 100644 | |
--- core/java/com/android/internal/os/RuntimeInit.java | |
+++ core/java/com/android/internal/os/RuntimeInit.java | |
@@ -177,7 +177,7 @@ public class RuntimeInit { | |
StringBuilder result = new StringBuilder(64); | |
result.append("Dalvik/"); | |
result.append(System.getProperty("java.vm.version")); // such as 1.1.0 | |
- result.append(" (Linux; U; Android "); | |
+ result.append(" (Linux; U; "); |
import requests | |
from lxml import html | |
from lxml.etree import ParserError | |
import json | |
from time import sleep | |
import argparse | |
import unicodecsv as csv | |
import traceback | |
/etc/php/7.0/cli/php.ini | |
;;;;;;;;;;;;;;;;; | |
; Miscellaneous ; | |
;;;;;;;;;;;;;;;;; | |
; Decides whether PHP may expose the fact that it is installed on the server | |
; (e.g. by adding its signature to the Web server header). It is no security | |
; threat in any way, but it makes it possible to determine whether you use PHP | |
; on your server or not. | |
; http://php.net/expose-php |
<IfModule mod_ssl.c> | |
<VirtualHost 1.2.3.4:443> | |
ServerAdmin webmaster@localhost | |
DocumentRoot /var/www/something | |
ServerName something.example.com | |
Header always set Strict-Transport-Security "max-age=31536000; includeSubdomains;" | |
Header always set X-Frame-Options "SAMEORIGIN" | |
Header always set X-Xss-Protection "1; mode=block" | |
Header always set X-Content-Type-Options "nosniff" | |
Header always set Referrer-Policy "same-origin" |
diff --git a/app/build.gradle b/app/build.gradle | |
index b507fd8..ec743ee 100644 | |
--- a/app/build.gradle | |
+++ b/app/build.gradle | |
@@ -6,7 +6,7 @@ android { | |
defaultConfig { | |
applicationId "org.schabi.newpipe" | |
- minSdkVersion 15 | |
+ minSdkVersion 21 |
Route all traffic with a raspberry pi like a VPN.