This file contains 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
#!/usr/local/bin/python3 | |
# | |
# written 8/2/19 by jxm | |
# | |
# For some reason Chrome has its own DNS cache that makes websites | |
# still accessible sometimes after DNS is enabled. I considered adding | |
# code in this script to force-restart Chrome, but I'm going to forgo | |
# that for now until I find a better way to edit Chrome's settings | |
# to disable DNS caching. (Or just use Firefox...) | |
# |
This file contains 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
# needs python 3.5+ | |
import glob | |
import os | |
def sh_escape(s): | |
return s.replace("(", "\\(").replace(")","\\)").replace(" ","\\ ") | |
home = '/Users/myusername' | |
glob_path = home + '/Library/Messages/Attachments/**/*' |
This file contains 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/env node | |
// Jack Morris 06/26/16 | |
var express = require('express'); | |
var fs = require('fs'); | |
var App = function() { | |
// Scope. | |
var self = this; |
NewerOlder