Skip to content

Instantly share code, notes, and snippets.

View chuckcoggins's full-sized avatar

Charles R. Coggins III chuckcoggins

View GitHub Profile
@chuckcoggins
chuckcoggins / main.py
Created December 15, 2020 15:43
Email & Phone Scraper
#! python 3
import re
import pyperclip
# Create regex for phone numbers
phone_num_regex = re.compile(r'''
# 415-555-0000, 555-0000, (415) 555-0000, 555-0000 ext 12345, ext. 12345, x12345
(
@chuckcoggins
chuckcoggins / AutoPatcher v.3.py
Created November 7, 2020 16:41
Final version of my work Patcher
import os
import shutil
from pip._vendor.colorama import Fore, Style, init
import subprocess
import time
init()
src_dir = os.getcwd()
servicesList = ['2018Server', 'TTC_AppService', 'TTC_ClockHost', 'TTDBSyncServer', 'TTNotify']
@chuckcoggins
chuckcoggins / AutoPatcher v.2.py
Created November 5, 2020 00:49
AutoPatcher Version 2
import os
import shutil
from pip._vendor.colorama import Fore, Style, init
import subprocess
import time
init()
src_dir = os.getcwd()
# Windows Service Stopper
@chuckcoggins
chuckcoggins / AutoPatcher.py
Created November 1, 2020 20:45
Stopping Services + Patching Files
# Importing the modules
import os
import shutil
from pip._vendor.colorama import Fore, Style, init
import subprocess
import time
init()
# Services Shutdown