sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Download zsh-autosuggestions by
| <div className='delete-button' onClick={() => { if (window.confirm('Are you sure you wish to delete this item?')) this.onCancel(item) } } /> |
| """Find Symmetric Differences between two Pandas DataFrames.""" | |
| def dataframe_difference(df1, df2, which=None): | |
| """Find rows which are different.""" | |
| comparison_df = df1.merge( | |
| df2, | |
| indicator=True, | |
| how='outer' | |
| ) |
| import pytesseract | |
| import os | |
| import sys | |
| def read_image(img_path, lang='eng'): | |
| """ | |
| Performs OCR on a single image | |
| :img_path: str, path to the image file |
| # syntax=docker/dockerfile:1 | |
| FROM python:3.8-slim-buster | |
| WORKDIR /app | |
| ENV ACCEPT_EULA=Y | |
| RUN apt-get update -y && apt-get update \ | |
| && apt-get install -y --no-install-recommends curl gcc g++ gnupg unixodbc-dev |
| # I'll be doing another one for Linux, but this one will give you | |
| # a pop up notification and sound alert (using the built-in sounds for macOS) | |
| # Requires https://github.com/caarlos0/timer to be installed | |
| # Mac setup for pomo | |
| alias work="timer 60m && terminal-notifier -message 'Pomodoro'\ | |
| -title 'Work Timer is up! Take a Break 😊'\ | |
| -appIcon '~/Pictures/pumpkin.png'\ | |
| -sound Crystal" |