Skip to content

Instantly share code, notes, and snippets.

function startSettingBackednLanguage(){
//1. Get user language
var curLangRef = firebase.app.database().ref('users/'+firebase.app.auth().currentUser.uid);
curLangRef.on('value', function(snapshot) {
var currentLangData=snapshot.val()&&snapshot.val().language?snapshot.val().language.toUpperCase():"GB";
language=currentLangData;
Translation.fetchAndSetLanguageAndSetUser(currentLangData,false,function(allAvailableLanguages){
loggedIn=true;
availableLaguages=allAvailableLanguages;
function startSettingBackednLanguage(){
//1. Get user language
var curLangRef = firebase.app.database().ref('users/'+firebase.app.auth().currentUser.uid);
curLangRef.on('value', function(snapshot) {
var currentLangData=snapshot.val()&&snapshot.val().language?snapshot.val().language.toUpperCase():"GB";
language=currentLangData;
Translation.fetchAndSetLanguageAndSetUser(currentLangData,false,function(allAvailableLanguages){
loggedIn=true;
availableLaguages=allAvailableLanguages;
<table>
<tr>
<td><a href="https://help.mobidonia.com/#reactappbuilder" rel="nofollow"><img src="http://mobidonia.com/apis/proxy/timthumb_protected.php?q=100&src=https://firebasestorage.googleapis.com/v0/b/universalapp-a272a.appspot.com/o/1538605535578.jpg?alt=media&#38;token=b4ba7275-5b92-467b-a882-3f0a0b127e87" alt="media&#38;token=b4ba7275-5b92-467b-a882-3f0a0b127e87\" /></a></td>
<td><a href="https://mobidonia.gitbook.io/react-app-builder/" rel="nofollow"><img src="http://mobidonia.com/apis/proxy/timthumb_protected.php?q=100&src=https://firebasestorage.googleapis.com/v0/b/universalapp-a272a.appspot.com/o/1538605555895.jpg?alt=media&#38;token=49acba90-9db7-4fba-b295-2091d37e9c3a" alt="media&#38;token=49acba90-9db7-4fba-b295-2091d37e9c3a\" /></a></td>
<td><a href="https://www.reactappbuilder.com/" rel="nofollow"><img src="http://mobidonia.com/apis/proxy/timthumb_protected.php?q=100&src=https://firebasestorage.googleapis.com/v0/b/universalapp-a272a.appspot.com/o/1538606609796.jpg?alt=media&#38;token=6233357
/*! =========================================================
*
Material Dashboard PRO - V1.1.0
*
* =========================================================
*
* Copyright 2016 Creative timr (http://www.creative-tim.com/product/material-dashboard-pro)
*
* _oo0oo_
* o8888888o
@dimovdaniel
dimovdaniel / delete.sql
Created May 12, 2020 20:50
Delete demo data from FoodTiger
DELETE from order_has_status where order_id<601;
DELETE from orders where id<601;
DELETE FROM address where id<6;
DELETE FROM items where id<256;
DELETE FROM categories where id<52;
DELETE FROM hours where restorant_id<13;
DELETE FROM model_has_roles where model_id<6 and model_id>1;
DELETE FROM restorants where id<13;
DELETE FROM users where id<6 and id>1;
$(document).ready(function() {
var OneSignal = window.OneSignal || [];
OneSignal.push(["init", {
appId: ONESIGNAL_APP_ID,
subdomainName: "",
autoRegister: true,
promptOptions: {
actionMessage: "We'd like to show you notifications for the latest orders",
var liveOrders=null;
function getLiveOrders(){
axios.get('/liveapi').then(function (response) {
liveOrders.neworders=response.data.neworders;
liveOrders.accepted=response.data.accepted;
liveOrders.done=response.data.done;
liveOrders.calculateBiggest()
console.log(response.data);
{
"version": "1.8.0",
"archive": "update.zip",
"description": "FIXES"
}
resources/views/social/home.blade.php
resources/views/social/partials/footer.blade.php
resources/views/social/partials/hero.blade.php
resources/views/social/partials/modals.blade.php
resources/views/social/partials/nav.blade.php
resources/lang/en/whatsapp.php
resources/lang/en.json
resources/lang/en/validation.php
app/Http/Controllers/FrontEndController.php
app/Http/Controllers/API/Client/OrdersController.php
resources/views/qrsaas/partials/footer.blade.php
resources/lang/en.json
resources/lang/en/validation.php
config/money.php
public/custom/css/custom.css
public/custom/js/js.js
.gitignore
app/Http/Controllers/API/Client/OrdersController.php
app/Http/Controllers/ClientController.php
app/Http/Controllers/FeaturesController.php