Nefarious is a web application which can automatically search torrents and download TV & Movies for you.

Nefarious uses Jackett for torrents searching and Transmission for torrents downloading.

Environment

  • Ubuntu 16.04
  • docker
    • docker-compose

Reference

Steps

  1. Install docker and docker-compose
    • # install docker
      curl -sSL https://get.docker.com | sh
      # install docker-compose (change the version number if there's a higher one)
      sudo curl -L "https://github.com/docker/compose/releases/download/1.25.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
      sudo chmod +x /usr/local/bin/docker-compose
    • Check if docker and docker-compose are properly installed.
      docker --version
      docker-compose version
  2. Install Nefarious
    • Clone the Nefarious Repo
      git clone https://github.com/lardbit/nefarious.git
    • Install with docker-compose
      cd nefarious
      sudo docker-compose up -d

Once the installation is completed, Nefarious web interface is listening on http://localhost:8000, Jackett is listening on http://localhost:9117, and http://localhost:9091 for Transmission.

Continue reading “Setup Nefarious to automate TV & Movie watching.”

应用已损坏无法打开

问题描述

运行一些比较老的应用时会提示应用损坏,只有移到废纸篓选项

解决方法

终端执行指令

sudo xattr -d com.apple.quarantine /Applications/[app name].app

[app name] 为应用名称

应用无法打开 xxx.app 应用

问题描述

此问题发生在待机一段时间后(我的情况是黑屏并登出后),表现为打不开任何之前未打开的应用,包括系统应用(设置等),并且浏览器无法新建标签页

解决方法

搜索后有人分析原因为“应用程序无限新建进程导致资源耗光”,另外一个帖子给出的解决方法是清空所有 cron 任务

自测清空 cron 后,半天内没有再出现此问题,还待验证

参考

问题描述

按照文档安装完 SQL Server 后,使用 sqlcmd 连接 SQL Server 时报错:

Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : TCP Provider: Error code 0x2746. Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Client unable to establish connection.

显示 TCP 连接错误,但是通过 netstat 指令查看 mssql 确实已经监听了 1433 端口

问题解决

此问题只会出现在 Ubuntu 1804 版本

  1. 关闭 mssql 服务
    sudo systemctl stop mssql-server
  2. 新建服务重载文件
    sudo systemctl edit mssql-server
  3. 向文件添加以下内容
    [Service]
    Environment="LD_LIBRARY_PATH=/opt/mssql/lib"
  4. 添加 OpenSSL 1.0 软链接
    sudo ln -s /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 /opt/mssql/lib/libssl.so 
    sudo ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /opt/mssql/lib/libcrypto.so
  5. 启动 SQL Server
    sudo systemctl start mssql-server