Skip to content
Main Menu
  • Home
  • Blog
  • Contact

DevOps Fu

Tips and Tricks for DevOps Engineers

  • Home
  • Blog
  • Contact

Category: Development

  • Home
  • Blog
  • Development

How to get the current git commit?

April 24, 2019 Fabrice

Do this: $ git rev-parse HEAD This gives you the full commit id, for the short id, run this: $ git rev-parse –short HEAD I work as a freelancer, so if you don’t want to do that kind of things… Read More

Developmentgit

How to link Atom and GitHub

April 6, 2019April 6, 2019 Fabrice

Follow the steps: Start Atom Select menu item `View -> Toggle Command Palette` Search for “clone” Select “GitHub: Clone” Enter the URL of the GitHub project you want to clone Click “Clone” To know the URL to use, go to… Read More

Development

How to create a virtual environment in Python3?

March 29, 2019 Fabrice

Install whatever Python3 package you want for your OS, along with pip. For example for Ubuntu: $ sudo apt update $ sudo apt install python3.7 python3-pip Go into a directory you want to use as a base and run the… Read More

DevelopmentPython

How to test a responsive UI in various resolutions and modes?

June 14, 2018March 25, 2019 Fabrice

Open Chrome, go to the website to test, and then hit Ctrl+Shift+J Ctrl+Shift+M On Mac: Command+Shift+J Command+Shift+M Then you can select your device, orientation, etc. I work as a freelancer, so if you don’t want to do that kind of… Read More

DevelopmentLeave a comment

How to search for changed content in git history?

June 12, 2018March 25, 2019 Fabrice

Run this: $ git grep REGEXP `git rev-list –all` I work as a freelancer, so if you don’t want to do that kind of things yourself or don’t have the time, just drop me a line to hire me.

DevelopmentgitLeave a comment

Recent Posts

  • How to persist variables in a loop from a find command in Bash?
  • How to iterate an array in Bash?
  • How to trim leading and trailing characters in Bash?
  • How to install jq on CentOS?
  • Magic SysRq cheatsheet

Categories

  • Automation
  • AWS
  • Bash
  • CentOS
  • Containers
  • Cryptography
  • Database
  • Development
  • Docker
  • Git
  • Linux
  • Python
  • Sysadmin
  • Virtualization

Archives

  • December 2020
  • October 2020
  • August 2020
  • July 2020
  • June 2020
  • April 2020
  • March 2020
  • February 2020
  • November 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
Copyright © 2018-2019 Fabrice Triboix
Best Business by Axle Themes