- HyperSwitch -> for changing Cmd+backtick logic to switch to last opened window instead of cycle through windows. https://bahoom.com/hyperswitch
- BrightInTosh -> force enable HDR mode to boost screen brightness for outdoor usage. https://apps.apple.com/id/app/brightintosh/id6452471855?mt=12
- AirPods Sound Quality Fixer And Battery Life Enhancer For MacOS -> select and force mic input channel. https://github.com/milgra/airpodssoundqualityfixer#airpods-sound-quality-fixer-and-battery-life-enhancer-for-macos
- Doll -> to show app notification on menu bar. https://github.com/xiaogdgenuine/Doll
- BlueSnooze -> to turnoff bluetooth when lid is closed. https://github.com/odlp/bluesnooze
- more at https://macmenubar.com/
This file contains hidden or 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
| #!/usr/bin/env bash | |
| # inspired by | |
| # https://gist.github.com/JannikArndt/feb720c1f5d210b4820b880af23f2a07 | |
| # which was inspired by | |
| # https://github.com/fwartner/mac-cleanup/blob/master/cleanup.sh | |
| # https://gist.github.com/jamesrampton/4503412 | |
| # https://github.com/mengfeng/clean-my-mac/blob/master/clean_my_mac.sh | |
| # https://github.com/szymonkaliski/Dotfiles/blob/master/Scripts/clean-my-mac | |
| # http://brettterpstra.com/2015/10/27/vacuuming-mail-dot-app-on-el-capitan/ / https://github.com/pbihq/tools/blob/master/MailDBOptimiser.sh |
REGEX remove blank lines:
FROM: http://www.ultraedit.com/support/tutorials_power_tips/ultraedit/remove_blank_lines.html
FIND:
^(?:[\t ]*(?:\r?\n|\r))+
This file contains hidden or 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
| Unless specified otherwise, all of the below tinting applies to both Lollipop and pre-Lollipop using AppCompat v21. | |
| To use the support version of these attributes, remove the android namespace. | |
| For instance, "android:colorControlNormal" becomes "colorControlNormal". | |
| These attributes will be propagated to their corresponding attributes within the android namespace | |
| for devices running Lollipop. Any exceptions to this will be noted by including the "android:" prefix. | |
| All Clickable Views: | |
| ----------- |
This file contains hidden or 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
| How to Completely Remove Android Studio | |
| Execute these commands from the terminal | |
| rm -Rf /Applications/Android\ Studio.app | |
| rm -Rf ~/Library/Preferences/AndroidStudio* | |
| rm ~/Library/Preferences/com.google.android.studio.plist | |
| rm -Rf ~/Library/Application\ Support/AndroidStudio* | |
| rm -Rf ~/Library/Logs/AndroidStudio* |
This file contains hidden or 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
| MainActivity.java: | |
| package com.alex.services; | |
| import android.app.ActivityManager; | |
| import android.content.Context; | |
| import android.content.Intent; | |
| import android.os.Bundle; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.view.View; |