#Devops
7 posts tagged “Devops”
7 posts tagged “Devops”
A simple Python script to allow you to quickly search from the command line that I’ve been playing with on and off for a while.
https://github.com/alastairhm/searchit
It uses the Python Library Fire to automatically generate the command line interface which is something I stumbled across recently.
You either pass it a paramater for the search term or if one it not passed it used whatever is in your clipboard buffet.
Updating the parameter file you can add other search engines and pick which one to use as your default.
Came across this article of ways to Learn C on Linux which took me back to my 3rd real programming job.
It was with a software house mainly working with C/C++ on Linux/ Unix and embedded systems.
My first real experience use C/C++ in a professional environment, happy days with a good bunch of geeks.
If you’ve never tried it before it would be a good change from more recent languages to learn C for a challenge.
Quick tip on how to install Ruby 2.7 and Nodejs 12 on Redhat 8, as it can default to older versions.
# Enable new versions
dnf -y module reset ruby nodejs
dnf -y module enable ruby:2.7 nodejs:12
# Install
dnf install nodejs ruby
# Check installed versions
ruby --version
node --version
npm --version
Another Docker image with some tools useful for devops, this time includes the TIG CLI utility.
Tig Docker image https://github.com/alastairhm/docker-tig
To use run the following;
docker run --rm -ti -v $(pwd):/mnt ghcr.io/alastairhm/docker-tig:latest
alias tig='docker run --rm -ti -v $(pwd):/mnt ghcr.io/alastairhm/docker-tig:latest'
For full instructions on using TIG visit the offical instructions page.
New year, new programming language, decided to go and learn Rust programming.
Some interesting concepts so far.
I’ve built a few Docker images with some tools useful for devops lately.
SpaceVim Docker image with NeoVim https://github.com/alastairhm/spacevim
CloudFlare’s SSL tools Docker image https://github.com/alastairhm/docker-cfssl
TFSec and TFLint tools Docker image https://github.com/alastairhm/docker-terraform-check
Bitwarden CLI tool Docker image https://github.com/alastairhm/docker-bw
Here are a couple of DevOps tips I’ve picked up after a week at my new job which are worth sharing.
This is a useful command to convert AWS IAM Policy JSON to corresponding Terraform code.
https://github.com/flosell/iam-policy-json-to-terraform
This browser extension allows easy role switching with AWS.