Some new Mac notes concerning Python. Out of the box the Mac has Python and when I ran
pip list I saw a bunch of stuff that I didn't recognize. When I tried to remove things they looked baked in because they were installed as
Turns out you can ignore all that. Just install a new Python using
$ brew install python
This gives you a new Python called Python2. That's not that helpful because who wants to remember to always use Python2?
Recently, my major focus has been AdTech. With this I came across the Ads.txt project. This project is a simple initiative proposed as a way to help publishers ensure inventory is sold only through authorized dealers and partners.
Publishers create and add a file called ads.txt at the root of their sites. This text file contains a list of names and information about authorized ad networks, SSPs and exchanges that have permission to sell the publisher's inventory.
You commited a change to master to it is now ahead of orign/master by 1 commit. You realize that you want this commit on a branch so you create a new branch branch.
Now your branch and master are the same but you want master to go back to being in sync with origin/master
$ git checkout -B master origin/master
You've created a feature branch,
feature/my-latest-feature. To push it.
$ git push -u origin feature/my-latest-feature
If you want to pass all the arguments to a command being called from a script user "$@".
#!/bin/bash java -jar foo.jar "$@"