What is inner child therapy

Inner child therapy is a form of psychotherapy that aims to help people heal from their childhood traumas and reconnect with their authentic selves. The concept of the inner child is based on the idea that we all have a part of ourselves that retains the emotions, memories, and experiences of our early life. This part can influence our thoughts, feelings, and behaviours in adulthood, especially if we have unresolved issues or unmet needs from our past. ...

3 May 2023 · 2 min · 269 words · Me

How to erase line in files containing string recursively in Linux

find . -name "*.md" -type f -exec sed -i '/line of text/d' {} \; This command uses find to locate all .md files in the current directory and its subdirectories recursively. The -exec option is used to execute the sed command on each file found. The {} is replaced by the name of each file found, and the \; is used to terminate the -exec option. The sed command removes any line containing the string “line of text” from each file found.

27 April 2023 · 1 min · 82 words · Me

How to install PhantomJS on Ubuntu 22.10

PhantomJS is a headless web browser for automating web page interactions. To install PhantomJS on Ubuntu 22.10, you can follow these steps: Update your system packages with sudo apt update && sudo apt upgrade Install the required packages with sudo apt install build-essential chrpath libssl-dev libxft-dev libfreetype6 libfreetype6-dev libfontconfig1 libfontconfig1-dev Download the PhantomJS binary file from its official website with wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 Extract the file to /usr/local/share/ with sudo tar xvjf phantomjs-2.1.1-linux-x86_64.tar.bz2 -C /usr/local/share/ Create a symbolic link to the binary file with sudo ln -sf /usr/local/share/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/local/bin Verify the installation with phantomjs --version

27 April 2023 · 1 min · 94 words · Me

How to delete all files containing string in Linux

find -type f -name '*string*' -delete This command will delete all files whose filenames contain the string string. The * character is a wildcard that matches any number of characters. The -type f option tells find to only look for files, not directories. The -delete option tells find to delete the files it finds.

27 April 2023 · 1 min · 54 words · Me

Collaboration in a DevOps Team

DevOps is a philosophy that emphasizes collaboration between development and operations teams. The goal of DevOps is to speed up the delivery of software while maintaining high levels of quality and security. Collaboration is key to the success of a DevOps team. One of the most important ways in which development and operations teams can collaborate is through the use of shared tools and platforms. These tools and platforms allow teams to share information and communicate effectively, which is critical for achieving the goals of DevOps. For example, a common platform for development and operations teams is a source code management system, such as Git. This system allows teams to collaborate on code and track changes, making it easier to identify and resolve issues. ...

27 January 2023 · Shafiq Alibhai

Memento Mori

Memento Mori refers to the philosophical reminder of death’s inevitability. You could leave life right now. Let that determine what you do and say and think. It helps you remember the good things without arrogance and to let the bad things go with indifference. You control whether you waste time getting upset by things. And whether you waste time taking things personally.

25 August 2022 · Shafiq Alibhai

Amor Fati

Amor fati is a phrase that may be translated as “love of one’s fate”. It is used to describe an attitude in which one sees everything that happens in one’s life, including suffering and loss, as good or, at the very least, necessary. You take what you can from life. You use it as fuel. You become better from it. You become improved by it. Make the most of it. Be better for it having happened.

24 August 2022 · Shafiq Alibhai

You don't have to be crazy to live on Earth. But to some it helps to be.

You don’t have to be crazy to live on Earth. But to some it helps to be.

20 July 2022 · Shafiq Alibhai

How to Resolve "Cannot Unregister the Machine While It Is Locked" Error in Vagrant

When working with Vagrant, a tool for building and managing virtual environments, you may encounter an error message that reads “Cannot unregister the machine while it is locked.” This is often accompanied by a block of error messages and command output, as shown below: vagrant destroy default: Are you sure you want to destroy the 'default' VM? [y/N] y ==> default: Destroying VM and associated drives… There was an error while executing VBoxManage, a CLI used by Vagrant for controlling VirtualBox. ... VBoxManage: error: Cannot unregister the machine 'CnC_default_1643660523119_45689' while it is locked ... This error is usually thrown when attempting to destroy a Vagrant virtual machine (VM) using the vagrant destroy command. It signifies that the virtual machine is in a locked state, preventing it from being unregistered and deleted. ...

1 February 2022 · Shafiq Alibhai

How to get a remote server SSL certificate

openssl s_client -connect {HOSTNAME}:{PORT} -showcerts

15 June 2021 · Shafiq Alibhai