Verify Permissions
diskutil verifyPermissions /
Repair Permissions
diskutil repairPermissions /
#! /usr/bin/env ruby | |
# NOTE: Requires Ruby 2.1 or greater. | |
# This script can be used to parse and dump the information from | |
# the 'html/contact_info.htm' file in a Facebook user data ZIP download. | |
# | |
# It prints all cell phone call + SMS message + MMS records, plus a summary of each. | |
# | |
# It also dumps all of the records into CSV files inside a 'CSV' folder, that is created |
# Original code here: | |
# https://github.com/opencv/opencv/blob/master/samples/python/video_threaded.py | |
#!/usr/bin/env python3 | |
''' | |
Multithreaded video processing minimal sample. | |
Usage: | |
python3 video_threaded.py | |
Shows how python threading capabilities can be used |
# Prep dropbox to ignore 'node_modules' in a node project | |
# 1. Move this script to your node project root; | |
# 2. Delete the existing 'node_modules' folder; | |
# 3. Run this script; | |
# 4. `npm install` as normal; | |
# 5. Enjoy! | |
tell application "Finder" | |
set current_path to container of (path to me) as alias | |
make new folder at current_path with properties {name:"node_modules"} |