Узнать разрешения мониторов подключенных на маке
$ system_profiler SPDisplaysDataType |grep Resolution Resolution: 1920 x 1080
$ system_profiler SPDisplaysDataType |grep Resolution Resolution: 1920 x 1080
➜ ~ tail -f /var/log/apache2/*
➜ ~ sudo apachectl restart
/usr/sbin/httpd -k restart httpd: Syntax error on line 59 of /private/etc/apache2/httpd.conf: Cannot load libexec/apache2/mod_authn_default.so into server: dlopen(/usr/libexec/apache2/mod_authn_default.so, 10): image not found
➜ ~ apachectl configtest httpd: Syntax error on line 59 of /private/etc/apache2/httpd.conf: Cannot load libexec/apache2/mod_authn_default.so into server: dlopen(/usr/libexec/apache2/mod_authn_default.so, 10): image not found
➜ ~ port contents nginx Port nginx contains: /Library/LaunchDaemons/org.macports.nginx.plist /opt/local/etc/LaunchDaemons/org.macports.nginx/org.macports.nginx.plist /opt/local/etc/nginx/koi-utf /opt/local/etc/nginx/koi-win /opt/local/etc/nginx/win-utf /opt/local/sbin/nginx /opt/local/share/nginx/examples/fastcgi.conf.default /opt/local/share/nginx/examples/fastcgi_params.default /opt/local/share/nginx/examples/mime.types.default /opt/local/share/nginx/examples/nginx.conf.default /opt/local/share/nginx/examples/scgi_params.default /opt/local/share/nginx/examples/uwsgi_params.default /opt/local/share/nginx/html/50x.html /opt/local/share/nginx/html/index.html /opt/local/var/log/nginx/.turd_nginx /opt/local/var/run/nginx/.turd_nginx
SELECT pcView.hd FROM (SELECT hd, count(code) as pc_count_with_such_hd from PC GROUP BY hd HAVING count(code) > 1) pcView
with PrdCountByType as (select maker, type, count(model) as prd_count from Product group by maker, type ), MakerWithCounts as (select maker, count(type) as c_type, sum(prd_count) as prd_count from PrdCountByType group by maker having count(type) < 2 and sum(prd_count) > 1) Select distinct maker, type from Product where maker in (select maker from MakerWithCounts)