Скрипт не претендует на истину первой инстанции
Да, я знаю что есть способ ${the_best_pg_backup_method}
Это просто скрипт которым я поделился - хочешь пользуйся, не хочешь - иди мимо
Скрипт не претендует на истину первой инстанции
Да, я знаю что есть способ ${the_best_pg_backup_method}
Это просто скрипт которым я поделился - хочешь пользуйся, не хочешь - иди мимо
| # | |
| # CORS header support | |
| # | |
| # One way to use this is by placing it into a file called "global/cors.conf" | |
| # under your Nginx configuration directory and placing the following | |
| # statement inside your **location** block(s): | |
| # | |
| # include global/cors.conf; | |
| # | |
| # As of Nginx 1.7.5, add_header supports an "always" parameter which |
| docker ps --format "table {{.ID}}\t{{.Names}}\t{{.RunningFor}}\t{{.Status}}" |
| {# style 1 - long form #} | |
| {% if filepath == '/var/opt/tomcat_1' %} | |
| {% set tomcat_value = tomcat_1_value %} | |
| {% else %} | |
| {% set tomcat_value = tomcat_2_value %} | |
| {% endif %} | |
| {# style 2 - short form #} | |
| {% set tomcat_value = tomcat_1_value if (filepath == '/var/opt/tomcat_1') else tomcat_2_value %} |
| #!/usr/bin/perl | |
| # | |
| # Simple log/alarm server receiving and printing to console remote dvr/camera events. | |
| # future releases at https://gitlab.com/667bdrm/sofiactl | |
| # Tested with: | |
| # | |
| # HJCCTV HJ-H4808BW | |
| # http://www.aliexpress.com/item/Hybird-NVR-8chs-H-264DVR-8chs-onvif-2-3-Economical-DVR-8ch-Video-4-AUDIO-AND/1918734952.html | |
| # |
| Working Huawei E3372h-153 SETPORT mappings | |
| replacing A1,A2 with FF turns off need for usb_modeswitch | |
| AT^SETPORT="A1,A2;12,1,16,A1,A2" | |
| ^GETPORTMODE: TYPE: WCDMA: huawei,PCUI:0,MDM:1,NDIS:2,CDROM:3,SD:4, | |
| AT^SETPORT="A1,A2;1,12,16,A1,A2" |
| if ($request_uri = /) { | |
| set $test A; | |
| } | |
| if ($host ~* teambox.com) { | |
| set $test "${test}B"; | |
| } | |
| if ($http_cookie !~* "auth_token") { | |
| set $test "${test}C"; |