Skip to content

Instantly share code, notes, and snippets.

View beattidp's full-sized avatar

Douglas Beattie, Jr. beattidp

View GitHub Profile
@justinlevi
justinlevi / disable-adobe.sh
Created November 16, 2017 17:55
Disable all Adobe Processes
#!/bin/bash
launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
launchctl unload -w /Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist
launchctl unload -w /Library/LaunchAgents/com.adobe.ARMDCHelper.cc24aef4a1b90ed56a725c38014c95072f92651fb65e1bf9c8e43c37a23d420d.plist
launchctl unload -w /Library/LaunchDaemons/com.adobe.agsservice.plist
launchctl unload -w /Library/LaunchDaemons/com.adobe.ARMDC.Communicator.plist
launchctl unload -w /Library/LaunchDaemons/com.adobe.ARMDC.SMJobBlessHelper.plist
launchctl unload -w /Library/LaunchDaemons/com.adobe.adobeupdatedaemon.plist
sudo launchctl unload -w /Library/LaunchDaemons/com.adobe.ARMDC.Communicator.plist
@mdonkers
mdonkers / server.py
Last active May 23, 2024 00:16
Simple Python 3 HTTP server for logging all GET and POST requests
#!/usr/bin/env python3
"""
License: MIT License
Copyright (c) 2023 Miel Donkers
Very simple HTTP server in python for logging requests
Usage::
./server.py [<port>]
"""
from http.server import BaseHTTPRequestHandler, HTTPServer
@orther
orther / Makefile
Last active July 29, 2017 15:33
Example Makefile for Flask app using Chaussette
.PHONY: help db-gen-migration dev-rqworker dev-machine-api dev-frontend dev-api clean clean-pyc clean-build list test test-all test-aws coverage docs release sdist
help:
@echo "clean-build - remove build artifacts"
@echo "clean-pyc - remove Python file artifacts"
@echo "coverage - check code coverage quickly with the default Python"
@echo "db-gen-migration - autogenerate alembic migration"
@echo "dev-admin - start admin http server for development (uses chaussette)"
@echo "dev-api - start api http server for development (uses chaussette)"
@echo "dev-dashboard - start dashboard http server for development (uses chaussette)"
@vratiu
vratiu / .bash_aliases
Last active May 25, 2024 15:28
Git shell coloring
# Customize BASH PS1 prompt to show current GIT repository and branch.
# by Mike Stewart - http://MediaDoneRight.com
# SETUP CONSTANTS
# Bunch-o-predefined colors. Makes reading code easier than escape sequences.
# I don't remember where I found this. o_O
# Reset
Color_Off="\[\033[0m\]" # Text Reset