This file contains hidden or 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
| { | |
| "annotations": { | |
| "list": [ | |
| { | |
| "builtIn": 1, | |
| "datasource": { | |
| "type": "datasource", | |
| "uid": "grafana" | |
| }, | |
| "enable": true, |
This file contains hidden or 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
| ARG DISTRO=debian | |
| ARG RELEASE=bullseye-slim | |
| FROM ${DISTRO}:${RELEASE} as builder | |
| ARG OPENTTD_RELEASE=12.0 | |
| ARG OPENGFX_RELEASE=7.1 | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| # Dependencies needed to compile OpenTTD | |
| RUN apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y && \ |
This file contains hidden or 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
| package com.example.demo; | |
| import com.fasterxml.jackson.annotation.JsonProperty; | |
| import com.fasterxml.jackson.annotation.JsonView; | |
| public class Department { | |
| @JsonView(Views.English.class) | |
| @JsonProperty("category") | |
| private String category; |
This file contains hidden or 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
| .root { | |
| color: red; | |
| } |
This file contains hidden or 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
| CACHE MANIFEST | |
| #v3 | |
| index.html | |
| example.appcache |
This file contains hidden or 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
| class PhotoActions extends Actions { | |
| async loadPhoto(id) { | |
| try { | |
| return await ApiService.getPhoto(id); | |
| } catch (e) { | |
| console.error(e); | |
| } | |
| } | |
| } | |
| /* ... other actions */ |
This file contains hidden or 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
| #ServiceCircularReferenceException: Circular reference detected for service "doctrine.orm.default_entity_manager", path: "doctrine.orm.default_entity_manager -> doctrine.dbal.default_connection -> photo.listener -> security.context -> security.authentication.manager -> security.user.provider.concrete.main". | |
| photo.listener: | |
| class: Acme\ArmmBundle\EventListener\PhotoListener | |
| arguments: | |
| uploadRootDir: "%kernel.root_dir%/../web/uploads" | |
| context: "@security.context" | |
| tags: | |
| - { name: doctrine.event_listener, event: preUpdate} | |
| - { name: doctrine.event_listener, event: postUpdate} | |
| - { name: doctrine.event_listener, event: prePersist} |
This file contains hidden or 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 config = require('./config').config; | |
| /* Usage sample */ | |
| var io = require('socket.io').listen(config.websockets.port); |
This file contains hidden or 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
| Modernizr.load({ | |
| test:Modernizr.input.placeholder, | |
| nope:["//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js", "//raw.github.com/danielstocks/jQuery-Placeholder/master/jquery.placeholder.min.js"], | |
| complete:function () { | |
| if (!Modernizr.input.placeholder && $) { | |
| $(function () { | |
| $('input[placeholder], textarea[placeholder]').placeholder(); | |
| }); | |
| } | |
| } |
This file contains hidden or 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 Boda\VkontakteBundle\Security\Http\OAuth; | |
| use Knp\Bundle\OAuthBundle\Security\Http\OAuth\OAuthProvider; | |
| use Symfony\Component\Security\Core\Exception\AuthenticationException; | |
| use Symfony\Component\HttpFoundation\Request; |