Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
-- phpMyAdmin SQL Dump | |
-- version 4.5.1 | |
-- http://www.phpmyadmin.net | |
-- | |
-- Host: 127.0.0.1 | |
-- Erstellungszeit: 23. Mrz 2018 um 18:24 | |
-- Server-Version: 10.1.19-MariaDB | |
-- PHP-Version: 7.0.13 | |
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; |
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
/** | |
* Converts a string in snake case to camel case and returns it. | |
* Example "this_is_cool" => "thisIsCool" | |
* ATTENTION: Expects the original string to be in valid snake case. | |
* Will not perform any validation - invalid input creates invalid output! | |
*/ | |
snakeToCamel: function(snakeCased) { | |
// Use a regular expression to find the underscores + the next letter | |
return snakeCased.replace(/(_\w)/g, function (match) { | |
// Convert to upper case and ignore the first char (=the underscore) |
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\Modules\Matches\Http\Controllers; | |
use App\Modules\Matches\Match; | |
use URL, HTML, FrontController; | |
class MatchesController extends FrontController { | |
public function __construct() | |
{ | |
$this->modelName = 'Match'; |
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 | |
// Default values: | |
$logFile = __DIR__.'/path-to-folder/logs/dev.log'; | |
$maxLines = 100; | |
?> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Symfony Log Viewer</title> |
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
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; | |
SET time_zone = "+00:00"; | |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; | |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; | |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; | |
/*!40101 SET NAMES utf8 */; | |
-- -------------------------------------------------------- |
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
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; | |
SET time_zone = "+00:00"; | |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; | |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; | |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; | |
/*!40101 SET NAMES utf8 */; | |
-- |
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
-- phpMyAdmin SQL Dump | |
-- version 4.1.12 | |
-- http://www.phpmyadmin.net | |
-- | |
-- Host: 127.0.0.1 | |
-- Erstellungszeit: 16. Apr 2016 um 15:04 | |
-- Server Version: 5.6.16 | |
-- PHP-Version: 5.5.11 | |
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; |
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
<h1 class="page-title">{{ trans_object('teams') }}</h1> | |
@foreach ($teams as $team) | |
<article class="team"> | |
<header> | |
<a href="{!! url('teams/'.$team->id.'/'.$team->slug) !!}"> | |
<h2>{{ $team->title }}</h2> | |
@if ($team->image) | |
<div class="image"> |
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() | |
{ | |
var navKey = 'navIndex'; | |
var navIndex= sessionStorage.getItem(navKey); | |
var $nav = $('#header nav'); | |
if (typeof navIndex === 'undefined') { | |
navIndex = 0; | |
} |
NewerOlder