This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.accordion { | |
margin-bottom:-3px; | |
} | |
.accordion-group { | |
border: none; | |
} | |
.twitter-typeahead .tt-query, | |
.twitter-typeahead .tt-hint { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
$('#calendar').fullCalendar({ | |
header: { | |
left: 'prev,next today', | |
center: 'title', | |
right: 'month,listMonth' | |
}, | |
eventAfterAllRender: function (view) { | |
if (view.name == 'month') { | |
$('.fc-day').each(function () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use Illuminate\Support\Facades\Auth; | |
class SSOController extends Controller | |
{ | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use Illuminate\Support\Facades\Auth; | |
use Illuminate\Support\Facades\Redirect; | |
use Ixudra\Curl\Facades\Curl; | |
class HomeController extends Controller |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var File = require('../../models/file.js'); | |
var MapDrawing = require('../../models/mapDrawing.js'); | |
const UPLOAD_PATH = 'uploads'; | |
exports.uploadFile = async (req, res) => { | |
try { | |
console.log("upload file: " + req.file.filename); | |
File.create({ | |
fileName: req.file.filename.replace(".sqlite", ""), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 1 */ | |
{ | |
"_id" : "withouthavingseen@gmail.com", | |
"dups" : [ | |
ObjectId("5ae87f6078b9ee391d888334"), | |
ObjectId("5ad77af59d7d6307f9f07e3c") | |
], | |
"membership" : [ | |
"Gold" | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
else if (LayerDataMapArr != undefined && LayerDataMapArr.maptype.trim() != '' && LayerDataMapArr.maptype == "webtile") { | |
map.removeAllLayers(); | |
if (LayerDataMapArr != undefined) { | |
var layerDatastrUrl = LayerDataMapArr.baseurl; | |
var layerDatafinalUrl = LayerDataMapArr.baseurl; | |
map.centerAndZoom([LayerDataMapArr.lon, LayerDataMapArr.lat], LayerDataMapArr.zoom); | |
// console.log(layerDatafinalUrl); | |
var WebTiledLayerOptions = { | |
"baseurl": layerDatafinalUrl, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function replaceURLString(level, row, column, finalFilterUrl) { | |
finalFilterUrl = finalFilterUrl.replace("{z}", level).replace("{x}", column).replace("{y}", row); | |
finalFilterUrl = finalFilterUrl.replace("${level}", level).replace("${col}", column).replace("${row}", row); | |
finalFilterUrl = finalFilterUrl.replace("{l}", level); | |
finalFilterUrl = finalFilterUrl.replace("{abc}", "a").replace("{SHASH}", "0").replace("{SHASHPLUSONE}", "1"); | |
if (finalFilterUrl.indexOf("{nzy}") !== -1) { | |
var filterUrl = finalFilterUrl.replace("{z}", level).replace("{x}", column).replace("{y}", row); | |
var vData = ((1 << level) - 1 - row); | |
finalFilterUrl = filterUrl.replace("{nzy}", vData); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.getSavedMap = function(req, res) { | |
var userName = req.params.userName; | |
MapDrawing.find({ | |
userName: userName, | |
trekName: { | |
$exists: true | |
}, | |
'features.0': { | |
$exists: true |
OlderNewer