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
const fs = require('fs') | |
const path = require('path') | |
const readline = require("readline"); | |
const rl = readline.createInterface({ | |
input: process.stdin, | |
output: process.stdout | |
}); | |
const homedir = require('os').homedir() | |
const defaultInputFolder = path.join(homedir, 'Desktop', 'ImageRename') | |
const defaultOutputFolder = path.join(homedir, 'Desktop', 'ImageRenameOutput') |
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
{ | |
"__inputs": [ | |
{ | |
"name": "DS_GRAPHITE-PROXY", | |
"label": "graphite-proxy", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "graphite", | |
"pluginName": "Graphite" | |
} |
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
RewriteEngine on | |
RewriteRule ^([0-9]+)/(.*)$ index.php?castka=$1&msg=$2 [L] | |
RewriteRule ^([0-9]+)$ index.php?castka=$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
RewriteEngine on | |
RewriteRule ^([0-9]+)/(.*)$ index.php?castka=$1&msg=$2 [L] | |
RewriteRule ^([0-9]+)$ index.php?castka=$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
Úkolem je realizovat sadu funkcí, které budou optimalizovat využití energie v kvarkových motorech. | |
Autoři seriálu StarTrek vymysleli mnoho zajímavých způsobů, jak pohánět kosmické lodi. Příkladem jsou motory využívající dilithiové krystaly, anihilace, kvantové singularity nebo červené hmoty. V předmětu OSY autorům pomůžeme a navrhneme koncept motorů využívajících fúze kvarků. Kromě tohoto revolučního nápadu navíc dodáme i software, který umožní rychlé, efektivní a ekologické řízení takových motorů. | |
Základních kvarků je 6 (viz Quark). Názvy kvarků (horní, dolní, podivný, půvabný, pravdivý a krásný) se nám pro strojové zpracování moc nehodí, názvy proto nahradíme čísly 0 až 5. Předpokládáme, že dvojice kvarků je schopna (za určitých podmínek) reagovat. Ze dvojice kvarků vznikne jeden jiný (nebo i stejný) kvark a uvolní se energie. Subatomární částice se chovají podivně, není tedy překvapivé, že fúze jedné dvojice kvarků může poskytovat různé výstupy s různou energií. Například fúze kvarků 0 + 1 může poskytnou |
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.headerRenderers[key]) | |
return this.headerRenderers[key](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
$('.ajax-load').click -> | |
url = $(this).data 'url' | |
$.nette.ajax | |
url: url, |
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
$qb = $this->applicantRepository->createQueryBuilder() | |
->select('a','c','p') | |
->from('\App\model\entity\Applicant','a') | |
->leftJoin('\App\model\entity\Comment','c',Join::WITH,'c.applicant = a') | |
->leftJoin('\App\model\entity\Payment','p',Join::WITH,'p.applicant = a') | |
->getQuery(); | |
return $qb->getResult(); |
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
/** | |
* @ORM\Entity(repositoryClass="ApplicantRepository") | |
*/ | |
class Applicant extends BaseEntity | |
{ | |
/** @var string | |
@ORM\Column(type="string") @ORM\Id*/ | |
protected $email; | |
/** |
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
nette: | |
mailer: | |
smtp: | |
email: smtp.live.com | |
username: user | |
password: heslo | |
port: 587 | |
secure: tls | |
services: |
NewerOlder