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
    
  
  
    
  | countdown() { | |
| secs=$1 | |
| shift | |
| msg=$@ | |
| while [ $secs -gt 0 ] | |
| do | |
| notify-send "Zbývá ti: "$((secs--)) -h string:x-canonical-private-synchronous:anything | |
| sleep 1 | |
| done | |
| } | 
  
    
      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
    
  
  
    
  | #!/bin/bash | |
| source .env | |
| if [ -z "$1" ] | |
| then | |
| echo "Missing file to dump" | |
| exit 1 | |
| fi | 
  
    
      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 | |
| declare(strict_types=1); | |
| namespace App\Base\Rest; | |
| use Psr\Http\Message\ResponseInterface; | |
| use Symfony\Component\Serializer\Encoder\JsonEncoder; | |
| use Symfony\Component\Serializer\Normalizer\ObjectNormalizer; | |
| use Symfony\Component\Serializer\Serializer; | 
  
    
      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 Zajca\Service; | |
| use Doctrine\Common\Collections\ArrayCollection; | |
| use Doctrine\DBAL\Types\Type; | |
| use Doctrine\ORM\EntityManager; | |
| use Doctrine\ORM\Mapping\ClassMetadata; | |
| use Doctrine\ORM\Mapping\ClassMetadataInfo; | |
| use MabeEnum\Enum; | 
  
    
      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
    
  
  
    
  | function getParameterByName(name) { | |
| var match = RegExp('[?&]' + name + '=([^&]*)').exec(window.location.search); | |
| return match && decodeURIComponent(match[1].replace(/\+/g, ' ')); | |
| } | |
| var partyId = getParameterByName('party-id'); | |
| if (null !== partyId) { | |
| document.getElementById('party-id').value = partyId; | |
| } | 
  
    
      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
    
  
  
    
  | swiftmailer: | |
| default_mailer: db | |
| mailers: | |
| db: | |
| transport: "%mailer_transport%" | |
| host: "%mailer_host%" | |
| username: "%mailer_user%" | |
| password: "%mailer_password%" | |
| spool: { type: db } | |
| memory: | 
  
    
      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
    
  
  
    
  | let classMap = new WeakMap(); | |
| function serialize(serializedGroups: array<string>, serializedName: string) { | |
| return function(target: any, key: string, descriptor: any) { | |
| let map = classMap.get(target); | |
| if (map === undefined) { | |
| map = new Map(); | |
| } | |
| if (map.has(key)) { | 
  
    
      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
    
  
  
    
  | Crocodoc.addComponent('layout-zoom', ['layout-presentation'], function (scope, presentation) { | |
| 'use strict'; | |
| //-------------------------------------------------------------------------- | |
| // Private | |
| //-------------------------------------------------------------------------- | |
| var util = scope.getUtility('common'); | 
  
    
      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
    
  
  
    
  | import $ from 'jquery'; | |
| import domready from 'domready'; | |
| import is from 'is'; | |
| class Alert{ | |
| constructor(alertsContainer) { | |
| if(!Alert.instance){ | |
| Alert.instance = this; | |
| }else{ | 
  
    
      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 | |
| //PLAYLIST ID | |
| $playlistId = 'PLzTOsjrpK9WoMm-MzY6Zquk_ZMigv0lFp'; | |
| //ADD HERE YOUTUBE API KEY | |
| $apiKey = ''; | |
| $url = 'https://www.googleapis.com/youtube/v3/playlistItems?part=id,status,contentDetails,snippet&maxResults=50&playlistId='.$playlistId.'&key='.$apiKey; | 
NewerOlder