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
import traceback | |
import psutil | |
def kill(process_name): | |
"""Kill Running Process by using it's name | |
- Generate list of processes currently running | |
- Iterate through each process | |
- Check if process name or cmdline matches the input process_name |
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
import os | |
import pyautogui | |
import inspect | |
import logging | |
from datetime import date | |
import time | |
import win32gui | |
import win32com.client | |
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
import time | |
import traceback | |
import boto3 | |
from botocore.exceptions import NoCredentialsError | |
class AWSActions: | |
def __init__(self): | |
self.ACCESS_KEY = '--your key--' |
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
# Basic commands | |
:Git [args] # does what you'd expect | |
all of your `~/.gitconfig` aliases are available. | |
:Git! [args] # same as before, dumping output to a tmp file | |
Moving inside a repo. |