Brad Lucas

Programming, Clojure and other interests

Ads Txt Files

September 27, 2017

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

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.

Buyers

Continue reading →

Fixing Your Master Branch

September 26, 2017

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
  • https://superuser.com/questions/273172/how-do-i-reset-master-to-origin-master
Continue reading →

Push Your Feature Branch

September 25, 2017

You've created a feature branch, feature/my-latest-feature. To push it.

$ git push -u origin feature/my-latest-feature
Continue reading →

Passing All Script Argumments To Command

September 24, 2017

If you want to pass all the arguments to a command being called from a script user "$@".

#!/bin/bash

java -jar foo.jar "$@"
Continue reading →

Devops Is A Thing

September 23, 2017

I've recently worked with some people who are passionate about the concept of DevOps. Not only is it great to work with people who are really interested in what they are doing it is great when they look past their job and think about a bigger picture.

Here is a good article that speaks to the idea of DevOps.

http://devana.rs/blog/devops-is-a-culture-not-a-job-description/

Continue reading →