add fixcatalina original
This commit is contained in:
parent
e4652d43b7
commit
e8c586aad5
|
@ -49,7 +49,7 @@
|
|||
},
|
||||
"instructions": {
|
||||
"start": "Open-source collaboration/chat server Mattermost Team Edition.",
|
||||
"end": "Mattermost is deployed and available as srv-captain--$$cap_appname:80. Note that the application may take a few minutes to become available. Following deployment you must verify MM_SERVICESETTINGS_SITEURL in the application's environment refers to your app's official public URL."
|
||||
"end": "Mattermost is deployed and available as srv-captain--$$cap_appname:80. Note that the application may take up to ten minutes to become available. Following deployment you must verify MM_SERVICESETTINGS_SITEURL in the application's environment refers to your app's official public URL."
|
||||
},
|
||||
"variables": [
|
||||
{
|
||||
|
|
|
@ -0,0 +1,170 @@
|
|||
#!/bin/bash
|
||||
|
||||
# IMPORTANT: Don't forget to logout from your Apple ID in the settings before running it!
|
||||
# IMPORTANT: You will need to run this script from Recovery. In fact, macOS Catalina brings read-only filesystem which prevent this script from working from the main OS.
|
||||
# This script needs to be run from the volume you wish to use.
|
||||
# E.g. run it like this: cd /Volumes/Macintosh\ HD && sh /Volumes/Macintosh\ HD/Users/sabri/Desktop/disable.sh
|
||||
# WARNING: It might disable things that you may not like. Please double check the services in the TODISABLE vars.
|
||||
|
||||
# Get active services: launchctl list | grep -v "\-\t0"
|
||||
# Find a service: grep -lR [service] /System/Library/Launch* /Library/Launch* ~/Library/LaunchAgents
|
||||
|
||||
# Agents to disable
|
||||
# 'com.apple.speech.speechdatainstallerd' 'com.apple.speech.speechsynthesisd' 'com.apple.speech.synthesisserver' will freeze Edit menus
|
||||
# 'com.apple.bird' will prevent saving prompt from being shown
|
||||
TODISABLE=()
|
||||
|
||||
# iCloud
|
||||
TODISABLE+=('com.apple.security.cloudkeychainproxy3' \
|
||||
'com.apple.iCloudUserNotifications' \
|
||||
'com.apple.icloud.findmydeviced.findmydevice-user-agent' \
|
||||
'com.apple.icloud.fmfd' \
|
||||
'com.apple.icloud.searchpartyuseragent' \
|
||||
'com.apple.cloudd' \
|
||||
'com.apple.cloudpaird' \
|
||||
'com.apple.cloudphotosd' \
|
||||
'com.apple.followupd' \
|
||||
'com.apple.protectedcloudstorage.protectedcloudkeysyncing')
|
||||
|
||||
# Safari useless stuff
|
||||
TODISABLE+=('com.apple.SafariBookmarksSyncAgent' \
|
||||
'com.apple.SafariCloudHistoryPushAgent' \
|
||||
'com.apple.WebKit.PluginAgent')
|
||||
|
||||
# iMessage / Facetime
|
||||
TODISABLE+=('com.apple.imagent' \
|
||||
'com.apple.imautomatichistorydeletionagent' \
|
||||
'com.apple.imklaunchagent' \
|
||||
'com.apple.imtransferagent' \
|
||||
'com.apple.avconferenced')
|
||||
|
||||
# Game Center / Passbook / Apple TV / Homekit...
|
||||
TODISABLE+=('com.apple.gamed' \
|
||||
'com.apple.passd' \
|
||||
'com.apple.Maps.pushdaemon' \
|
||||
'com.apple.videosubscriptionsd' \
|
||||
'com.apple.CommCenter-osx' \
|
||||
'com.apple.homed')
|
||||
|
||||
# Ad-related
|
||||
TODISABLE+=('com.apple.ap.adprivacyd' \
|
||||
'com.apple.ap.adservicesd')
|
||||
|
||||
# Screensharing
|
||||
TODISABLE+=('com.apple.screensharing.MessagesAgent' \
|
||||
'com.apple.screensharing.agent' \
|
||||
'com.apple.screensharing.menuextra')
|
||||
|
||||
# Siri
|
||||
TODISABLE+=('com.apple.siriknowledged' \
|
||||
'com.apple.assistant_service' \
|
||||
'com.apple.assistantd' \
|
||||
'com.apple.Siri.agent' \
|
||||
'com.apple.parsec-fbf')
|
||||
|
||||
# VoiceOver / accessibility-related stuff
|
||||
TODISABLE+=('com.apple.VoiceOver' \
|
||||
'com.apple.voicememod' \
|
||||
'com.apple.accessibility.AXVisualSupportAgent' \
|
||||
'com.apple.accessibility.dfrhud' \
|
||||
'com.apple.accessibility.heard')
|
||||
|
||||
# Quicklook
|
||||
TODISABLE+=('com.apple.quicklook.ui.helper' \
|
||||
'com.apple.quicklook.ThumbnailsAgent' \
|
||||
'com.apple.quicklook')
|
||||
|
||||
# Sidecar
|
||||
TODISABLE+=('com.apple.sidecar-hid-relay' \
|
||||
'com.apple.sidecar-relay')
|
||||
|
||||
# Debugging process
|
||||
TODISABLE+=('com.apple.spindump_agent' \
|
||||
'com.apple.ReportCrash' \
|
||||
'com.apple.ReportGPURestart' \
|
||||
'com.apple.ReportPanic' \
|
||||
'com.apple.DiagnosticReportCleanup' \
|
||||
'com.apple.TrustEvaluationAgent')
|
||||
|
||||
# Screentime
|
||||
TODISABLE+=('com.apple.ScreenTimeAgent' \
|
||||
'com.apple.UsageTrackingAgent')
|
||||
|
||||
# Others
|
||||
TODISABLE+=('com.apple.telephonyutilities.callservicesd' \
|
||||
'com.apple.photoanalysisd' \
|
||||
'com.apple.parsecd' \
|
||||
'com.apple.AOSPushRelay' \
|
||||
'com.apple.AOSHeartbeat' \
|
||||
'com.apple.AirPlayUIAgent' \
|
||||
'com.apple.AirPortBaseStationAgent' \
|
||||
'com.apple.familycircled' \
|
||||
'com.apple.familycontrols.useragent' \
|
||||
'com.apple.familynotificationd' \
|
||||
'com.apple.findmymacmessenger' \
|
||||
'com.apple.sharingd' \
|
||||
'com.apple.identityservicesd' \
|
||||
'com.apple.java.InstallOnDemand' \
|
||||
'com.apple.parentalcontrols.check' \
|
||||
'com.apple.security.keychain-circle-notification' \
|
||||
'com.apple.syncdefaultsd' \
|
||||
'com.apple.appleseed.seedusaged' \
|
||||
'com.apple.appleseed.seedusaged.postinstall' \
|
||||
'com.apple.CallHistorySyncHelper' \
|
||||
'com.apple.RemoteDesktop' \
|
||||
'com.apple.CallHistoryPluginHelper' \
|
||||
'com.apple.SocialPushAgent' \
|
||||
'com.apple.touristd' \
|
||||
'com.apple.macos.studentd' \
|
||||
'com.apple.KeyboardAccessAgent' \
|
||||
'com.apple.exchange.exchangesyncd' \
|
||||
'com.apple.suggestd' \
|
||||
'com.apple.AddressBook.abd' \
|
||||
'com.apple.helpd' \
|
||||
'com.apple.amp.mediasharingd' \
|
||||
'com.apple.mediaanalysisd' \
|
||||
'com.apple.mediaremoteagent' \
|
||||
'com.apple.remindd' \
|
||||
'com.apple.keyboardservicesd' \
|
||||
'com.apple.AddressBook.SourceSync' \
|
||||
'com.apple.telephonyutilities.callservicesd' \
|
||||
'com.apple.mobileassetd' \
|
||||
'com.apple.CalendarAgent' \
|
||||
'com.apple.knowledge-agent')
|
||||
|
||||
for agent in "${TODISABLE[@]}"
|
||||
do
|
||||
mv ./System/Library/LaunchAgents/${agent}.plist ./System/Library/LaunchAgents/${agent}.plist.bak
|
||||
echo "[OK] Agent ${agent} disabled"
|
||||
done
|
||||
|
||||
# Daemons to disable
|
||||
TODISABLE=()
|
||||
|
||||
# iCloud
|
||||
TODISABLE+=('com.apple.analyticsd', 'com.apple.icloud.findmydeviced')
|
||||
|
||||
# Others
|
||||
TODISABLE+=('com.apple.netbiosd' \
|
||||
'com.apple.preferences.timezone.admintool' \
|
||||
'com.apple.remotepairtool' \
|
||||
'com.apple.security.FDERecoveryAgent' \
|
||||
'com.apple.SubmitDiagInfo' \
|
||||
'com.apple.screensharing' \
|
||||
'com.apple.appleseed.fbahelperd' \
|
||||
'com.apple.apsd' \
|
||||
'com.apple.ManagedClient.cloudconfigurationd' \
|
||||
'com.apple.ManagedClient.enroll' \
|
||||
'com.apple.ManagedClient' \
|
||||
'com.apple.ManagedClient.startup' \
|
||||
'com.apple.locate' \
|
||||
'com.apple.locationd' \
|
||||
'com.apple.eapolcfg_auth' \
|
||||
'com.apple.RemoteDesktop.PrivilegeProxy' \
|
||||
'com.apple.mediaremoted')
|
||||
|
||||
for daemon in "${TODISABLE[@]}"
|
||||
do
|
||||
mv ./System/Library/LaunchDaemons/${daemon}.plist ./System/Library/LaunchDaemons/${daemon}.plist.bak
|
||||
echo "[OK] Daemon ${daemon} disabled"
|
||||
done
|
16
vimrc/vimrc
16
vimrc/vimrc
|
@ -1,4 +1,9 @@
|
|||
"execute pathogen#infect()
|
||||
execute pathogen#infect()
|
||||
|
||||
let system_uname = system('uname -s')
|
||||
let osx = system_uname =~? 'darwin'
|
||||
let linux = system_uname =~? 'linux'
|
||||
let windows = has('win32') || system_uname =~? 'mingw'
|
||||
|
||||
set number
|
||||
filetype plugin indent on
|
||||
|
@ -19,6 +24,7 @@ vnoremap < <<CR>gv
|
|||
"au BufWinLeave * silent! mkview
|
||||
"au BufWinEnter * silent! loadview
|
||||
|
||||
|
||||
set directory=~/.vim/swap//
|
||||
set backupdir=~/.vim/backup//
|
||||
set undodir=~/.vim/undo//
|
||||
|
@ -53,6 +59,8 @@ set softtabstop=4
|
|||
set autoindent
|
||||
set smarttab
|
||||
set expandtab
|
||||
set nowrap
|
||||
|
||||
|
||||
autocmd FileType make setlocal noexpandtab
|
||||
autocmd FileType markdown setlocal spell
|
||||
|
@ -72,10 +80,6 @@ map <s-tab> <c-w><c-w>
|
|||
colorscheme koehler
|
||||
hi CursorLine term=none cterm=none ctermbg=none
|
||||
set t_Co=256
|
||||
set foldmethod=indent
|
||||
set foldminlines=5
|
||||
set nofoldenable "dont fold by default
|
||||
set foldlevel=1 "this is just what i use
|
||||
nnoremap <silent> <Space> @=(foldlevel('.')?'za':'l')<CR>
|
||||
vnoremap <Space> zf
|
||||
|
||||
|
@ -98,3 +102,5 @@ let python_no_number_highlight = 1
|
|||
let python_space_error_highlight = 1
|
||||
|
||||
let g:flake8_show_in_gutter=1 " show
|
||||
|
||||
let g:go_fmt_command = "goimports"
|
||||
|
|
Loading…
Reference in New Issue