Articles
Mastering Git Commands: A Practical Guide
TL;DR A practical selection of essential Git commands that help developers track changes more effectively, collaborate smoothly, and manage project history with confidence.
Git is an indispensable tool for version control, enabling developers to track changes, collaborate effectively, and manage project history. While its capabilities are vast, a solid understanding of key commands can significantly streamline your workflow. This article delves into a selection of practical Git commands, explaining what they do, how to use them, and when they are most effective.
Read more →Angular - Content Projection
TL;DR Content projection in Angular enables flexible and reusable components by allowing you to insert content from parent components into child components.
Content projection is a feature in angular that supports inserting a component in another component. This changes the way an angular developer designs his application/library by implementing flexible and reusable components.
Read more →Reactjs: Arrays in jsx
TL;DR Quick tip on using JavaScript array map to render dynamic lists of elements in JSX instead of hard coding repeated components for cleaner and more maintainable React code as shown in the Tic Tac Toe board example.
When I tried out Reactjs tutorial few months ago, I noticed that in the official starter code, they repeated same div elements in the render() method, just in case of change in the source, I will list it here:
Read more →Fetch using Gitlab API
TL;DR Python script that uses the GitLab API with a private token to automatically clone or fetch all your accessible repositories handling configuration via JSON and providing both argparse and config file versions for convenience.
Between gitlab repos that need daily tracking and frequent machine changes, the manual cloning and sync process became exhausting. An automation script was the obvious next step to offload the boring tasks.
Read more →PyConDe & PyData 2019
TL;DR Personal diary style recap of attending PyConDE and PyData 2019 in Berlin covering keynotes talks tutorials sprint days and personal highlights such as meeting core developers and contributing to Bokeh.
Fresh back from PyConDe & PyData-2019, this post shares and documents the experience. Think of it as a diary more than a blog, covering:
Read more →RxJS Series - Observables
TL;DR Introduction to RxJS Observables covering the core concepts of Observer Subscriber and how to create them from scratch or using handy static methods like of range interval timer from fromEvent and create with practical code examples.
RxJS (on Github) is a reactive programming library for Javascript, and in this series, I would like to expose my way of learning it with you.
Read more →Custom Selenium Webdrivers using Decorators
TL;DR Learn how to dynamically create custom Selenium WebDriver classes for different browser versions using Python decorators and class factories so you can easily run tests with multiple Firefox and Chrome binaries in parallel.
How to create custom selenium webdriver classes dynamically with a parametrized browser binary path?
Read more →Fedora23 Upgrade (unlabeled home)
TL;DR Quick fix for the SELinux labeling issue that occurs after upgrading to Fedora 23 or 24 where the home directory becomes unlabeled preventing user login simply run sudo restorecon -R /home to restore correct permissions.
When I tried to update from the fedora23 to fedora24, I faced the issue that the home directoy lost its labeling:
Read more →Build Vim from Source
TL;DR Step by step guide and bash script to build the latest Vim from source on Fedora with huge features enabled including Python3 Ruby Lua Perl support and GUI for full functionality.
Many times when I want to use vim which comes within the main repo of any Linux distro, I find that it is missing some kind of support, either python or client-server mode, or any other feature. And there for I have to build it manually from source and install it.
Read more →Lwa4p Robot Arm Setup
TL;DR Step by step guide with a bash script for setting up the Schunk LWA4P robot arm on ROS Indigo using an ESD CAN card including CAN interface configuration MoveIt integration and troubleshooting tips to get the arm initialized and moving.
Experiments with the powerball lightweight lwa4p robot arm from Schunk came with many difficulties getting it to move using moveit. This post shares that experience.
Read more →