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
Show hidden characters
{ | |
"browsers": ["> 1%"], | |
"cascade": true, | |
"remove": true | |
} |
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
{ | |
"folders": | |
[ | |
{ | |
"path": ".../__PROJECT_FOLDER__/wp-content/themes/__THEME_NAME__/", | |
"folder_exclude_patterns": ["node_modules"], | |
"file_exclude_patterns":[ "composer.phar", "deployment.phar" ], | |
}, | |
{ | |
"path": ".../__PROJECT_FOLDER__", |
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
// Random generator of position in circle | |
// Test out on http://testdata.kutac.cz/nahodna-pozice-v-kruhu/ | |
function getCircleRandomPosition(radius){ | |
a = Math.random(); | |
b = Math.random(); | |
var ret = { | |
x: 0, | |
y: 0 | |
} |
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
#pragma once | |
#include <unordered_map> | |
#include <chrono> | |
class TimeMeasuring | |
{ | |
private: | |
bool started = false; | |
std::chrono::steady_clock::time_point start; | |
std::unordered_map<std::string, std::chrono::steady_clock::time_point> breakpoints; |