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
| uint64_t chipid; | |
| void setup() { | |
| Serial.begin(115200); | |
| } | |
| void loop() { | |
| chipid=ESP.getEfuseMac();//The chip ID is essentially its MAC address(length:6bytes) | |
| Serial.printf("ESP32 Chip ID = %04X",(uint16_t)(chipid>>32));//print High 2 bytes | |
| Serial.printf("%08X\n",(uint32_t)chipid);//print Low 4bytes. | |
| delay(3000); | |
| } |
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
| gh repo list fgh151 --limit 1000 | while read -r repo _; do | |
| gh repo clone "$repo" "$repo" | |
| 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
| /** | |
| * Расчет показателей | |
| */ | |
| public function getIndex(int $number): int | |
| { | |
| switch ($number) { | |
| case 1: | |
| if (in_array((int)$this->position, [12, 13], true) || $this->ceo_grant || $this->expert) { | |
| return 4; | |
| } |
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 | |
| return [ | |
| 'position' => 'Должность', | |
| 'level' => 'Ученая степень', | |
| 'science' => 'Область науки', | |
| 'orcid' => ' Наличие ORCID', | |
| 'authorid' => 'Наличие Scopus Author ID', | |
| 'researchid' => 'Наличие ResearcherID', | |
| 'rinc' => 'Наличие SPIN РИНЦ', |
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
| /** | |
| * Расчет показателей | |
| */ | |
| public function getIndex(int $number): int | |
| { | |
| switch ($number) { | |
| case 1 : { | |
| if (in_array((int) $this->position, [12, 13], true) || $this->ceo_grant || $this->expert) { | |
| return 4; | |
| } |