Category: Uncategorized
-
Approving Eye-Fi Facebook Uploads
I got a Eye-Fi Wifi SD Card for Christmas. It works great on my Canon 5d3 and gives me the wifi uploading that Canon should have baked in from the start (they added it into the cheaper 6d, ugh!). It can upload to a number of online services, including Facebook. I set it up and…
-
Linux Driver For Sure Electronics DE-DD22111
In addition to offering cool LED modules, Sure Electionics also offers a nice Demo / Driver board to go along with them. The only bummer is that the driver board needs a Windows Java program to run if you want to send text to it, to be displayed. I did some backwards engineering and looked…
-
$100 Internet Enabled LED Message Board
The Raspberry Pi is a lot of fun to play with but I wanted to do something “useful” with it. The obvious solution was of course to connect something fun to it. I have always wanted to have a message board all to my own so I can display my wisdom and entertain my co-workers.…
-
Raspberry Pi
I recently got a Raspberry Pi. It is awesome. I am going to use this post to keep track of everything I have done to get it setup. Config program: Expand filesystem to size of SD card Set locale to EN(us) UTF8 Enable SSH Add proxy to apt-get: sudo su echo ‘Acquire::http::Proxy “http://yourproxyaddress:proxyport”;’ > /etc/apt/apt.conf.d/10proxy…
-
Forcing a Visual or HTML Mode in WP_Editor
If you are incorporating the built-in TinyMCE editor into a WordPress Plugin using wp_editor() it is possible to force it into a mode. Simply latch onto the wp_default_editor hook: add_filter( ‘wp_default_editor’, ‘force_default_editor’ ); function force_default_editor() { //allowed: tinymce, html, test return ‘tinymce’; }
-
WP_List_Table and an Extra Nonce
I am working on a WordPress plugin. For part of it I am adding a Metabox onto the Post Edit screen in the admin section. However things stop working if I add a WP_List_Table. That is because by default the list table adds a _wpnonce field, even though there is already one there for the…
-
Tilestream: Fixing interaction
When I upgrade to a new version of Tilestream / Wax, apparently the method for adding interactivity change. Before I think it pulled some of the info from a JSON file. It can still do this, but my files seemed to include localhost versions of the server. Anyhow, long story short, you need to make…
-
Tilestream: Tiles not found
I just upgraded to a newer version of Tilestream. Unfortunately after doing that, all my maps stopped working. When I went to my Tilestream UI, I was able to see that it was up and it was finding the MBTILE files. When I clicked on info, it became clear that the URL had changed. Instead…
-
node-xml2js causes “Can’t send headers…”
Ugh! Turns out if you don’t use a new Parser for each request you end up exiting with “Error: Can’t set headers after they are sent.” Very annoying! https://github.com/visionmedia/express/issues/711
-
Installing NodePie on Ubuntu
I was transferring my latest creation over to my hosted Ubuntu server and came across the most annoying error. I had to reinstall the NodePie module because it relies on compiled C code. I kept getting an error though about something called lib-expat. Anyhow, turns out you need to apt-get a new library: sudo apt-get…