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 argparse | |
import shutil | |
import subprocess | |
def list_installed_apps(): | |
app_folder_path = '/Applications' | |
app_list = [app.replace('.app', '') for app in os.listdir(app_folder_path) if app.endswith('.app')] | |
return app_list |
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 sqlite3 | |
import csv | |
import subprocess | |
def export_alfred_clipboard(db_path, export_as): | |
db_path_expanded = os.path.expanduser(db_path) | |
conn = sqlite3.connect(db_path_expanded) | |
cursor = conn.cursor() |
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
### Keybase proof | |
I hereby claim: | |
* I am marijnbent on github. | |
* I am marijnbent (https://keybase.io/marijnbent) on keybase. | |
* I have a public key ASBd3V-X0gzOQe28PmfQhykcaMPWU9pInOUpnbxU6BWtvwo | |
To claim this, I am signing this object: |