Reorged notes, ready for the next step. Glassdoor notes. Some small script changes.
This commit is contained in:
1
CustomerNotes/.obsidian/app.json
vendored
1
CustomerNotes/.obsidian/app.json
vendored
@ -1 +0,0 @@
|
|||||||
{}
|
|
||||||
5
CustomerNotes/.obsidian/appearance.json
vendored
5
CustomerNotes/.obsidian/appearance.json
vendored
@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
"accentColor": "",
|
|
||||||
"cssTheme": "",
|
|
||||||
"theme": "obsidian"
|
|
||||||
}
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
[
|
|
||||||
"dataview",
|
|
||||||
"theme-picker"
|
|
||||||
]
|
|
||||||
@ -1,29 +0,0 @@
|
|||||||
{
|
|
||||||
"file-explorer": true,
|
|
||||||
"global-search": true,
|
|
||||||
"switcher": true,
|
|
||||||
"graph": true,
|
|
||||||
"backlink": true,
|
|
||||||
"canvas": true,
|
|
||||||
"outgoing-link": true,
|
|
||||||
"tag-pane": true,
|
|
||||||
"page-preview": true,
|
|
||||||
"daily-notes": true,
|
|
||||||
"templates": true,
|
|
||||||
"note-composer": true,
|
|
||||||
"command-palette": true,
|
|
||||||
"slash-command": false,
|
|
||||||
"editor-status": true,
|
|
||||||
"bookmarks": true,
|
|
||||||
"markdown-importer": false,
|
|
||||||
"zk-prefixer": false,
|
|
||||||
"random-note": false,
|
|
||||||
"outline": true,
|
|
||||||
"word-count": true,
|
|
||||||
"slides": false,
|
|
||||||
"audio-recorder": false,
|
|
||||||
"workspaces": false,
|
|
||||||
"file-recovery": true,
|
|
||||||
"publish": false,
|
|
||||||
"sync": false
|
|
||||||
}
|
|
||||||
20
CustomerNotes/.obsidian/core-plugins.json
vendored
20
CustomerNotes/.obsidian/core-plugins.json
vendored
@ -1,20 +0,0 @@
|
|||||||
[
|
|
||||||
"file-explorer",
|
|
||||||
"global-search",
|
|
||||||
"switcher",
|
|
||||||
"graph",
|
|
||||||
"backlink",
|
|
||||||
"canvas",
|
|
||||||
"outgoing-link",
|
|
||||||
"tag-pane",
|
|
||||||
"page-preview",
|
|
||||||
"daily-notes",
|
|
||||||
"templates",
|
|
||||||
"note-composer",
|
|
||||||
"command-palette",
|
|
||||||
"editor-status",
|
|
||||||
"bookmarks",
|
|
||||||
"outline",
|
|
||||||
"word-count",
|
|
||||||
"file-recovery"
|
|
||||||
]
|
|
||||||
22
CustomerNotes/.obsidian/graph.json
vendored
22
CustomerNotes/.obsidian/graph.json
vendored
@ -1,22 +0,0 @@
|
|||||||
{
|
|
||||||
"collapse-filter": false,
|
|
||||||
"search": "",
|
|
||||||
"showTags": false,
|
|
||||||
"showAttachments": false,
|
|
||||||
"hideUnresolved": false,
|
|
||||||
"showOrphans": true,
|
|
||||||
"collapse-color-groups": true,
|
|
||||||
"colorGroups": [],
|
|
||||||
"collapse-display": true,
|
|
||||||
"showArrow": false,
|
|
||||||
"textFadeMultiplier": 0,
|
|
||||||
"nodeSizeMultiplier": 1,
|
|
||||||
"lineSizeMultiplier": 1,
|
|
||||||
"collapse-forces": true,
|
|
||||||
"centerStrength": 0.518713248970312,
|
|
||||||
"repelStrength": 10,
|
|
||||||
"linkStrength": 1,
|
|
||||||
"linkDistance": 250,
|
|
||||||
"scale": 0.36288736930121135,
|
|
||||||
"close": false
|
|
||||||
}
|
|
||||||
1
CustomerNotes/.obsidian/hotkeys.json
vendored
1
CustomerNotes/.obsidian/hotkeys.json
vendored
@ -1 +0,0 @@
|
|||||||
{}
|
|
||||||
19888
CustomerNotes/.obsidian/plugins/dataview/main.js
vendored
19888
CustomerNotes/.obsidian/plugins/dataview/main.js
vendored
File diff suppressed because one or more lines are too long
@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
"id": "dataview",
|
|
||||||
"name": "Dataview",
|
|
||||||
"version": "0.5.56",
|
|
||||||
"minAppVersion": "0.13.11",
|
|
||||||
"description": "Complex data views for the data-obsessed.",
|
|
||||||
"author": "Michael Brenan <blacksmithgu@gmail.com>",
|
|
||||||
"authorUrl": "https://github.com/blacksmithgu",
|
|
||||||
"isDesktopOnly": false
|
|
||||||
}
|
|
||||||
146
CustomerNotes/.obsidian/plugins/dataview/styles.css
vendored
146
CustomerNotes/.obsidian/plugins/dataview/styles.css
vendored
@ -1,146 +0,0 @@
|
|||||||
/** Live Preview padding fixes, specifically for DataviewJS custom HTML elements. */
|
|
||||||
.is-live-preview .block-language-dataviewjs > p, .is-live-preview .block-language-dataviewjs > span {
|
|
||||||
line-height: 1.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.block-language-dataview {
|
|
||||||
overflow-y: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****************/
|
|
||||||
/** Table Views **/
|
|
||||||
/*****************/
|
|
||||||
|
|
||||||
/* List View Default Styling; rendered internally as a table. */
|
|
||||||
.table-view-table {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-view-table > thead > tr, .table-view-table > tbody > tr {
|
|
||||||
margin-top: 1em;
|
|
||||||
margin-bottom: 1em;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-view-table > tbody > tr:hover {
|
|
||||||
background-color: var(--text-selection) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-view-table > thead > tr > th {
|
|
||||||
font-weight: 700;
|
|
||||||
font-size: larger;
|
|
||||||
border-top: none;
|
|
||||||
border-left: none;
|
|
||||||
border-right: none;
|
|
||||||
border-bottom: solid;
|
|
||||||
|
|
||||||
max-width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-view-table > tbody > tr > td {
|
|
||||||
text-align: left;
|
|
||||||
border: none;
|
|
||||||
font-weight: 400;
|
|
||||||
max-width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-view-table ul, .table-view-table ol {
|
|
||||||
margin-block-start: 0.2em !important;
|
|
||||||
margin-block-end: 0.2em !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Rendered value styling for any view. */
|
|
||||||
.dataview-result-list-root-ul {
|
|
||||||
padding: 0em !important;
|
|
||||||
margin: 0em !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dataview-result-list-ul {
|
|
||||||
margin-block-start: 0.2em !important;
|
|
||||||
margin-block-end: 0.2em !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Generic grouping styling. */
|
|
||||||
.dataview.result-group {
|
|
||||||
padding-left: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*******************/
|
|
||||||
/** Inline Fields **/
|
|
||||||
/*******************/
|
|
||||||
|
|
||||||
.dataview.inline-field-key {
|
|
||||||
padding-left: 8px;
|
|
||||||
padding-right: 8px;
|
|
||||||
font-family: var(--font-monospace);
|
|
||||||
background-color: var(--background-primary-alt);
|
|
||||||
color: var(--text-nav-selected);
|
|
||||||
}
|
|
||||||
|
|
||||||
.dataview.inline-field-value {
|
|
||||||
padding-left: 8px;
|
|
||||||
padding-right: 8px;
|
|
||||||
font-family: var(--font-monospace);
|
|
||||||
background-color: var(--background-secondary-alt);
|
|
||||||
color: var(--text-nav-selected);
|
|
||||||
}
|
|
||||||
|
|
||||||
.dataview.inline-field-standalone-value {
|
|
||||||
padding-left: 8px;
|
|
||||||
padding-right: 8px;
|
|
||||||
font-family: var(--font-monospace);
|
|
||||||
background-color: var(--background-secondary-alt);
|
|
||||||
color: var(--text-nav-selected);
|
|
||||||
}
|
|
||||||
|
|
||||||
/***************/
|
|
||||||
/** Task View **/
|
|
||||||
/***************/
|
|
||||||
|
|
||||||
.dataview.task-list-item, .dataview.task-list-basic-item {
|
|
||||||
margin-top: 3px;
|
|
||||||
margin-bottom: 3px;
|
|
||||||
transition: 0.4s;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dataview.task-list-item:hover, .dataview.task-list-basic-item:hover {
|
|
||||||
background-color: var(--text-selection);
|
|
||||||
box-shadow: -40px 0 0 var(--text-selection);
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****************/
|
|
||||||
/** Error Views **/
|
|
||||||
/*****************/
|
|
||||||
|
|
||||||
div.dataview-error-box {
|
|
||||||
width: 100%;
|
|
||||||
min-height: 150px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
border: 4px dashed var(--background-secondary);
|
|
||||||
}
|
|
||||||
|
|
||||||
.dataview-error-message {
|
|
||||||
color: var(--text-muted);
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*************************/
|
|
||||||
/** Additional Metadata **/
|
|
||||||
/*************************/
|
|
||||||
|
|
||||||
.dataview.small-text {
|
|
||||||
font-size: smaller;
|
|
||||||
color: var(--text-muted);
|
|
||||||
margin-left: 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dataview.small-text::before {
|
|
||||||
content: "(";
|
|
||||||
}
|
|
||||||
|
|
||||||
.dataview.small-text::after {
|
|
||||||
content: ")";
|
|
||||||
}
|
|
||||||
162
CustomerNotes/.obsidian/plugins/theme-picker/main.js
vendored
162
CustomerNotes/.obsidian/plugins/theme-picker/main.js
vendored
File diff suppressed because one or more lines are too long
@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
"id": "theme-picker",
|
|
||||||
"name": "Theme Picker",
|
|
||||||
"version": "1.0.8",
|
|
||||||
"minAppVersion": "1.0.0",
|
|
||||||
"description": "Quickly preview installed themes",
|
|
||||||
"author": "kenset",
|
|
||||||
"authorUrl": "https://github.com/kenset",
|
|
||||||
"isDesktopOnly": true
|
|
||||||
}
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
.theme-picker-modal {
|
|
||||||
box-shadow: 0px 0px 17px 0px rgb(0 0 0 / 25%);
|
|
||||||
}
|
|
||||||
|
|
||||||
.theme-picker-color-scheme-icon > svg {
|
|
||||||
fill: var(--text-muted);
|
|
||||||
}
|
|
||||||
|
|
||||||
.theme-picker-color-scheme-icon:hover > svg {
|
|
||||||
fill: var(--text-normal);
|
|
||||||
}
|
|
||||||
163
CustomerNotes/.obsidian/workspace.json
vendored
163
CustomerNotes/.obsidian/workspace.json
vendored
@ -1,163 +0,0 @@
|
|||||||
{
|
|
||||||
"main": {
|
|
||||||
"id": "4fc3a5cdcd99de07",
|
|
||||||
"type": "split",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"id": "611cd5d51072ed6e",
|
|
||||||
"type": "tabs",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"id": "15cae0f8ddecb454",
|
|
||||||
"type": "leaf",
|
|
||||||
"state": {
|
|
||||||
"type": "markdown",
|
|
||||||
"state": {
|
|
||||||
"file": "Anthology.md",
|
|
||||||
"mode": "source",
|
|
||||||
"source": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"direction": "vertical"
|
|
||||||
},
|
|
||||||
"left": {
|
|
||||||
"id": "28ff22f702bbe9a4",
|
|
||||||
"type": "split",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"id": "2e1703f8c10ec576",
|
|
||||||
"type": "tabs",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"id": "10c861da40f1b918",
|
|
||||||
"type": "leaf",
|
|
||||||
"state": {
|
|
||||||
"type": "file-explorer",
|
|
||||||
"state": {
|
|
||||||
"sortOrder": "alphabetical"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "82e21ce7bb9cb3a4",
|
|
||||||
"type": "leaf",
|
|
||||||
"state": {
|
|
||||||
"type": "search",
|
|
||||||
"state": {
|
|
||||||
"query": "churn",
|
|
||||||
"matchingCase": false,
|
|
||||||
"explainSearch": false,
|
|
||||||
"collapseAll": false,
|
|
||||||
"extraContext": false,
|
|
||||||
"sortOrder": "alphabetical"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "be6b46faba7dd7a6",
|
|
||||||
"type": "leaf",
|
|
||||||
"state": {
|
|
||||||
"type": "bookmarks",
|
|
||||||
"state": {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"direction": "horizontal",
|
|
||||||
"width": 300
|
|
||||||
},
|
|
||||||
"right": {
|
|
||||||
"id": "b2b8a695a6ae16ba",
|
|
||||||
"type": "split",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"id": "c5df452df2a17ea1",
|
|
||||||
"type": "tabs",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"id": "92255194e0bbfd63",
|
|
||||||
"type": "leaf",
|
|
||||||
"state": {
|
|
||||||
"type": "backlink",
|
|
||||||
"state": {
|
|
||||||
"file": "Anthology.md",
|
|
||||||
"collapseAll": false,
|
|
||||||
"extraContext": false,
|
|
||||||
"sortOrder": "alphabetical",
|
|
||||||
"showSearch": false,
|
|
||||||
"searchQuery": "",
|
|
||||||
"backlinkCollapsed": false,
|
|
||||||
"unlinkedCollapsed": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "74e4fa3796a23614",
|
|
||||||
"type": "leaf",
|
|
||||||
"state": {
|
|
||||||
"type": "outgoing-link",
|
|
||||||
"state": {
|
|
||||||
"file": "Anthology.md",
|
|
||||||
"linksCollapsed": false,
|
|
||||||
"unlinkedCollapsed": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "551ec272d04e40fe",
|
|
||||||
"type": "leaf",
|
|
||||||
"state": {
|
|
||||||
"type": "tag",
|
|
||||||
"state": {
|
|
||||||
"sortOrder": "frequency",
|
|
||||||
"useHierarchy": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "457cb6080b97ec53",
|
|
||||||
"type": "leaf",
|
|
||||||
"state": {
|
|
||||||
"type": "outline",
|
|
||||||
"state": {
|
|
||||||
"file": "Anthology.md"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"direction": "horizontal",
|
|
||||||
"width": 300,
|
|
||||||
"collapsed": true
|
|
||||||
},
|
|
||||||
"left-ribbon": {
|
|
||||||
"hiddenItems": {
|
|
||||||
"switcher:Open quick switcher": false,
|
|
||||||
"graph:Open graph view": false,
|
|
||||||
"canvas:Create new canvas": false,
|
|
||||||
"daily-notes:Open today's daily note": false,
|
|
||||||
"templates:Insert template": false,
|
|
||||||
"command-palette:Open command palette": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"active": "15cae0f8ddecb454",
|
|
||||||
"lastOpenFiles": [
|
|
||||||
"github_readme_profile.md",
|
|
||||||
"G2.md",
|
|
||||||
"Fun Filtering Forays.md",
|
|
||||||
"ChurnZero.md",
|
|
||||||
"test.md",
|
|
||||||
"Skuid.md",
|
|
||||||
"2023-05-23.md",
|
|
||||||
"Untitled.canvas",
|
|
||||||
"Agriwebb.md",
|
|
||||||
"Artsy.md",
|
|
||||||
"4Pillars.md"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@ -91,3 +91,20 @@ Austin reached out to Michael Stalenwart. Michael emailed Glassdoor on 7/5 and s
|
|||||||
> It also looks like Northpass documentation hasn't specified Low Volume Object explicitly which could be the source of confusion.
|
> It also looks like Northpass documentation hasn't specified Low Volume Object explicitly which could be the source of confusion.
|
||||||
>
|
>
|
||||||
> Let us know if using a Low Volume Object rather than a High Volume Object fixes the issue. Happy to continue to help where needed.
|
> Let us know if using a Low Volume Object rather than a High Volume Object fixes the issue. Happy to continue to help where needed.
|
||||||
|
|
||||||
|
## 09/05/2023
|
||||||
|
|
||||||
|
### Check in after a while
|
||||||
|
|
||||||
|
#### Notes
|
||||||
|
|
||||||
|
* Paul wants to learn more best practices to keep interest up with clients
|
||||||
|
* What is the flow?
|
||||||
|
* JO sends automated email based on Salesforce/GS data for all new closed
|
||||||
|
deals
|
||||||
|
* Pooled kick-off call every Tuesday - learn about GSU, click into University
|
||||||
|
* JO email is tokenized - auto-enrolled in courses
|
||||||
|
* Kick off call is just a general link.
|
||||||
|
* Talked strategy most of the meeting
|
||||||
|
* Needs to decide if he wants to improve completions OR overall numbers in the
|
||||||
|
academy.
|
||||||
0
CustomerNotes/index.md
Normal file
0
CustomerNotes/index.md
Normal file
28
Notes_TOC_script.py
Normal file
28
Notes_TOC_script.py
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
from pathlib import Path
|
||||||
|
|
||||||
|
path_dir = Path("/Users/normrasmussen/Documents/Work/CustomerNotes/")
|
||||||
|
toc_file = Path("/Users/normrasmussen/Documents/Work/CustomerNotes/index.md")
|
||||||
|
|
||||||
|
|
||||||
|
def company_path(path_dir):
|
||||||
|
listdirs = [x for x in path_dir.iterdir() if x.is_dir()]
|
||||||
|
for dirs in listdirs:
|
||||||
|
company_list = []
|
||||||
|
str_dirs = str(dirs)
|
||||||
|
str_dirs = str_dirs.split("/")[6]
|
||||||
|
company_list.append(str_dirs)
|
||||||
|
listfiles = list(dirs.glob("**/*.*"))
|
||||||
|
for item in listfiles:
|
||||||
|
company_list.append(item)
|
||||||
|
write_to_toc(company_list, toc_file)
|
||||||
|
|
||||||
|
|
||||||
|
def write_to_toc(company_list, toc_file):
|
||||||
|
pass
|
||||||
|
# file = open(toc_file, "a")
|
||||||
|
# file.write(str_dirs)
|
||||||
|
# file.close()
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
company_path(path_dir)
|
||||||
@ -2,7 +2,7 @@ import requests
|
|||||||
import pandas as pd
|
import pandas as pd
|
||||||
import Apikeys
|
import Apikeys
|
||||||
|
|
||||||
apiKey = Apikeys.terminus_employee
|
apiKey = Apikeys.walmartprod
|
||||||
course_dict = {}
|
course_dict = {}
|
||||||
|
|
||||||
|
|
||||||
@ -12,7 +12,7 @@ def get_course():
|
|||||||
|
|
||||||
while True:
|
while True:
|
||||||
count += 1
|
count += 1
|
||||||
url = f"https://api.northpass.com/v2/courses?page={count}"
|
url = f"https://api2.northpass.com/v2/courses?page={count}"
|
||||||
print(url)
|
print(url)
|
||||||
headers = {"accept": "application/json", "X-Api-Key": apiKey}
|
headers = {"accept": "application/json", "X-Api-Key": apiKey}
|
||||||
response = requests.get(url, headers=headers)
|
response = requests.get(url, headers=headers)
|
||||||
@ -23,7 +23,7 @@ def get_course():
|
|||||||
status = response["attributes"]["status"]
|
status = response["attributes"]["status"]
|
||||||
uuid = response["id"]
|
uuid = response["id"]
|
||||||
name = response["attributes"]["name"]
|
name = response["attributes"]["name"]
|
||||||
build_url = response["links"]["builder"]["href"]
|
# build_url = response["links"]["builder"]["href"]
|
||||||
course_dict = {
|
course_dict = {
|
||||||
"id": uuid,
|
"id": uuid,
|
||||||
"name": name,
|
"name": name,
|
||||||
@ -49,7 +49,7 @@ def get_cat_name(cat_id, course_dict, courses):
|
|||||||
pass
|
pass
|
||||||
elif len(cat_id) == 1:
|
elif len(cat_id) == 1:
|
||||||
categoryid = cat_id[0]["id"]
|
categoryid = cat_id[0]["id"]
|
||||||
url = f"https://api.northpass.com/v2/categories/{categoryid}"
|
url = f"https://api2.northpass.com/v2/categories/{categoryid}"
|
||||||
cat_resp = requests.get(url, headers=headers)
|
cat_resp = requests.get(url, headers=headers)
|
||||||
cat_data = cat_resp.json()
|
cat_data = cat_resp.json()
|
||||||
cat_name = cat_data["data"]["attributes"]["name"]
|
cat_name = cat_data["data"]["attributes"]["name"]
|
||||||
@ -59,7 +59,7 @@ def get_cat_name(cat_id, course_dict, courses):
|
|||||||
else:
|
else:
|
||||||
for item in cat_id:
|
for item in cat_id:
|
||||||
categoryid = item["id"]
|
categoryid = item["id"]
|
||||||
url = f"https://api.northpass.com/v2/categories/{categoryid}"
|
url = f"https://api2.northpass.com/v2/categories/{categoryid}"
|
||||||
cat_resp = requests.get(url, headers=headers)
|
cat_resp = requests.get(url, headers=headers)
|
||||||
cat_data = cat_resp.json()
|
cat_data = cat_resp.json()
|
||||||
cat_name = cat_data["data"]["attributes"]["name"]
|
cat_name = cat_data["data"]["attributes"]["name"]
|
||||||
@ -76,7 +76,7 @@ def get_cat_name(cat_id, course_dict, courses):
|
|||||||
|
|
||||||
def write_to_csv(courses):
|
def write_to_csv(courses):
|
||||||
df = pd.DataFrame.from_dict(courses)
|
df = pd.DataFrame.from_dict(courses)
|
||||||
df.to_csv("/Users/normrasmussen/Downloads/terminus_courses.csv")
|
df.to_csv("/Users/normrasmussen/Downloads/walmart_course.csv")
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|||||||
@ -6,7 +6,6 @@ from datetime import date
|
|||||||
|
|
||||||
currentdir = "/Users/normrasmussen/Documents/Work/Scripts/Auto_Scrape_Screenshots/"
|
currentdir = "/Users/normrasmussen/Documents/Work/Scripts/Auto_Scrape_Screenshots/"
|
||||||
|
|
||||||
|
|
||||||
def find_pictures(currentdir):
|
def find_pictures(currentdir):
|
||||||
files = []
|
files = []
|
||||||
listfiles = glob.glob(currentdir + "*.png")
|
listfiles = glob.glob(currentdir + "*.png")
|
||||||
|
|||||||
BIN
Scripts/Backup_Notes_Scripts/.DS_Store
vendored
Normal file
BIN
Scripts/Backup_Notes_Scripts/.DS_Store
vendored
Normal file
Binary file not shown.
21
Scripts/Backup_Notes_Scripts/reorg_notes.py
Normal file
21
Scripts/Backup_Notes_Scripts/reorg_notes.py
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
from pathlib import Path
|
||||||
|
|
||||||
|
currentdir = "/Users/normrasmussen/Documents/Work/CustomerNotes/"
|
||||||
|
path_dir = Path("/Users/normrasmussen/Documents/Work/CustomerNotes/")
|
||||||
|
|
||||||
|
def path_files(path_dir):
|
||||||
|
listfiles = list(path_dir.glob("**/*.md"))
|
||||||
|
print(f"Successfully made the '{path_dir}' directory.")
|
||||||
|
for file in listfiles:
|
||||||
|
strfile = str(file)
|
||||||
|
company = strfile.split("/")[6][:-3]
|
||||||
|
new_dir = path_dir / company
|
||||||
|
new_dir.mkdir()
|
||||||
|
file.rename(
|
||||||
|
f"/Users/normrasmussen/Documents/Work/CustomerNotes/{company}/{company}.md"
|
||||||
|
)
|
||||||
|
print(company)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
path_files(path_dir)
|
||||||
Reference in New Issue
Block a user