Category Archives: Software
After getting the TLS handshake Error from pianobar on Raspberry Pi running Debian Wheezy ( aka Raspbian ) I decided to get the latest version of Pianobar. This requires building from sourcecode if you’re on the Wheezy release. The TLS handshake Error can basically be translated to mean “the version of pianobar you’re using is too old” – this is an error that occurs regularly and the solution is always to update to the latest edge version. Packges for Raspbian / Wheezy aren’t going to get updates fast enough for this to be a good option (i.e. to not interrupt your listening ) so you’ll need to build from source. One of the requirements is basically to have ffmpeg ( it the libraries from it ) installed. Several people will suggest installing ffmpeg from source – which you can do – but if you’re using a “Raspberry Pi model B” and not the latest Raspberry Pi 2.0 – or even if you are – it will take a long time to build ffmpeg from source – maybe 6 hours or more. If you go this route, and you’re doing it via SSH make sure to use something like screen to keep the process from dying if you get disconnected. I didn’t want to install ffmpeg and found a good alternative – install the libraries from the backports. Here’s a script – which is basically my notes from along the way. It is sloppy and has some duplication – created from … Continue reading
If when attempting to compile linphone you get this error when running ./configure – error: libupnp >= 1.6 < 1.5 required. Then you can try what L Miller suggests and do: apt-get remove libupnp4-dev And then: apt-get install libupnp6-dev This seems to do the trick when compiling on Ubuntu 14.04. After upgrading this library I started over in the compiling instructions with autogen: – Compile linphone $ ./autogen.sh $ ./configure $ make && sudo make install $ sudo ldconfig If that still doesn’t work then see http://akh1.blogspot.hk/2014/04/compiling-linphone-37-in-ubuntu.html
WordPress 3.8 is here (ok, almost!) but you can get it now to see some of the cool stuff. After upgrading you’ll get: Welcome to WordPress 3.8 – Thank you for updating to WordPress 3.8, the most beautiful WordPress yet. Features include: Introducing a modern new design Modern aesthetic – The new WordPress dashboard has a fresh, uncluttered design that embraces clarity and simplicity. Clean typography – The Open Sans typeface provides simple, friendly text that is optimized for both desktop and mobile viewing. It’s even open source, just like WordPress. Refined contrast – We think beautiful design should never sacrifice legibility. With superior contrast and large, comfortable type, the new design is easy to read and a pleasure to navigate. WordPress on every device – We all access the internet in different ways. Smartphone, tablet, notebook, desktop — no matter what you use, WordPress will adapt and you’ll feel right at home. High definition at high speed – WordPress is sharper than ever with new vector-based icons that scale to your screen. By ditching pixels, pages load significantly faster, too. Refined theme management The new themes screen lets you survey your themes at a glance. Or want more information? Click to discover more. Then sit back and use your keyboard’s navigation arrows to flip through every theme you’ve got. Smoother widget experience Drag-drag-drag. Scroll-scroll-scroll. Widget management can be complicated. With the new design, we’ve worked to streamline the widgets screen. Have a large monitor? Multiple widget areas stack side-by-side to … Continue reading
This is an anonymous python – as seen in Google Docs: That’s it – just a snake in a green box. Shows up in Google Docs when viewing a video or other item:
Follow these simple steps to allow applications downloaded from anywhere to run on your OS X Mac: Step 1: Open System Preferences and then choose Security & Privacy Step 2 Choose the first tab: “General”: The bottom section may be grayed out: If so choose the “Lock Icon” in the bottom left: Under “Allow Applications Downloaded From” click the button to set it as “Anywhere” instead of “Mac App Store” or “Mac App Store and Identified Developers” Now try running your application and see if it works.
After a recent upgrade to DSpace 3.1 (from 1.7 to 1.8 to 3.x) there was a problem getting the OAI-PMH working. When visting the OAI harvester’s URL there was an error: No matches for the query You can most likely use the default OAI configuration file: [dspace]/config/modules/oai.cfg You will need to run one of these commands to get your index: [dspace]/bin/dspace oai import Or if you want to clear your index out and rebuild it, i.e. erase existing records from the solr oai index (won’t delete your dspace records) then use: [dspace]/bin/dspace oai import -c I checked the /var/log/tomcat6/catalina.out when running this and saw a note that said that I had run out of disk space when doing this. That was one problem. The other problem was that I actually needed to edit my [dspace]/config/modules/oai.cfg file and update my identifier prefix and url. The value for identifier.prefix should probably yourdomain.edu without the http, and the bitstream.baseUrl should probably be http://yourdomain.edu with the http. Don’t put a trailing slash on either one. Also, unless you have a specific reason to change the other settings, leave them the same. They are internal URLs: # Storage: solr | database storage=solr # Base solr index solr.url=http://localhost:8080/solr/oai After updating the settings I restarted tomcat, then re-ran the index with the -c option as mentioned previously, and then the OAI-PMH started working again. For good measure I also deleted the files out of the requests subdirectory of my cache.dir directory (see your oai.cfg file for that … Continue reading
Many applications seem to launch in appropriate positions but I wish that some (like Chrome and Firefox) would always launch on the left half of the screen, while I would like others like SublimeText to launch on the right side of the screen. I have checked the application settings and can’t find a way to do this. I’ve explored several window managers and am able to move the windows into position after they launch with a keyboard shortcut – but I would like them to launch in pre-determined positions. How can I force application windows to a certain position when the application is launched in OS X? After much searching I didn’t find a specific answer. However I did start using Slate for Mac OS X which is a very advanced, free, and open-source window manager. It has a .slate config file that is in the home directory. There is a issue requesting command line support and I really hope that gets implemented soon – that would solve my issue of easily positioning windows programmatically. If that doesn’t help, I also found a great question on the Apple Stack Exchange listing the best window managers for OS X.
Recently I put a CD in my drive but it didn’t show up in my sidebar in the finder. I was confused. I remembered editing the items there before, but couldn’t remember how I did it. I know how to add items to the finder’s sidebar – you find the folder or file you want and drag it in there – you can even rearrange things that way: But that didn’t give me this – which is the window I remembered using to edit Mac OSX’s sidebar items (screenshot from Mac OS X Lion but it is very similar in Snow Leopard): After a little searching and trial and error I remembered that I could do this by using the finder’s menu bar » Preferences: Problem solved!
When using GravityForms with the PayPal extension, the plugin asks you to set your IPN in paypal to: http://www.yoursite.com/?page=gf_paypal_ipn This is the settings page: The problems facing Paypal Multiple IPN are: You can only have one PayPal account because PayPal will terminate multiple accounts if you try to set them up PayPal only allows you to enter one IPN address on their website (admin) Potential Solutions are: Use the PayPal API to set the notify_url in your request Use a broadcast script to have a single IPN endpoint that will make CURL requests to all of your endpoints Ask your plugin developer to update the plugin you are using to use the notify_url instead of hard coding the IPN endpoint
The new version of WordPress – 3.6 – which is still in Alpha as of Feb 2013, has changed the admin icon set for the main menu in the administrative interface. Here is a preview of what the new icons look like: What do you think about the new icon set?