If you’re eyeing early Fourth of July tech deals, here’s how to get rid of your old gear to make space and earn some cash.