Skip to content

Instantly share code, notes, and snippets.

Michael Dorchain mdorchain

  • Philipppines
View GitHub Profile
<ion-buttons slot="start">
mdorchain / appp-custom.js
Last active Mar 30, 2018
Apppresser Offline
View appp-custom.js
var is_offline = false;
var enableOfflineScreen = true;
//When device is offline
function goOffline() {
is_offline = true;
var appBody = document.getElementsByTagName( 'body' )[0];
//Set body class
appBody.classList.add( "app-offline" );
View gist:7bef35640327f640c2f2729a42b812c1
# BEGIN WP Rocket v2.10.9
# Use UTF-8 encoding for anything served text/plain or text/html
AddDefaultCharset UTF-8
# Force UTF-8 for a number of file formats
<IfModule mod_mime.c>
AddCharset UTF-8 .atom .css .js .json .rss .vtt .xml
# FileETag None is not enough for every server.
You can’t perform that action at this time.