Paul's Programming Notes     Archive     Feed     Github

Best VNC Installation Guide

That guide gave me the least amount of hassle when I installed VNC on a server. I started by trying to get it working with 13.10, but had issues with a grey screen when tightvnc connected.

"Not Found The requested URL /app/install was not found on this server." - CakePHP

Rather than dealing with my .htaccess problems to fix the error, I thought this would be a better approach:

Unfortunately, it messed up quite a few links on my site.

I ended up solving the problem by changing "AllowOverride" None to "AllowOverride All" in my /etc/apache2/sites-available/default file.

Why the heck is CakePHP using .htaccess files by default anyway? Yii has this more streamlined.

How To Use Endpoint Parameter - Flask-Admin

You can access the endpoint parameter by using self.endpoint.

class displayResults(BaseView):
def index(self):
print self.endpoint

admin.add_view(displayResults(name='test', endpoint='test2'))

That will print "test2".

Enable UART2 On BeagleBone Black for RS232 Cape

  1. Use this script to ensure UART2 is enabled in the device tree:
  2. Enable ttyO1 it in the firmware using this guide (makes the device appear):
  3. Put a paperclip into the RS232 port like in the picture on this page:
  4. echo hello > /dev/ttyO1
  5. cat /dev/ttyO1