Category Archives: Uncategorized

How to set the Date & Time for photos and videos taken with a Quadcopter such as the Dromida Kodo

If you’ve taken photos and videos with the a RC Quad Copter such as the Dromida Kodo, the X5C, or one of the many Quad Copters sold on Amazon you may have noticed that when you get finished taking photos and videos you have a result like this: Oct 1 01:03:40 2013 MOVI0000.avi Oct 1 01:04:04 2013 MOVI0001.avi Oct 1 01:04:20 2013 MOVI0002.avi Oct 1 01:04:20 2013 MOVI0003.avi Oct 1 01:00:52 2013 PICT0000.jpg Oct 1 01:00:56 2013 PICT0001.jpg Oct 1 01:04:08 2013 PICT0002.jpg Oct 1 01:04:12 2013 PICT0003.jpg All of the dates and times seem to be on October 1, 2013 shortly after 1:00. To get the correct timestamps, you can save a file to the SD card named time.txt with the date in the format “yyyy/mm/dd hh.mm.ss” Use notepad or another text editor to create the file, and name it time.txt with the timestamp all on one line, and then a newline (press ‘enter’) after it. This will be used to set the camera’s clock as long as it has power. Here are some examples for different timezones – and you can also download files with the current timestamps:

Posted in Uncategorized | Leave a comment

Ruby’s RVM, Shebang, dotfiles, and cron

When attempting to run cron files, and files remotely via SSH there were some issues. My default shell is zsh and the rvm setup is pretty standard too. ( Assuming that you already have rvm installed ) From the documentation page there is this note: There are five startup files that zsh will read commands from: $ZDOTDIR/.zshenv $ZDOTDIR/.zprofile $ZDOTDIR/.zshrc $ZDOTDIR/.zlogin $ZDOTDIR/.zlogout If ZDOTDIR is not set, then the value of HOME is used; this is the usual case. In the /etc/zsh/zprofile file there was a line that did this: test -f /etc/profile.d/rvm.sh && source /etc/profile.d/rvm.sh I commented that line out, which is loaded for interactive shells, and moved it instead to /etc/zsh/zshenv which is loaded for both interactive and non-interactive shells. This allows us to add the shebang #!/usr/bin/env ruby to the top of my .rb files, do a chmod +x and then run them directly ( eg: $ ./my-script.rb ) I don’t know if that is the most “proper” way of getting my scripts to work but it seems to work well for me. For cron jobs ( in the file edited by crontab -e ) you may want to add something like this as your first line: SHELL=”/usr/bin/zsh” That would basically change the default shell for cron jobs. Again, your milage may vary and this probably won’t work on shared hosting platforms. You can also check your setup to make sure that rvm is installed correctly by typing rvm info – if it gives you any errors search … Continue reading

Posted in Uncategorized | Leave a comment

ThinkCentre M83 (10AK) Linux Network Driver

The IBM ThinkCentre M83 ( types 10AG, 10AK, 10AL, and 10BE) have the Intel I217 / L217LM Clarkville according to their spec sheet Their driver download page does not have a linux network driver. However, the Intel Download Center provides a driver that should work for these machines.

Posted in Uncategorized | Leave a comment

How can I prevent zsh from autocompleting ssh hosts with the hosts file?

In bash you am able to export a variable to prevent /etc/hosts from being used with autocompletion of the ssh command: export COMP_KNOWN_HOSTS_WITH_HOSTFILE=”” You can try that setting that in zsh but it won’t work. If you’ve tried searching in the zsh-completions directory but couldn’t find anything similar, it’s because it’s not there. So, how can you prevent zsh from autocompleting ssh hosts with the /etc/hosts file? Add this to your ~/.zshrc file: zstyle ‘:completion:*’ hosts off

Posted in Uncategorized | Leave a comment

Black Studio TinyMCE plugin and WordPress 3.9

If your Black Studio TinyMCE widget seems to have disappeared after upgrading to WordPress 3.9 you’re not alone. Many users are looking for the missing widget after the most recent upgrade. According to the plugin page, the plugin lists that it is compatible up to WordPress 3.9 ( as of April 2014 ) – however you may still be having a hard time finding the editor on the widgets page ( widgets.php ) The issues is that the plugin has had some name / title changes. While still called Black Studio TinyMCE plugin the name of the widget is just called “Visual Editor”

Posted in Uncategorized | Leave a comment

Wireshark GUI on Mac OS X with Homebrew

To get the GUI of wireshark running on Mac OS X please note that the latest version requires QT and uses this for it’s GUI. They are no longer using X / X11 (because it is no longer free?) so the with-x option is not a good solution. You have probably already installed Wireshark with brew install wireshark so what you need to do to get the GUI working is run: brew reinstall wireshark –with-qt From their blog: Today I released the next development version of Wireshark, 1.11.0. This marks a major change in the direction of the project. We’re switching our user interface library from GTK+ to Qt. Both libraries make it easy for developers write applications that will run on different platforms without having to rewrite a lot of code. GTK+ has had a huge impact on the way Wireshark looks and feels and on its popularity but it doesn’t cover our supported platforms as effectively as it should and the situation is getting worse as time goes on. Also note: If you’re a power user you should probably keep using the GTK+ flavor for the time being. You should also test the Qt flavor from time to time to see how your workflow will change. Both are installed by default on Windows and Linux.

Posted in Uncategorized | Leave a comment

Syntax Specific Key Bindings in Sublime Text

I wanted to remap one of the key bindings for selecting a paragraph / expanding the current selection – but just in the Ruby syntax. Here’s what I added to my Default (OSX).sublime-keymap file: // when using ruby syntax, set cmd+shift+b to run “expand selection to indentation (or paragraph)” { “keys”: [“super+shift+b”], “command”: “expand_selection”, “context”: [ { “key”: “selector”, “operator”: “equal”, “operand”: “source.ruby” } ], “args”: {“to”: “indentation”} // “args”: {“to”: “paragraph”} }, // when not using ruby, set that shortcut to “expand selection” { “keys”: [“super+shift+b”], “command”: “expand_selection”, “context”: [ { “key”: “selector”, “operator”: “not_equal”, “operand”: “source.ruby” } ], “args”: {“to”: “scope”} },

Posted in Uncategorized | Leave a comment

Time Warner Cable: Our merger with Comcast: What it means for you.

Dear Valued Customer: Recently, Time Warner Cable announced plans to merge with Comcast, forming an industry-leading technology and media company dedicated to delivering great customer experiences.

Above all, this merger will benefit you, our customers. Our two companies have been behind many of the innovative services that you enjoy every day—digital cable TV, high-speed Internet, DVRs, Video On Demand and WiFi in the home and on-the-go—to name just a few. The combined company will innovate faster and deploy even better products and features, including a superior video guide, faster Broadband Internet speeds and even more WiFi access points so you can access the Internet wherever you go.

Continue reading
Posted in Uncategorized | Leave a comment

How to add Google Chat SRV records on Digital Ocean

If you want to set up Google Chat, Jabber, or another XMPP client to work with Google Apps – such as Olark you will need to add some SRV records to your DNS entries. If you are using Digital Ocean it might be a bit confusing to figure out what goes where. The Google help page for documenting how to Enable chat outside Google Apps gives you a little bit of information, and olark also has a help page with details about which records to add – but there don’t seem to be enough boxes on Digital Ocean to input all of this information: _xmpp-server._tcp.YOURSITE.COM. IN SRV 5 0 5269 xmpp-server.l.google.com. _xmpp-server._tcp.YOURSITE.COM. IN SRV 20 0 5269 alt1.xmpp-server.l.google.com. _xmpp-server._tcp.YOURSITE.COM. IN SRV 20 0 5269 alt2.xmpp-server.l.google.com. _xmpp-server._tcp.YOURSITE.COM. IN SRV 20 0 5269 alt3.xmpp-server.l.google.com. _xmpp-server._tcp.YOURSITE.COM. IN SRV 20 0 5269 alt4.xmpp-server.l.google.com. – _jabber._tcp.YOURSITE.COM. IN SRV 5 0 5269 xmpp-server.l.google.com. _jabber._tcp.YOURSITE.COM. IN SRV 20 0 5269 alt1.xmpp-server.l.google.com. _jabber._tcp.YOURSITE.COM. IN SRV 20 0 5269 alt2.xmpp-server.l.google.com. _jabber._tcp.YOURSITE.COM. IN SRV 20 0 5269 alt3.xmpp-server.l.google.com. _jabber._tcp.YOURSITE.COM. IN SRV 20 0 5269 alt4.xmpp-server.l.google.com. – _xmpp-client._tcp.YOURSITE.COM. IN SRV 5 0 5222 xmpp.l.google.com. _xmpp-client._tcp.YOURSITE.COM. IN SRV 20 0 5222 alt1.xmpp.l.google.com. _xmpp-client._tcp.YOURSITE.COM. IN SRV 20 0 5222 alt2.xmpp.l.google.com. _xmpp-client._tcp.YOURSITE.COM. IN SRV 20 0 5222 alt3.xmpp.l.google.com. _xmpp-client._tcp.YOURSITE.COM. IN SRV 20 0 5222 alt4.xmpp.l.google.com. Here is an example of what adding a record correctly should look like. See below for more details. So here is the trick – from that set of DNS records (above and from Olark) take the first column and … Continue reading

Posted in Uncategorized | Leave a comment

Rejuvalskin Scam

Previously I talked about the Rejuvaskin Scam but recently a similarly named product – “Rejuvalskin” has shown up and people seem to have recurring credit card charges appear. There is a company in Florida who seems to be behind this, but it is odd because they are using a PO Box that is at a UPS Store as their company address.

Posted in Uncategorized | Leave a comment