x에서는 마우스가되는데 kodi에서만 마우스가 동작 안할때 아래와 같이 수정한다.
usermod -a -G input kodi
재부팅하거나 service kodi restart
- Posted
- Filed under 리눅스
cd languages wget http://nblang.nibbleblog.com/download/thebe/language/ko_KR.bit
location / { # First attempt to serve request as file, then # as directory, then fall back to displaying a 404. #try_files $uri $uri/ =404; try_files $uri $uri/ @rewrites; } location @rewrites { rewrite ^/category/([^/]+)page-([0-9+])$ /index.php?controller=blog&action=view&category=$1&number=$2 last; rewrite ^/category/([^/]+)/$ /index.php?controller=blog&action=view&category=$1&number=0 last; rewrite ^/tag/([^/]+)/page-([0-9]+)$ /index.php?controller=blog&action=view&tag=$1&number=$2 last; rewrite ^/tag/([^/]+)/$ /index.php?controller=blog&action=view&tag=$1&number=0 last; rewrite ^/page-([0-9]+)$ /index.php?controller=blog&action=view&number=$1 last; rewrite ^/post/([^/]+)/$ /index.php?controller=post&action=view&post=$1 last; rewrite ^/post-([0-9]+)/(.*)$ /index.php?controller=post&action=view&id_post=$1 last; rewrite ^/page/([^/]+)/$ /index.php?controller=page&action=view&page=$1 last; rewrite ^/feed/$ /feed.php last; rewrite ^/([^/]+)/$ /index.php?controller=page&action=$1 last; }
<?php ini_set('default_socket_timeout', -1); $redis = new Redis(); $redis->connect('localhost',6379); $test=$redis->brpop('ch_test',0); print_r($test); ?>
<?php $redis = new Redis(); $redis->connect('localhost',6379); $redis->lpush('ch_test','test'); ?>