I ran into a problem while installing neutron. This error is rather common (as seen through googling) but the solution was hard to find. This is what I found that worked for me. YMMV.
Rocket League: My Camera Settings
I’m posting this primarily so I don’t lose my settings (they are on a piece of paper on my desk).
Camera: FOV: 102 Height: 160 Angle: -8 Distance: 400 Stuffness: 0 Swivel: 2.5
Getting YouTube embedded in IOS 9 using Swift
These are just basic notes for me because I will forget.
This uses the Swift-YouTube-Player Cocoapod from https://github.com/gilesvangruisen/Swift-YouTube-Player
Copy the instructions here to get it installed using pods.
It isn’t up-to-date with swift 2.0 yet so copy the changes here
Then (using the information from here) make sure the VTPlayer.html
file is included in the Pods
(YouTubePlayer
) resources list:
- Click on
Pods
‘project’ - Click on
YouTubePlayer
under TARGETS - Click on
Build Phases
- Click on the plus sign (add build phase)
- Add a
Copy Files
build phase - Set
Destination
toResources
and add theYTPlayer.html
file
Rebuild all the things.
Workflow Tip 1: Manual Replaces
These workflow tips are for me to remember how I managed to make certain things more efficient.
This episode started from my local neutron failing to start due to:
2015-03-16 10:56:59.272 6232 CRITICAL neutron [-] ArgsAlreadyParsedError: arguments already parsed: cannot register CLI option
This was caused by this upstream change:
015-03-16 10:56:59.162 6232 TRACE neutron.service from neutron.openstack.common import log as logging
I had to change all the from neutron.openstack.common import log as logging
lines to from oslo_log import log as logging
. This isn’t a big deal and you’d think sed
would work, but it can’t work due to the difficulties involved in reordering the imports into alphabetical order.
Workflow
Using tmux
I’d make a vertical split and make my edits in one of the panes. In the other pane I run:
watch -n 1 'find . -name "*.py" | xargs grep "neutron.openstack.common import log as logging"'
Having an updating list of what files I need to update is helpful and keeps me sane.