- Integrate the same concept as Spotify Apps, but a bit more flexible (not only Apps, but more of a plugin-system)
- HTML5+JavaScript
- QWebkit View inside Tomahawk
- Can have an entry in the TreeView on the left side in "Apps -> " and declare subentries
- Add addtional functionality such as: ** Custom sharing ** Charts
(Client == Process talking to the Tomahawk instance)
- Client requests auth via GET /2/access/request_auth
- Client indicates that it requires Authorization in the running Tomahawk instance and provides it UUID to the User
- User sees authorization request in JobView and accepts it (for headless instances:
tomahawk --grant-api-access <UUID>
- Tomahawk indicates granted access to the client / Client polls if it has been granted access.
- Tomahawk stores the UUID and some additional information (e.g. client name) in its DB
This file contains 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
cat >/etc/apt/preferences.d/saucy-proposed <\EOF | |
Package: * | |
Pin: release a=saucy-proposed | |
Pin-Priority: 400 | |
EOF | |
cat >/etc/apt/sources.d/saucy-proposed.list <\EOF | |
deb http://us.archive.ubuntu.com/ubuntu/ saucy-proposed main restricted universe | |
deb-src http://us.archive.ubuntu.com/ubuntu/ saucy-proposed main restricted universe |
This file contains 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
# Description: | |
# Annoy people who still think shouting "Ok, <app>!" at their device is revolutionary. | |
module.exports = (robot) -> | |
robot.hear /^(?!Ok, .*!).*/i, (msg) -> | |
msg.send "Ok, #{msg.message.user.name}! You should start your messages with \"Ok, ..\" or they will not be recognised." |
This file contains 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
* { | |
font-size: 12pt; | |
font-family: monospace; | |
font-weight: normal; | |
font-style: normal; | |
text-decoration: none; | |
color: black; | |
cursor: default; | |
} |