LineageOS Project (c) 2018
- treble (unmaintained/ unstable/ unbuildable)
- treble-vanilla (stable/ with cherry-pick from treble-vanilla_testing)
- treble-vanilla_testing (unstable)
Build instructions for Xiaomi Redmi 5A (riva)
#! /usr/bin/env bash | |
#The MIT License | |
#Copyright (c) 2018 Growtopia Jaw | |
#Permission is hereby granted, free of charge, to any person obtaining a copy | |
#of this software and associated documentation files (the "Software"), to deal | |
#in the Software without restriction, including without limitation the rights | |
#to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
<?xml version="1.0" encoding="UTF-8"?> | |
<manifest> | |
<project name="GrowtopiaJaw/android_device_xiaomi_riva" path="device/xiaomi/riva" remote="github" revision="treble-vanila" /> | |
<project name="GrowtopiaJaw/riva_kernel_xiaomi_msm8917" path="kernel/xiaomi/msm8917" remote="github" revision="treble" /> | |
<project name="GrowtopiaJaw/android_vendor_xiaomi_riva" path="vendor/xiaomi/riva" remote="github" revision="treble-vanila" /> | |
<project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" revision="lineage-15.1"/> | |
</manifest> |
#!/usr/bin/env bash | |
if [[ $# < 2 ]]; then | |
echo "Usage: [src] [dest]" | |
exit 1 | |
fi | |
function realpath() { | |
[[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}" | |
} |
<?php | |
// have to add that opening tag to get syntax highlighting... ¯\_(ツ)_/¯ | |
/** | |
* Prevent update notification for plugin | |
* http://www.thecreativedev.com/disable-updates-for-specific-plugin-in-wordpress/ | |
* Place in theme functions.php or at bottom of wp-config.php | |
*/ | |
function disable_plugin_updates( $value ) { |
#!/bin/bash | |
# | |
# This script configures WordPress file permissions based on recommendations | |
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
# | |
# Author: Michael Conigliaro <mike [at] conigliaro [dot] org> | |
# | |
WP_OWNER=daemon # <-- wordpress owner | |
WP_GROUP=daemon # <-- wordpress group | |
WP_ROOT=./ # <-- wordpress root directory |
/* PrismJS 1.16.0 | |
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+apacheconf&plugins=line-highlight */ | |
/** | |
* prism.js default theme for JavaScript, CSS and HTML | |
* Based on dabblet (http://dabblet.com) | |
* @author Lea Verou | |
*/ | |
code[class*="language-"], | |
pre[class*="language-"] { |
/* PrismJS 1.16.0 | |
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+apacheconf&plugins=line-highlight */ | |
var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(g){var c=/\blang(?:uage)?-([\w-]+)\b/i,a=0,C={manual:g.Prism&&g.Prism.manual,disableWorkerMessageHandler:g.Prism&&g.Prism.disableWorkerMessageHandler,util:{encode:function(e){return e instanceof M?new M(e.type,C.util.encode(e.content),e.alias):Array.isArray(e)?e.map(C.util.encode):e.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++a}),e.__id},clone:function n(e,t){var r,a,i=C.util.type(e);switch(t=t||{},i){case"Object":if(a=C.util.objId(e),t[a])return t[a];for(var l in r={},t[a]=r,e)e.hasOwnProperty(l)&&(r[l]=n(e[l],t));return r;case"Array":return a=C.util.objId(e),t[a]?t[a]: |
Listen 443 | |
SSLProtocol TLSv1.2 | |
SSLOpenSSLConfCmd Curves secp521r1:secp384r1:prime256v1 | |
SSLHonorCipherOrder on | |
SSLCipherSuite "!ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:!ECDHE-ECDSA-AES128-SHA:!ECDHE-ECDSA-AES256-SHA:!ECDHE-ECDSA-AES128-SHA256:!ECDHE-ECDSA-AES256-SHA384:!ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:!ECDHE-RSA-AES128-SHA:!ECDHE-RSA-AES256-SHA:!ECDHE-RSA-AES128-SHA256:!ECDHE-RSA-AES256-SHA384:!DHE-RSA-AES128-GCM-SHA256:!DHE-RSA-AES256-GCM-SHA384:!DHE-RSA-AES128-SHA:!DHE-RSA-AES256-SHA:!DHE-RSA-AES128-SHA256:!DHE-RSA-AES256-SHA256" | |
SSLPassPhraseDialog builtin | |
SSLSessionCache "shmcb:/opt/bitnami/apache2/logs/ssl_scache(512000)" | |
SSLSessionCacheTimeout 300 | |
SSLCompression off | |
SSLSessionTickets off |