Skip to content

Instantly share code, notes, and snippets.

@AbhishekPednekar84
AbhishekPednekar84 / naukri_scraper.py
Last active April 17, 2022 08:52
Scrape specific data from naukri.com
import os
import csv
import asyncio
import pandas as pd
from bs4 import BeautifulSoup
async def run_scraper(html_file_list):
full_candidtate_list = []
candidate_info = {}

Useful pipenv commands

Install pipenv with pip - pip install pipenv

Install packages (creates the virtual environment) - pipenv install <package_name>. Ex: pipenv install requests

Activate a virtual environment - pipenv shell

Check the location of the virtual environment - pipenv --venv

Basic Docker Commands

Description Command
Check installed docker version docker version
Check installed docker information docker info

Docker Container Commands

Usage of the rsync utility in Linux

Some useful constructs that make rsync powerful

Accessing the help manual

man rsync


Usage of the grep command in Linux

This list is by no means complete and only aims to display some common usages of the grep command.

Accessing the help manual

man find


Checking the version of grep

Usage of the find command in Linux

Accessing the help manual

man find


Basic search

Find all files and sub-directories in the current directory

find .

@AbhishekPednekar84
AbhishekPednekar84 / host.yaml
Last active January 16, 2020 08:54
pyyaml - using anchors across two YAML documents in the same file
---
host: phl-42
datacenter:
location: &BLR Bangalore
cabinet: !!str 13
unit: 3
roles:
- webserver
- wp_database
---
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.