Saturday, December 19, 2020

Stupid Ways to Kill 007 - Dr. No

20 minutes into the movie the bad guys trick Bond into their car. Apparently they want to drive him into the country and off him. Bond fights the driver and subdues him, but the driver suicides.

43:15 The baddies slip a spider into Bond's bed while he is sleeping. Bond wakes up and kills the spider with his show. What are the odds of this actually working out? Plus it looks like a tarantula, which aren't fatal.

50:00 Bond is driving down a lonesome hilly road. Bad guys try to run him off and instead go off the road themselves and blow up.

57:30 The geologist bad guy shoots Bond in bed. But wait, Bond is hiding behind the door. After a quick interrogation, Bond shoots the geologist.

1:49:00 They capture Bond and Honey with 'The Dragon.' Instead of killing him immediately they bring him back to base for dinner with Dr. No. Dr. No of course tells Bond all of his plans. Bond, of course, escapes and blows up the base.

Bonus: Instead of killing Honey (Ursula Andress) they tie her down where the incoming tide will drown her.

Thursday, July 16, 2020

Changing Git Remotes

I had a recent problem with Git that was a real pickle to figure out how to solve, but the solution was remarkably simple.

I have an old project we'll call Legacy. I wanted to rework it, but in a new repository, since my client didn't want Legacy itself altered. I needed to clone it, but then push it to a new Git repo. Here's how it goes.

Clone Legacy
git clone https://github.com/legacy

Remove all git references by deleting the .git folder at the root of the project. At this point we have a project directory full of code and resources, but not connected to a repository.

Initialize git and add our files
git init
git add [files to add]
git commit

Now we hook it up to our new repository. For my case I had already created the repository on GitHub prior to doing the following steps.
git remote add origin my_new_repository_url
git push -u origin master

Now you should be good to go.