Ever hear of this thing called a Generator? I don't think it's safe to run a generator inside an apartment ... even if you could get gas. I know in the Rockaways, you can't.
In other parts of the City, where there is power, there is a 10 gallon limit.
You can use the generator inside the apartment when you are running the charcoal barbecue with the windows closed. For real you would have to run a pipe to the roof and it would have to be a sealed exhaust system or you would die.