Streaming Bebop 2 Video by Parrot to VLC on Mac High Sierra

I tested this on a fresh Mac (High Sierra 10.13.3) and it worked great. However, since the Parrot drones only allow one connection to the drone at a time you will not be able to control the drone while viewing the video. You could use it for auto flying via flight plans though.

Step 1: Install Brew:

Press Command+Space and type Terminal and press enter/return key.

Run this command in your Terminal app:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null

and press enter/return key and wait for the command to finish.

Step 2: Install Required Tools:

Run this command in terminal:

brew install repo bash coreutils gettext pkg-config wget make automake libtool ffmpeg autoreconf libavutil

Step 3: Install the Parrot SDK

Run these commands in terminal in order one at a time, note that this will download the SDK and compile it into whatever current directory/folder you are in. You might want to create a Bebop2 folder and run these commands from there first.

repo init -u https://github.com/Parrot-Developers/arsdk_manifests.git -b refs/tags/ARSDK3_version_3_9_0 -m release.xml

repo sync

./build.sh -p arsdk-native -t build-sdk -j

This will take a few minutes, if all went well you should get this final message:

[I] Finished task 'build-sdk'

You should now be able to follow the rest of the steps starting at “Download the application note” here: http://developer.parrot.com/blog/2016/play-bebop-stream-on-vlc/

Good luck!

Upgrading PHP 5.X to PHP 7 on Ubuntu 14.04 / Apache

I upgraded my DigitalOcean droplet today to run PHP 7, after a few hiccups this was the process that worked best for me.

1. sudo apt-get install python-software-properties
2. sudo add-apt-repository ppa:ondrej/php
3. sudo apt-get update
4. sudo apt-get update && apt-get purge php5-fpm && apt-get --purge autoremove && apt-get install php7.0-fpm php7.0-mysql php7.0 php7.0-json php7.0-curl libapache2-mod-php7.0 php7.0-opcache php7.0-xml php7.0-gd php7.0-bz2
5. sudo service apache2 restart

If you are using NGINX, swap step 5 above to:

First udate your NGINX fastcgi_pass directive to: fastcgi_pass unix:/run/php/php7.0-fpm.sock;

then restart NGINX:

sudo service nginx restart

When you are all done type in php -v and it should say you are running PHP 7.

So far I haven’t run into any issues with WordPress or the various plugins I’m running.

There is a very noticeable speed increase across the board with WordPress as well!

Voice Activated Home Automation with SiriProxy & ioBridge

Siri Lighting the Fireplace

Siri Light my Fire

I’ve been using ioBridge & X10 for a couple years now to control some of my appliances / lights etc. in my apartment. ioBridge is a small module that allows you to web-enable your projects. Once you buy the control panel you can extend it with various boards, probes and sensors.

Continue reading →

Split Testing & the HelloBar

I’ve been using the HelloBar now for a couple months on both my clients sites and my own with great success. If you haven’t heard of it HelloBar is a simple web app that allows you to display a low profile bar on the top of your website (like the one on the top of this website). You can use this area to display small messages to push people to different areas or offers on your site.

I’ve never been one to overplan my marketing messages or copy, preferring instead to throw things against the wall and adjusting until something sticks. I’ve started exploring split testing more, as it’s a great way to compare multiple approaches analytically to get real data on what works and what doesn’t.

Split testing involves testing multiple options and recording the data to see which option preforms the best.

Split Testing the HelloBar

The first thing you need is at least two HelloBars setup in your account. You should create new bars for the test so the HelloBar stats are fresh.

Continue reading →

Create your Own Short URLs

Short URL services have become a critical part of sharing links around the web. These services take a long URL like https://www.markhodder.com/2011/02/create-your-own-short-urls/ and convert it to a smaller URL like http://mah.lt/s/6

Both links point to the same source, one just has fewer characters (17 vs 53)

These shorter links save precious space, which is critical when it comes to sharing them on Twitter. More then just making a link shorter, these services can also collect additional data, every time the link is clicked.

Information like how many people clicked the link, the countries they visited from and the source where the link was clicked. They even make it easy to update a link after it’s been shared. This allows you to point to a new source if the content has moved.

Why not use an Existing Service?

There are plenty of companies out there offering this service for free, or for a small fee so why take the time to create your own URL shortner?

The most obvious reason is that you are at the mercy of the companies you create your links with, if they are down so are your links. Even worse, if the company closes down your links could be gone forever.

Another great reason to create your own service is that you can create a more personal link. Instead of promoting a 3rd party company every time you share a link, you can be promoting your own brand.

Finally with some free tools, it’s relatively easy to get setup and creating your own URLs in no time!

Continue reading →

Your computer is out of memory: line 75, 71, 11 etc.

This error seems to be floating around the internet in the last 48 – 72 hours. It effects Windows users using Internet Explorer and has started a long thread over on Facebook.

Apparently it’s being caused by a recent automatic update from Microsoft. There is no fix as of yet, some users report that deleting temporary internet files / cookies and upgrading flash fixes the problem.

A more drastic solution is to modify your registry (warning modifying your registry without knowing what your doing can break things!):

——

To correct this problem, increase the size of the desktop heap: 1. Run Registry Editor (Regedt32.exe).
2. From the HKEY_LOCAL_MACHINE subtree, go to the following key: SystemCurrentControlSetControlSession ManagerSubSystems
3. Select the Windows value.
4. From the Edit menu, choose String.
5. Increase the SharedSection parameter.

For Windows 2000, Windows XP, and Windows Server 2003:
SharedSection uses the following format to specify the system and desktop heaps:

SharedSection=xxxx,yyyy,zzz

Increase the zzz number to “256” or “512.”

——

I haven’t tested the above solutions as I left the windows world last year and haven’t looked back, good luck!