To have a gulp workflow that with a single process,
- watches for any sass changes, then compiles sass source into css
- watches for any changes in the public directory, triggers live-reload
- serves your static content in
public/
I implemented an auth API for a SPA. This is rarely documented and therefore I want to share here how I did it hoping it will be a help for others.
We are still working on it and I'll update this document accordingly.
This tutorial uses following versions:
| Package | Version |
|---|
| #!/bin/bash | |
| # Define the main export folder | |
| export_folder=~/Desktop/iMessages_Export | |
| mkdir -p "$export_folder" | |
| # Part 1: Generate the CSV file | |
| echo "Generating CSV file..." | |
| sqlite3 ~/Library/Messages/chat.db <<EOF |