diff --git a/.configFiles/iterm2/com.googlecode.iterm2.plist b/.configFiles/iterm2/com.googlecode.iterm2.plist index d2e09ac..4d8d83d 100644 --- a/.configFiles/iterm2/com.googlecode.iterm2.plist +++ b/.configFiles/iterm2/com.googlecode.iterm2.plist @@ -25,7 +25,7 @@ LoadPrefsFromCustomFolder NSNavLastRootDirectory - ~/.configFiles/iterm2 + ~/Desktop NSNavPanelExpandedSizeForOpenMode {799, 448} NSQuotedKeystrokeBinding @@ -48,7 +48,7 @@ dWxs0g0ODxJaTlMub2JqZWN0c1YkY2xhc3OiEBGAAoAKgA3TFA0OFRkdV05TLmtleXOj FhcYgAOABIAFoxobHIAGgAeACIAJWklkZW50aWZpZXJVV2lkdGhWSGlkZGVuUTAjQGjA AAAAAAAI0iUmJyhaJGNsYXNzbmFtZVgkY2xhc3Nlc1xOU0RpY3Rpb25hcnmiJylYTlNP - YmplY3TTFA0OKy8doxYXGIADgASABaMwMRyAC4AMgAiACVExI0B0oZ2yLQ5W0iUmNzhe + YmplY3TTFA0OKy8doxYXGIADgASABaMwMRyAC4AMgAiACVExI0BzsZ2yLQ5W0iUmNzhe TlNNdXRhYmxlQXJyYXmjNzkpV05TQXJyYXkACAARABoAJAApADIANwBJAEwAUgBUAGMA aQBuAHkAgACDAIUAhwCJAJAAmACcAJ4AoACiAKYAqACqAKwArgC5AL8AxgDIANEA0gDX AOIA6wD4APsBBAELAQ8BEQETARUBGQEbAR0BHwEhASMBLAExAUABRAAAAAAAAAIBAAAA @@ -70,23 +70,13 @@ 1 NSWindow Frame NSColorPanel - 0 162 224 275 0 0 1680 1027 + 0 139 224 275 0 0 1920 1057 NSWindow Frame NSNavPanelAutosaveName - 440 454 799 448 0 0 1680 1027 - NSWindow Frame ProfilesPanel - 275 597 735 382 0 0 1680 1027 - NSWindow Frame SUUpdateAlert - 530 496 620 392 0 0 1680 1027 - NSWindow Frame SessionsPreferences - 269 288 606 469 0 0 1680 1027 - NSWindow Frame SharedPreferences - 124 378 928 394 0 0 1680 1027 + 560 470 799 448 0 0 1920 1057 NSWindow Frame iTerm Window 0 - 590 187 570 473 0 0 1680 1027 + 350 340 585 473 0 0 1920 1057 NSWindow Frame iTerm Window 1 - 610 286 570 488 0 0 1680 1027 - NSWindow Frame iTerm Window 2 - 233 539 570 488 0 0 1680 1027 + -1694 130 585 452 -1920 0 1920 1057 New Bookmarks @@ -2732,54 +2722,37 @@ NoSyncAllAppVersions - 3.3.6 - 3.3.4 - 3.3.1 3.3.7 - 3.3.0 - 3.2.9 - 3.3.2 - NoSyncCommandHistoryHasEverBeenUsed - - NoSyncConfirmRunOpenFile - - NoSyncConfirmRunOpenFile_selection - 0 - NoSyncConfirmShellIntegrationCommand - - NoSyncConfirmShellIntegrationCommand_selection - 0 - NoSyncFrame_SessionsPreferences - - screenFrame - {{0, 0}, {1680, 1050}} - topLeft - {537, 919} - + NoSyncBFPRecents + + Menlo + Courier New + Monaco + NoSyncFrame_SharedPreferences screenFrame - {{0, 0}, {1680, 1050}} + {{0, 0}, {1920, 1080}} topLeft - {293, 808} + {573, 795} - NoSyncHaveWarnedAboutPasteConfirmationChange - NoSyncInstallationId - 2FC0C0E6-4E42-47D1-B1C7-19ED2E7A0D39 + B2D387D2-8FC2-480C-B97C-C9266DA05B1E + NoSyncLastTipTime + 601337715.34453404 NoSyncLaunchExperienceControllerRunCount - 41 - NoSyncNewTabFromTmuxOpensTmux + 12 + NoSyncNeverRemindPrefsChangesLostForFile - NoSyncNewTabFromTmuxOpensTmux_selection + NoSyncNeverRemindPrefsChangesLostForFile_selection 0 NoSyncNextAnnoyanceTime - 586483428.58214498 + 601424112.652197 NoSyncOnboardingWindowHasBeenShown NoSyncPermissionToShowTip - + NoSyncRecordedVariables 0 @@ -3130,23 +3103,7 @@ isTerminal name - currentTab.currentSession.tmuxClientName - nonterminalContext - 0 - - - isTerminal - - name - currentTab.currentSession.tmuxRole - nonterminalContext - 0 - - - isTerminal - - name - currentTab.tmuxWindowName + currentTab.currentSession.terminalIconName nonterminalContext 0 @@ -3158,22 +3115,6 @@ nonterminalContext 0 - - isTerminal - - name - currentTab.currentSession.terminalIconName - nonterminalContext - 0 - - - isTerminal - - name - currentTab.currentSession.lastCommand - nonterminalContext - 0 - isTerminal @@ -3182,14 +3123,6 @@ nonterminalContext 2 - - isTerminal - - name - currentTab.currentSession.tmuxPaneTitle - nonterminalContext - 0 - isTerminal @@ -3230,6 +3163,14 @@ nonterminalContext 0 + + isTerminal + + name + number + nonterminalContext + 0 + isTerminal @@ -3246,14 +3187,6 @@ nonterminalContext 0 - - isTerminal - - name - number - nonterminalContext - 0 - isTerminal @@ -3313,14 +3246,6 @@ nonterminalContext 0 - - isTerminal - - name - currentSession.terminalIconName - nonterminalContext - 0 - isTerminal @@ -3333,7 +3258,7 @@ isTerminal name - tmuxWindowTitle + title nonterminalContext 0 @@ -3341,7 +3266,7 @@ isTerminal name - title + tmuxWindowTitle nonterminalContext 0 @@ -3361,6 +3286,14 @@ nonterminalContext 0 + + isTerminal + + name + currentSession.jobPid + nonterminalContext + 0 + isTerminal @@ -3401,14 +3334,6 @@ nonterminalContext 0 - - isTerminal - - name - currentSession.lastCommand - nonterminalContext - 0 - isTerminal @@ -3441,6 +3366,14 @@ nonterminalContext 0 + + isTerminal + + name + currentSession.termid + nonterminalContext + 0 + isTerminal @@ -3449,14 +3382,6 @@ nonterminalContext 4 - - isTerminal - - name - currentSession.path - nonterminalContext - 0 - isTerminal @@ -3477,7 +3402,7 @@ isTerminal name - currentSession.pid + currentSession.path nonterminalContext 0 @@ -3485,7 +3410,7 @@ isTerminal name - currentSession.terminalWindowName + currentSession.pid nonterminalContext 0 @@ -3542,8 +3467,10 @@ - NoSyncTimeOfFirstLaunchOfVersionWithTip - 582132546.58736098 + NoSyncTipOfTheDayEligibilityBeganTime + 601156971.16848099 + NoSyncTipsDisabled + OpenArrangementAtStartup OpenNoWindowsAtStartup @@ -3586,7 +3513,7 @@ PrefsCustomFolder - /Users/beppe/.configFiles/iterm2 + ~/.configFiles/iterm2 Print In Black And White PromptOnQuit @@ -3596,21 +3523,19 @@ SUFeedAlternateAppNameKey iTerm SUFeedURL - https://iterm2.com/appcasts/final_new.xml?shard=14 + https://iterm2.com/appcasts/final_new.xml?shard=30 SUHasLaunchedBefore SULastCheckTime - 2020-02-01T01:31:28Z + 2020-02-01T21:27:51Z SUSendProfileInfo - SUUpdateRelaunchingMarker - SoundForEsc StatusBarPosition 1 TabStyleWithAutomaticOption - 4 + 1 TabViewType 0 VisualIndicatorForEsc diff --git a/.gitignore b/.gitignore index 42ae2db..52b3a8d 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,5 @@ !.vim/** !.configFiles/** !.configFiles - +!.scripts +!.scripts/** diff --git a/.scripts/python/generateLibrary.py b/.scripts/python/generateLibrary.py new file mode 100644 index 0000000..99df96f --- /dev/null +++ b/.scripts/python/generateLibrary.py @@ -0,0 +1,98 @@ +import os + + +destFolder = "~/lib" +destDb = "~/lib/db.json" + +if !os.path.exists(destFolder): + os.mkdir(destFolder) +else: + if !os.path.exists(destDb): + destDb = {} + else: + destDb = loadDb(destDb) + + + + +categories = { + "0 uncategorized": { + "00 images": [], + "01 movies": [], + "02 songs": [], + "03 documents": [], + "04 scripts and code": [], + "05 archives": [], + "06 executables": [], + "07 project files": [], + "09 other": [] + }, + "1 code": { + "10 uncategorized git repos": [], + "11 java": [], + "12 csharp": [], + "13 python": [], + "14 c": [], + "15 lua": [], + "19 other": [] + }, + "2 media": { + "20 pictures": [], + "21 music": [], + "22 video": [] + "29 other": [] + }, + "3 documents": { #if i get this to be content aware, that would be dope, + #but i dont think i can. for now i'm writing it as content aware though + "30 school documents": [], + "31 work documents": [], + "32 personal research/general documents": [], + "39 other": [] + } +} + + + + + + + + + + +# classes + +class file: + name = "" + ext = "" + url = "" + + def __init__(self, url): + self.url = url + self.name = getFileNameFromUrl(url) + None, self.ext = getFileExtensionFromUrl(url) + + + + +# functions + + +def loadDb(url): + with open(url) as json_file: + return json.load(json_file) + +def getFileNameFromUrl(url): + return os.path.basename(url) + +def getFileExtensionFromUrl(url) + return os.path.splitext(url) + + + + + + + + + diff --git a/.scripts/zsh b/.scripts/zsh new file mode 100644 index 0000000..e69de29 diff --git a/.vim/.netrwhist b/.vim/.netrwhist index 733ece0..142fa17 100644 --- a/.vim/.netrwhist +++ b/.vim/.netrwhist @@ -1,6 +1,7 @@ let g:netrw_dirhistmax =10 -let g:netrw_dirhist_cnt =4 +let g:netrw_dirhist_cnt =5 let g:netrw_dirhist_1='/usr/local/bin' let g:netrw_dirhist_2='/Users/beppe/git/advancedprogramming/Vue/femtalks/src/components/Views' let g:netrw_dirhist_3='/Users/beppe/git/advancedprogramming/Vue' let g:netrw_dirhist_4='/Users/beppe/git/advancedprogramming/Vue/femtalks' +let g:netrw_dirhist_5='/Users/beppe/.oh-my-zsh' diff --git a/.zshrc b/.zshrc index 03334d9..1e58705 100644 --- a/.zshrc +++ b/.zshrc @@ -130,3 +130,4 @@ sst() { } [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh +source ~/.scripts/zsh