This is a guide for setting up rdio in ubuntu. Specifically via gnome-shell as an application.
Install Google Chrome on linux
Download Rdio's icon. Place it in ~/.local/share/icons/rdio.png.
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| Vagrant::Config.run do |config| | |
| config.vm.define 'shortbus' do |c| | |
| c.vm.box = "opscode-centos-5.5" | |
| c.vm.box_url = "http://opscode-vm.s3.amazonaws.com/vagrant/boxes/opscode-centos-5.5.box" | |
| c.vm.network :hostonly, "192.168.93.93" |
| if [ -d .git/hooks ]; then | |
| mv .git/hooks .git/hooks.orig | |
| ln -s hooks .git/hooks | |
| fi |
| maintainer "YOUR_COMPANY_NAME" | |
| maintainer_email "YOUR_EMAIL" | |
| license "All rights reserved" | |
| description "Installs/Configures pants" | |
| long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) | |
| version Time.at(`git --git-dir=#{File.join(File.dirname(__FILE__),'.git')} log --max-count=1 --pretty=format:%ct`.to_i).strftime("1.0.%Y%m%d%H%M") |
| input { | |
| tcp { | |
| type => "syslog" | |
| host => "127.0.0.1" | |
| port => 3514 | |
| } | |
| tcp { | |
| type => "eventlog" | |
| host => "10.1.1.2" | |
| port => 3515 |
| - certain endpoints are always blocked | |
| if nginx_uri == "/_access_token" or nginx_uri == "/_me" then | |
| ngx.exit(403) | |
| end | |
| -- import requirements | |
| local cjson = require "cjson" | |
| -- setup some app-level vars | |
| local app_id = "APP_ID" |
This is a guide for setting up rdio in ubuntu. Specifically via gnome-shell as an application.
Install Google Chrome on linux
Download Rdio's icon. Place it in ~/.local/share/icons/rdio.png.
| #! /bin/bash - | |
| curl -H "Content-Type: application/json" localhost:5984/chef | |
| curl -H "Content-Type: application/json" -X POST http://localhost:5984/chef/_compact | |
| sleep 3 | |
| for VIEW in nodes roles registrations clients data_bags data_bags_items users checksums cookbooks sandboxes environments id_map; do | |
| curl -H "Content-Type: application/json" -X POST http://localhost:5984/chef/_compact/$VIEW |
| cd /home/tim/VirtualBox\ VMs/ | |
| mv proxydev2_1351794515 tmp | |
| mkdir proxydev2_1351794515 | |
| sudo mount -t tmpfs -o size=10G tmpfs /home/tim/VirtualBox\ VMs/proxydev2_1351794515 | |
| cp -a tmp/* proxydev2_1351794515/ | |
| # go back to vagrant directory and `vagrant up` |
| #!/bin/bash | |
| # | |
| # kick_api.sh | |
| # | |
| # please set your host | |
| address="http://[your management server]:8080" | |
| # please set your api key | |
| api_key="QVOObVBiTodKl5L0vPQFCCELsxbtEHHysXU42XTFFwhBHWWFV7GaiH5oJG0yHHsqFzCcgflH8Ee8Ttk4m_qJLQ" | |
| # please set your secret key | |
| secret_key="zTl4qQtSZPijMkNYgkX1lQh6QlEUXyjSKeXSPZQl2MJifzOBFhNDA5cQlfK7Ds5BFEM_ua_5ELMPL-z4JNJBIA" |
| STEP ONE: | |
| write this to a file called jstatd.all.policy: | |
| grant codebase "file:${java.home}/../lib/tools.jar" { | |
| permission java.security.AllPermission; | |
| }; | |
| STEP TWO: |