A short summary.

Image for post
Image for post

Yesterday I received my first ever Cisco certificate! I have passed the DEVASC 200–091 exam, and so I decided to give back to the community and share my experience a bit.

And if you are not new to the Cisco certification then the below diagram represents the correlation to Cisco’s networking-related classic certification hierarchy.

Image for post
Image for post
Photo by @scottwebb on Unsplash.com

Lately I have been doing some of the processes/workflow automation at work, and I have figured that I can put together some of the common python code snippets and references that I had repeatedly used across multiple projects related to text/file processing.

Working with file’s location

When you are working with the text files it is obvious that the file path is required for the python to script to locate the file. For this you can use pathlib library. The pathlib library is included in all python versions >= 3.4.

A small snippet how to import and use the pathlib to store a file…

How to.

Image for post
Image for post

Sometimes I get really surprised at where does my time and days go and here is one example.

Yesterday evening I decided that I needed to share a folder on my macOS so that the Kali Linux 2020 VM can have access to it. The vm was created in VMWare Fusion, so it makes sense to look for sharing feature in the VM settings.

This is how it looks like after I added a folder and called it kalish and checked the checkmark Enable Shared Folders.

It also warns us about VMware Tools.

Here you will find essential commands to start mastering the shell.

Image for post
Image for post

How To Find Out What Directory You’re Currently In?

You will need to use Print Working Directory command, which is:


How To Navigate to Any Directory?

You will need to use Change Directory command, which is:

cd directoryname

You will have to provide either the absolute or relative path to the directory.

It can get pretty tiring navigating with absolute or relative paths all the time, so there are also some shortcuts to this:

  • . (the directory you’re currently in)
  • ..(parent directory, eg cd..).
  • ~ (home directory, eg /home/user)
  • - (takes you to the previous directory you were just at)

How To List The Contents of a Directory?

You will need to use List Directories command:


This does not include hidden…

Image for post
Image for post

Here is a neat terminal command which displays a list of all the extensions you have installed:

code --list-extensions

Below is the list of the extensions, which I am either actively using or just interested in trying out, and I hope you, too, will find it useful.

Colorize for better visibility

CSS-related; Sass; Bootstrap


So, the first part concluded with deployment of Prisma, and now it’s time to set up the Apollo Server to run on the backend, and Apollo Client on the FrontEnd.

Image for post
Image for post

Setting Up Apollo Server 2

Let’s start with installing the required dependencies. We’re going to run the npm install command from our backend folder.

npm i apollo-server graphql graphql-import prisma-binding
  • apollo-server — the core library for the server itself.
  • graphql — so that we can build our queries and mutations
  • grapql-import - in case if you decide to split your schema definition into multiple files, graphql-import package is there to help you importing & exporting…

A quick HowTo.

Image for post
Image for post

venv is a package shipped with Python 3, which you can run using python3 -m venv (although for some reason some distros separate it out into a separate distro package, such as python3-venv on Ubuntu/Debian). It serves the same purpose as virtualenv, but only has a subset of its features (see a comparison here). — source

I use it mainly for two reasons:

  • it isolates the project-related libraries.
  • it doesn’t access the globally installed libraries.

We can think of it as if the project would live on its own island, isolated from the rest of the world…

A very quick setup guide. No BS.

Image for post
Image for post
  • create a script.sh file
  • paste in the contents below (source)
#!/bin/bash # # Kali Docker Setup Script # @decidedlygray 20180902 # LICENSE: MIT # # Steps taken from: https://docs.docker.com/install/linux/docker-ce/debian/ # And: https://medium.com/@airman604/installing-docker-in-kali-linux-2017-1-fbaa4d1447fe # Install uses the repository, so we can get updates in the future # Remove any existing docker packages and update package list sudo apt remove docker docker-engine docker.io -y sudo apt update # Install apt HTTPS packages sudo apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common -y # Add Docker GPG key curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - # Verify key exists # sudo apt-key fingerprint…

Image for post
Image for post

So, I started to work on my personal portfolio as an aspiring Junior Frontend developer before I switched my career to Security Analyst :D

At my previous job we were building an internal testing tool (top secret stuff), and the stack we used was pretty trendy on the frontend side, it was React with Typescript and other friends.

So, I wanted to develop my skillset further, and on top of that learn a bit of backend, while building a personal project for my portfolio.

I would probably do something with NodeJS, Express, MongoDB and React-Typescript, since I actually wasn’t sure…

A cool thing that I have learned about VSCode Workspaces today is that you can make them different colours. Yes! This cute little feature I found really useful because I often find myself running few instances at the same time.

So this can be achieved in few steps:

  • make sure you have Title Bar Style set to custom (hit Cmd + , to get to VSCode settings page and search for the word title)
Image for post
Image for post
  • then switch to Workspace tab and edit the settings.json


Everything is unknown until it’s known. Self-learner.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store