Welcome!
How to call a function multi-times with try and catch before raise error in Python How to call a function multi-times with try and catch before raise error in Python
Here is one task that we might be doing: scraping some webpages in a for loop. Then some error happens for one of the pa
2022-10-28
Merge K sorted lists Merge K sorted lists
Problem:You are given an array of k linked-lists lists, each linked-list is sorted in ascending order.Merge all the link
2022-10-27
Regular expression matching Regular expression matching
Problem:Given an input string s and a pattern p, implement regular expression matching with support for ‘.’ and ‘*’ wher
2022-10-25
Find median of two sorted arrays Find median of two sorted arrays
Problem:Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays
2022-10-24
Create secrets scopes and keys for databricks, and how to give scope access to someone else Create secrets scopes and keys for databricks, and how to give scope access to someone else
In previous blogs, we have discussed about how to install the databricks command line tool (CLI),and how to add authenti
How to authenticate databricks command line tool How to authenticate databricks command line tool
Once we have installed the databricks command line tool (CLI), we still need to add authentication to the databricks web
How to install databricks command line tool in linux and windows How to install databricks command line tool in linux and windows
Sometimes we need to interact with databricks command line to get work done, for example, create new secrets scope and k
How to add watermark using Python How to add watermark using Python
The main idea of adding watermark with PIL library in Python is this: (1) First create new empty image RGBA with the sam
How to make AWS S3 buckets public through bucket policy How to make AWS S3 buckets public through bucket policy
The first step is to create a S3 buckets, here is how we can create one on AWS website through UI: After clicking the “c
Human's first asteroid impact experiment, NASA Double Asteroid Redirection Test (DART) Human's first asteroid impact experiment, NASA Double Asteroid Redirection Test (DART)
Dinosaurs would dream of getting this capability. In NASA’s “Double Asteroid Redirection Test (DART)”, an unmanned space
2022-09-28
OpenCV and Pillow color code order difference, BGR vs RGB OpenCV and Pillow color code order difference, BGR vs RGB
We can use opencv to read in a video, and extract each frame as an image. Then we can use Python Image Library to furth
How to remove part of an image using Python How to remove part of an image using Python
What does remove part of an image mean? mathematically and programmatically, most of the times, it means convert the arr
24 / 28