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
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 |
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/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 |
OlderNewer