Skip to content

Instantly share code, notes, and snippets.

Michael Dorchain mdorchain

  • Philipppines
Block or report user

Report or block mdorchain

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mdorchain /
Last active Jul 23, 2019
Ionic 4 Sliding segments
<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.