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
git clone https://github.com/steida/este.git | |
cd este | |
npm install | |
npm list |
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
Obecně o tvorbě titulků | |
Při psaní titulků pamatujte na to, že mohou sloužit jako text pro dabing. Vždy se snažte po sobě titulek přečíst a položit si otázku, zda byste to takto v češtině sami řekli. | |
V titulcích divákovi vykejte. | |
Překlad vůbec nemusí být doslovný. Překládejte stručně a výstižně, ale zachovejte při tom původní význam a informační obsah. | |
Dejte si pozor na překlad odborných termínů. Snažte si vyhledat správný termín a pak se jej držte. | |
Každý titulek by měl obsahovat celou větu (podmět a přísudek). Příklad: Pokud budeme muset rozdělit souvětí: „Titulky by měly být stejně čitelné jako knížka věhlasného spisovatele, zvláště když jsou určeny pro ty nejmenší.“, tak to uděláme takto: „Titulky by měly být stejně čitelné jako knížka věhlasného spisovatele,“ další titulek „zvláště když jsou určeny pro ty nejmenší.“ | |
Během překladu prosím věnujte pozornost správnému zalamování řádků. Na jednom řádku by mělo být maximálně cca. 45 znaků. Pokud se titulek musí zalomit na dva řádky, tak by měly být oba podobně |
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 | |
public static function detectDebugMode($list = NULL) | |
{ | |
if (isset($_SERVER['HTTP_X_BLACKFIRE_QUERY'])) | |
{ | |
return FALSE; | |
} | |
if (strpos(php_uname('n'), 'testing-worker-') !== FALSE) | |
{ |
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
#include <iostream> | |
#include <string> | |
#include <sys/time.h> | |
using std::cout; | |
using std::endl; | |
using std::string; | |
long time() { |
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 CCoord | |
{ | |
public: | |
CCoord(double lat, double lng) : lat(lat), lng(lng) {}; | |
CCoord(string coord) {}; | |
friend std::ostream & operator<<(std::ostream &, const CCoord&); | |
double Distance(const CCoord *) const; | |
}; | |
class CGPS |
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
services: | |
discourseSso: Sso("key", "http://redirect-url-a") | |
reportSso: Sso("second-key", "http://another-redirect-url") |
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 | |
for ($i = 0; $i < 10000; $i++) | |
{ | |
pcntl_signal(SIGTERM, function() {}); | |
pcntl_signal(SIGINT, function() {}); | |
pcntl_signal(SIGHUP, function() {}); | |
pcntl_signal(SIGTERM, SIG_DFL); | |
pcntl_signal(SIGINT, SIG_DFL); |
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
diff --git a/vendor/petrp/orm/Repository/Helpers/RepositoryHelper.php b/vendor/petrp/orm/Repository/Helpers/RepositoryHelper.php | |
index fb2d8f9..4c89622 100644 | |
--- a/vendor/petrp/orm/Repository/Helpers/RepositoryHelper.php | |
+++ b/vendor/petrp/orm/Repository/Helpers/RepositoryHelper.php | |
@@ -30,8 +30,8 @@ class RepositoryHelper extends Object | |
$repositoryClass = get_class($repository); | |
if (!isset($this->normalizeRepositoryCache[$repositoryClass])) | |
{ | |
- $name = strtolower($repositoryClass); | |
- if (substr($name, -10) === 'repository') |
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
https://youtu.be/fNlp0UMqUtM khanacademymedicine Sleep stages and circadian rhythms | |
https://youtu.be/GQBRWjHdir0 Khan Academy Gilded Age versus Silicon Valley | |
https://youtu.be/zLLPh5daY84 Big History Project What Is Big History? | Big History Project | |
https://youtu.be/zIcBK9t06YU Khan Academy Education Team Mark Halberstadt and Khan Academy | |
https://youtu.be/9YyLwzJunGw Khan Academy 12 Corressponding side lengths t2 | |
https://youtu.be/F_BI7rBhfos Big History Project Introduction to Thresholds of Increasing Complexity | Big History Project | |
https://youtu.be/dxiy22yrpTA KhanAcademy Partners What Makes Humans Different? | |
https://youtu.be/MSucylf4KhY khanacademymedicine Perspectives on Deviance: Differential Association, Labeling Theory, and Strain Theory | |
https://youtu.be/j7WcgW4BpqE Big History Project One Student of Big History | Big History Project | |
https://youtu.be/VBcEz8bVbL0 khanacademymedicine Sleep disorders |
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
diff --git a/app/models/ElasticSearch.php b/app/models/ElasticSearch.php | |
index feaadc6..fc84fdf 100755 | |
--- a/app/models/ElasticSearch.php | |
+++ b/app/models/ElasticSearch.php | |
@@ -15,14 +15,10 @@ class ElasticSearch extends Client | |
const HIGHLIGHT_START = '{{%highlight%}}'; | |
const HIGHLIGHT_END = '{{%/highlight%}}'; | |
- /** | |
- * @var string path |