sudo add-apt-repository ppa:mosquitto-dev/mosquitto-ppa
sudo apt-get update
sudo apt-get install mosquitto # Install the latest version
sudo apt-get install build-essential libc-ares-dev libc-ares2 libcurl4-openssl-dev libmysqlclient-dev
curl -O http://mosquitto.org/files/source/mosquitto-1.4.11.tar.gz
tar zxf mosquitto-1.4.11.tar.gz
cd mosquito-1.4.11
nano config.mk # Edit: disable SRV
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
| <?php | |
| function renderRSS($a_item) | |
| { | |
| header("Content-Type: application/rss+xml; charset=UTF-8"); | |
| $xml = new SimpleXMLElement('<rss/>'); | |
| $xml->addAttribute("version", "2.0"); | |
| $channel = $xml->addChild("channel"); | |
| $channel->addChild("title", "Your feed title"); |
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
| #deb [by-hash=force] http://packages.deepin.com/deepin panda main contrib non-free | |
| #deb-src http://packages.deepin.com/deepin panda main contrib non-free | |
| deb http://kartolo.sby.datautama.net.id/deepin unstable main contrib non-free |