whird.jpope.org cover image

Firefox Sync on Arch

As part of my desire to reduce my usage of third parties concerning my online data, I've always wanted to get my own sync server going for Firefox. I had tried this a few different times and had been unsuccessful each time until today. I've mostly been wanting to have one going to further reduce my dependence of third parties in regards to my online data. Of course, this has been mostly been directed at Google but I have extended it to Dropbox and now Mozilla. I don't really have any reasons to dis-trust Mozilla but, the Degooglify attitude shouldn't stop with just Google. If you have the option of fully taking control of your data, I feel that you should. ;) So, looking at starting a FF Sync Server leads to this documentation that Mozilla has. After reading over it again, I realized that the dev setup is very similar to the basic setup of MediaGoblin that I currently have running here. My MediaGoblin setup is using a python server, running on a port which is then redirected to the sub-domain in the Apache…

MediaGoblin - ArchLinux rc.d scripts

I recently moved my MediaGoblin instance from an Amazon EC2 instance (Debian, Nginx) to my server at home, which runs ArchLinux and Apache. After getting my data moved home and the instance up and running, I really needed to create some init scripts. For a bit, I was being lazy and running the separate server pieces in tabs in screen. Which works fine until you reboot and forget to restart the services. Finally, I got around to writing those scripts. The MediaGoblin built in server setup consists of two parts, Python Paste for the basic http serving and Celery for the task processing. You can run these parts as a single process or separately. For the best performance, they should be run as separate processes, especially when you upload video, large images and (in the future) audio. Having these processes separate (along with running Paste in CELERY_ALWAYS_EAGER=false mode) will allow uploads to be processed asynchronously. And from experience, having MediaGoblin running synchronously can kinda drag. Of course…

Curse the Weather - weather for your terminal

Stupid F#@%!n weather… Recently, on a fresh install of <Debian, Fedora, … , was prior to my Arch install> I went on a search for a lightweight weather program. After some time with the Google search box, I came across Curse the Weather. CTW is basically a set of python scripts that pull the weather from weather.com and feed the output to a ncurses frontend. Not much to it but it works great. Just fire up your preferred terminal and you’ve got a nicely formatted weather forecast and current conditions. And seeing that the project doesn’t seem to have any activity since 2004, it’s nice to see that everything still works. Well, not initially if you’ve got python3 installed as I do in my Arch install. But, I ran each of the python scripts through the 2to3 converter and voila, it now works with python3. For 2to3 usage, check this page at python.org. I also created a .desktop file so I’ll show in my menu and/or use as a launcher from the panel. My .desktop file (which uses a faenza-dark icon for t…