3dgo.net

Life, the Universe, and Everything

  • Home
  • About

Nexus One ADB on Ubuntu 9.10

By Brian on January 26, 2010

So I just spent the last hour trying to get the Nexus One and ADB to play nicely together on my machine. Finally it is working and here is how…

/etc/udev/rules.d/90-android.rules

SUBSYSTEM=="usb|usb_device", SYSFS{idVendor}=="18d1", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb|usb_device", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e12", SYMLINK+="android_adb"
SUBSYSTEM=="usb|usb_device", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0fff", SYMLINK+="android_fastboot"
sudo restart udev

This should allow any user in the plugdev group to use adb without sudo.

Posted in Android, Ubuntu | Tagged adb, nexus one, Ubuntu | 2 Responses

Nexus One Lego Dock

By Brian on January 15, 2010

I needed a dock for my Nexus One and currently they don’t exist. So I made one out of Legos. I think it turned out pretty well.

Posted in Gadgets, Projects | Tagged legos, nexus one, Projects | Leave a response

Nexus One

By Brian on January 7, 2010

My Nexus One arrived yesterday. I haven’t been this excited about a device in a long time and Christmas was good. I’m guessing I was one of the first couple hundred people to place an order and so far, I really like it. I don’t really feel like typing an actual review, so bullets it is…

Pros

  • This is the first smartphone I’ve had and that is exciting on its own.
  • The thing is fast. The Snapdragon inside really shows. I haven’t felt like I was waiting for the phone to catch up to me.
  • Android and open source. I like open source. And I know a bit of java. Maybe I’ll develop an app if I find a need/use.
  • Navigation. It works and pretty well at that. Even over iWireless less than impressive data connection it was able to reroute and pull down the satellite imagery.
  • Gmail app. Works like gmail (go figure). I really like gmail and since I use it for all my email, an Android device is perfect.
  • Google Voice. If you have it, Android will use it seemlessly. And seemless is good.
  • Widgets. Bits of information that are always available. And live.

Cons

  • The android market is not the most intuitive of beasts
  • The touch screen is occasionally a bit wonky. Not sure if this is me touching things I don’t intend to or what.
  • No multitouch if official apps. I don’t get it. Why won’t Google build in multitouch? Other apps can have multitouch? This may be the cause of some of the aforementioned wonkyness.
  • iWireless’ edge connection is SLOW. Painfully so. But it can somehow support Pandora which is nice.

Posted in Gadgets | Tagged nexus one | Leave a response

SmugMug Uploader Updated

By Brian on September 28, 2009

I have updated the SmugMug uploaders I released previously to include the latest version of phpSmug as well as making the uploader only look at image files. In the not too distant future, I hope to add video files.

Download the package

Posted in Hosting, Scripting | Tagged api, photos, php, smugmug | 2 Responses

PHP Uploader for SmugMug

By Brian on September 24, 2009

EDIT (9/28/2009): I pulled the sourcecode out of the post as it was far too long. I have also updated the download package with a couple of important fixes.

I just recently started playing with SmugMug and am really liking it so far. One of my complaints so far is the upload process. Let me be clear here…they have many upload options and odds are good that those options work for the majority of people. But I’m not one of them. Basically I want to be able to keep my online galleries in sync with the photos on my computer and I didn’t see an easy way to do this with the available options. Fortunately, SmugMug provides a solid API and many people have written tools that make use of it. I looked through what people have already written and unsurprisingly didn’t find one that did exactly what I wanted. I did find phpSmug which is a PHP class that makes using the api extremely simple.

Over the course of two days, I have written 2 separate (but related) uploaders that handle the things I need them to. Both require an API key and a valid SmugMug account. These aren’t necessarily the prettiest code I have ever written, but I think they work pretty well.

Download full (UPDATED) package

upload.php

This one is a fairly simple uploader. You give it the name of an album and a list of pictures to upload and it will upload any files that don’t already exist, replace files that do exist and update the metadata for those files.

multi-album-upload.php

This is the one that will keep a filesystem in sync with SmugMug. Point it at a folder and it will create categories, albums and handle the uploading (in the same way as upload.php).

cat-delete.php

This is a quick way to delete categories. Mostly I made it for while I was testing, but as there doesn’t seem to be a way to delete categories through the SmugMug UI this may be useful to someone.

Standard disclaimers apply to all of this. If it somehow causes the world to end or any other undesired effect, I take no responsibility. That said, it works pretty well for me. If you find any problems, let me know and I will update what I have posted.

Download full package

Posted in Hosting, Web Development | Tagged api, photos, php, smugmug | 2 Responses

Next Page »

Categories

  • Adobe Air
  • Amusing
  • Android
  • Arch Linux
  • Gadgets
  • General
  • Hosting
  • Projects
  • Scripting
  • Ubuntu
  • Web Development
  • Windows Vista

Archives

  • January 2010
  • September 2009
  • August 2009
  • June 2009
  • May 2009
  • April 2009
  • January 2009
  • December 2008
  • November 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • January 2008
  • December 2007

Blogs

  • CaffeinatedWires
  • thisOrange
  • Wedding

Links

  • Pictures

Meta

  • Register
  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Copyright © 2010 3dgo.net.

Powered by WordPress and Hybrid.