Skip to content

Instantly share code, notes, and snippets.

View shubham-99fusion's full-sized avatar

shubham-99fusion

View GitHub Profile
{
"rules": {
".read": "auth != null",
".write": "auth != null",
"notifications": {
".indexOn": [
"status"
]
},
"users": {
<ion-header>
<ion-navbar color="transparent" >
<ion-buttons start>
<button ion-button menuToggle>
<ion-icon name="md-menu"></ion-icon>
</button>
</ion-buttons>
<ion-title>
{{course.name}}
<span>
@shubham-99fusion
shubham-99fusion / imageCache.ts
Created April 9, 2019 07:17
wplms-moblie app
import { Injectable } from '@angular/core';
import { File } from '@ionic-native/file';
import { Platform, normalizeURL } from 'ionic-angular';
import ImgCache from 'imgcache.js';
import { ReplaySubject } from 'rxjs/ReplaySubject';
import { map, take, flatMap, switchMapTo, tap } from 'rxjs/operators';
import { Observable } from 'rxjs/Observable';
import { bindCallback } from 'rxjs/observable/bindCallback';
{
"name": "vividcontentlab",
"version": "0.0.1",
"author": "Ionic Framework",
"homepage": "http://ionicframework.com/",
"private": true,
"scripts": {
"clean": "ionic-app-scripts clean",
"build": "ionic-app-scripts build",
"lint": "ionic-app-scripts lint",
facebook google login needed
google app nem collms
facebook app name COL-mindon
---------***************----------------------
for key hash for facebook app
Also put this line in your .htaccess file at the end (.htaccess can be found in root of your site ):
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
IF above does not works then please change the above line to :
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$1
<?php
/**
* Initialise WPLMS CHAT
*
* @author VibeThemes
* @category Init
* @package wplms-chat/Includes
* @version 1.0
*/
function upload_File_To_Firebase_storage() {
var storage = firebase.storage();
var file = document.getElementById("files").files[0];
console.log(file);
var storageRef = firebase.storage().ref();
let randomString = Math.random().toString(36).substring(7);
//dynamically set reference to the file name
@shubham-99fusion
shubham-99fusion / package.json
Last active July 5, 2019 06:32
Package-Json
{
"name": "vividcontentlab",
"version": "0.0.1",
"author": "Ionic Framework",
"homepage": "http://ionicframework.com/",
"private": true,
"scripts": {
"clean": "ionic-app-scripts clean",
"build": "ionic-app-scripts build",
"lint": "ionic-app-scripts lint",
this.translations = {
'home_title':'HOME PAGE',
'home_subtitle':'Featured Items',
'start_course': 'Start',
'search_title':'Searching..',
'continue_course': 'Continue',
'completed_course': 'Completed',
'expired_course': 'Expired',
'evaluation_course':'Under Evaluation',
'no_reviews':'No reviews found for this course.',