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
| И теперь простой и самый правильный способ в компоненте | |
| в template.php: | |
| $this->addExternalCss("/local/styles.css"); | |
| $this->addExternalJS("/local/liba.js"); | |
| Для подключения скриптов | |
| $APPLICATION->AddHeadScript(SITE_TEMPLATE_PATH."/js/file.js" ); | |
| Подключение css | |
| $APPLICATION->SetAdditionalCSS(SITE_TEMPLATE_PATH."/js/file.css", true); |
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
| server { | |
| listen 127.0.0.1:80; | |
| ssi on; | |
| gzip on; | |
| gzip_comp_level 7; | |
| gzip_types application/x-javascript application/javascript text/css; | |
| server_name test.ru www.test.ru; | |
| charset off; | |
| #disable_symlinks if_not_owner from=$root_path; |
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
| package main | |
| import ( | |
| "log" | |
| "syscall" | |
| "unsafe" | |
| ) | |
| var ( | |
| kernel32 = syscall.NewLazyDLL("kernel32.dll") |
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
| ProductID Database | |
| 106 GeoIP.dat | |
| 111 GeoIPOrg.dat | |
| 112/115 GeoIPRegion.dat | |
| 117 GeoIPASNum.dat | |
| 119 GeoIPUserType.dat | |
| 121/122 GeoIPISP.dat | |
| 132/133 GeoIPCity.dat | |
| 135 GeoIPAreaCode.dat | |
| 137 GeoIPDMACode.dat |
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 <stdio.h> | |
| #include <string.h> | |
| #include <stdlib.h> | |
| #include <unistd.h> | |
| #include <fcntl.h> | |
| #include <netinet/tcp.h> | |
| #include <sys/socket.h> | |
| #include <sys/types.h> | |
| #include <netinet/in.h> |