Once the o.p. pulled into the CityBike station and found it out of order the chain of improbable's began. It's human nature. The need for an alternative plan took up processor time that was necessary for other vital processes. I am not sure about the stress on legality, or not, of the trucks actions, or the cyclists. Jumping out of the way onto the sidewalk could not in anyway, shape or form be considered "illegal". I believe a certain number of pedal strokes have to be completed before a cyclist can be cited for "illegally riding on the sidewalk". I also don't know how easy it is to bunny hop a CityBike. It could very well be that if the truck did not miss the cyclist that it would have hit him and there isn't a whole lot that he could have done about it. A stopped bicycle is very unmaneuverable. But things turned out for the best. No need to second guess. I'm not even going to say that the o.p. should learn some kind of life lesson from this, being aware of potential hazards in the road is clearly something that someone who rides in NYC traffic is well aware of. Pax.