This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
OUTPUT=$(basename "$1" .mov) | |
OUTPUT=$OUTPUT.gif | |
palette="/tmp/palette.png" | |
filters="fps=10" | |
ffmpeg -v warning -i "$1" -vf "$filters,palettegen" -y $palette | |
ffmpeg -v warning -i "$1" -i $palette -lavfi "$filters [x]; [x][1:v] paletteuse" -y "$OUTPUT" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export CLICOLOR=1 | |
export LSCOLORS=GxFxCxDxBxegedabagaced | |
export PS1="\u@\h:\w$ " | |
export EDITOR="emacs" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker-compose stop | |
docker-compose rm -f | |
docker-compose pull | |
docker-compose up -d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Read scotiabank (Canada) statement into csv. | |
1. Concatenate all your statement files into a single PDF. | |
2. Use Foxit online PDF tool (14-day free trial) to convert the PDF file into XLSX file. | |
3. Rename the XLSX file as scotia.xlsx, run this script, and output will be written to scotia.csv | |
""" | |
import csv | |
from openpyxl import load_workbook |