Skip to content

Instantly share code, notes, and snippets.

from flask import Flask, request, jsonify
from uuid import uuid4
app = Flask(__name__)
app.secret_key = 'password42' # For session management
# requests come with these parameters from the frontend in `metadata`:
# 1. `user_agent`: the user agent of the client
# 2. `user_id`: a unique ID assigned to each user
# 3. `user_ip`: the user's ip address
#!/bin/bash
# Matthew Wollenweber
# [email protected]
unalias rm
setopt rm_star_silent
qlmanage -r cache
sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'delete from LSQuarantineEvent'
defaults delete ~/Library/Preferences/com.apple.finder GoToField