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 Deployer; | |
require 'recipe/laravel.php'; | |
// Project name | |
set('application', 'tennis'); | |
// Project repository | |
set('repository', 'git@gitlab.com:sashafishter/tennis.git'); |
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
<!DOCTYPE html> | |
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml"> | |
<head> | |
<title></title> <!-- The title tag shows in email notifications, like Android 4.4. --> | |
<meta charset="utf-8"> <!-- utf-8 works for most cases --> | |
<meta name="viewport" content="width=device-width"> <!-- Forcing initial-scale shouldn't be necessary --> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- Use the latest (edge) version of IE rendering engine --> | |
<meta name="x-apple-disable-message-reformatting"> <!-- Disable auto-scale in iOS 10 Mail entirely --> | |
<meta name="format-detection" content="telephone=no,address=no,email=no,date=no,url=no"> <!-- Tell iOS not to automatically link certain text strings. --> |
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 replacePlaceholders (content, placeholdersToReplacerMap) { | |
let contentAsString = JSON.stringify(content); | |
Object.entries(placeholdersToReplacerMap) | |
.forEach(([search, replacement]) => { | |
const urls = contentAsString.match(new RegExp(`".[^"]*${search}.*?"`, 'g')) || []; | |
urls.forEach((url) => { | |
let params; | |
let finalUrl; | |
const newUrl = url.substring(1, url.length - 1); | |
const queryString = newUrl.split('?')[1]; |
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
Zoran Grbus 0991914307 | |
Leon Budinski 0919293719 | |
Štriga Krunoslav 0994602070 | |
Renato Cindori 0994951454 | |
Robert Rabuzin 0981778773 | |
Franjo Vrtar 0915080782 | |
Zoran Šanjek 0981774825 | |
Nikica Tenodi 0915609657 | |
Matija Katalenic 0992016359 | |
Dražen Premužić 0996945922 |
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
if (this.dealers.find(s => s === v.dealer.companyNumber)) { | |
} else { | |
this.dealers.push(v.dealer.companyNumber) | |
} | |
// Kaj mislis o ovome? | |
if (!this.dealers.find(s => s === v.dealer.companyNumber)) { | |
this.dealers.push(v.dealer.companyNumber) | |
} |
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
<!doctype html> | |
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> | |
<head> | |
<title> | |
</title> | |
<!--[if !mso]><!-- --> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<!--<![endif]--> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
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
doLogIn=Anmelden | |
doRegister=Registrieren | |
doCancel=Abbrechen | |
doSubmit=Absenden | |
doYes=Ja | |
doNo=Nein | |
doContinue=Weiter | |
doIgnore=Ignorieren | |
doAccept=Annehmen | |
doDecline=Ablehnen |
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
public function inviteUser() | |
{ | |
$data = [ | |
'clubId' => auth()->user()->club_id, | |
'message' => 'sadf', | |
'email' => $this->email | |
]; | |
Mail::to(trim($this->email))->queue(new InviteUserEmail($data)); | |
} |
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
public function isMembership($membership) | |
{ | |
if (!$this->response) return $this; | |
if ($this->user->getCategoryMembership() != $membership) { | |
return response()->json(['success' => false]); | |
} | |
return $this; |
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
[{"vin":"VF1EM0U0A31664525","brand":"RENAULT","model":".Modell Dummy","currentMileage":57153,"fuelType":"petrol","licensePlate":"HN-K 2569","firstRegistration":"2004-07-22","dealer":{"id":25,"name":"Schwabengarage GmbH","subname":"Schwabengarage GmbH Leonberg","email":"info.leonberg@schwabengarage.de","telephone":"+49 7152 92050","city":"Leonberg","zip":"71229","street":"Breitwiesenstr. 4","latitude":48.7849952,"longitude":9.0168849,"openingHours":{"service":[{"openDay":"MONDAY","closeDay":"MONDAY","openTime":"07:30","closeTime":"18:00"},{"openDay":"TUESDAY","closeDay":"TUESDAY","openTime":"07:30","closeTime":"18:00"},{"openDay":"WEDNESDAY","closeDay":"WEDNESDAY","openTime":"07:30","closeTime":"18:00"},{"openDay":"THURSDAY","closeDay":"THURSDAY","openTime":"07:30","closeTime":"18:00"},{"openDay":"FRIDAY","closeDay":"FRIDAY","openTime":"07:30","closeTime":"17:00"},{"openDay":"SUNDAY","closeDay":"SUNDAY","openTime":"","closeTime":""}],"warehouse":[{"openDay":"MONDAY","closeDay":"MONDAY","openTime":"07:30","clos |
NewerOlder