Category Archives: tech
Adding Npm to a PHP Travis Project
In need of wisdom and advice, I turned to the best source I know:
How do people use @travisci with multiple languages? Project uses PHP and nodejs tools but I can't seem to configure both. Any links/advice?
— Lorna Mitchell (@lornajane) May 7, 2014
My ffmpeg Cookbook
Edit: I mostly used OBS for video from around 2019.
View Only Headers with Curl
HEAD request changes the output I get, so I really do want to GET and then only see the headers.
Handily, when you use the -v verbose flag with curl, it sends the output to stdout as usual, but the extra information including the headers goes to stderr. This means that I can therefore view the headers only throwing away stdout completely:
curl -v -s http://awesome-site.com 1> /dev/null
(you need the -s to stop curl from “helpfully” printing progress bars as well)
Video: Git Remotes and Tracking Branches
I also blogged about the tracking branches in a bit more detail if you’re interested.
Understanding Tracking Branches in Git
Some branches in git (such as your origin/master branch) will usually track the remote branch that they are related to. But what if you want to create a relationship between local and remote branches? Or stop them from tracking? Here’s some pointers Continue reading
Running Pull Request Builds with Jenkins
What Got You Involved in Open Source?
Colourless Git Output
Try putting the following into .git/config:
[color]
branch = false
diff = false
interactive = false
status = false
I had expected to be able to set color.ui to false but that didn’t seem to make much difference, so I now use the settings above. I thought I’d drop it here in case anyone else is looking for the same thing.
