Category Archives: MasOsX
How to hide face with iMovie
If you want to edit a video on mac and want to hide some part of the scene, there’s one easy way I found to do it with iMovie. I didn’t find a way, I’ve found a video about that. https://www.youtube.com/watch?v=nSC_Rje68FI
Setting zsh on you mac
This gist is great: https://gist.github.com/kevin-smets/8568070 I just added these line at the bottom:
1 2 3 4 5 6 7 |
plugins=(zsh-autosuggestions git) DEFAULT_USER=... POWERLEVEL9K_SHORTEN_DIR_LENGTH=2 source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh |
List of embedded plugins: https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins Custom plugins are installed here — ~/.oh-my-zsh/custom/plugins (actually, $ZSH_CUSTOM/plugins). Like this:
1 |
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions |
Spectacle for fullscreen apps on mac
It can make your app fullscreen and also manage your apps positioning. http://www.spectacleapp.com/ You could also try http://magnet.crowdcafe.com/ Now they suggest to use https://rectangleapp.com/ instead of spectacular.
Webstorm deployment is not working on modern mac and IPv6
First of all, get all interfaces:
1 2 3 |
networksetup -listallhardwareports # or ifconfig |
Possible solutions: 1. It’s working but you should do it after every login to your mac:
1 |
sudo ifconfig en7 down # you should check what interface inactivation works for you |
2. In webstorm: Help → Edit custom VM options
1 2 |
-Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true |
Help → Edit custom properties
1 |
deployment.macOs.bannedInterfaces=awdl0,utun0,utun1,utun2,utun3 |
You should also check what interfaces work for you.
Proxies and traffic sniffers for mac os
That’s a great one but it’s not cheap — https://www.charlesproxy.com/. They say this one is good as well and free — https://mitmproxy.org/. But I don’t like the interface.
Ограничение скорости интернет в Mac OS
Shaper (шейпер) интернета для мака. Зайти в Apple’s Download Center и поискать «Hardware IO». Скачать, там найти Network Link Conditioner. Вот как с ним работать — http://nshipster.com/network-link-conditioner/.
Установка и использование tmux
Устанавливаем отсюда — https://tmux.github.io/. Попутно ставим iTerm — https://www.iterm2.com/. Запуск:
1 |
tmux attach || tmux new |
Переключение на приложение по хоткею в MacOs
Удобное приложение для того, чтобы сразу переключиться на нужное открытое приложение вместо использования cmd+tab http://www.apptivateapp.com/. Здесь ещё целый список подобных: http://apple.stackexchange.com/questions/20010/can-i-create-a-shortcut-to-open-a-specific-application-on-os-x Но это бесплатное и удобное.
Настройки клавиатуры в iTerm
Чтобы включить нормальные перемещения по словам и тп: Go to iTerm Preferences → Profiles, select your profile, then the Keys tab. Click Load Preset… and choose Natural Text Editing.
Приложение для максимизации окон в MacOs
При нажатии комбинации кнопок делает с текущим окном всякое, в том числе «максимизирует», прижимает на полэкрана влево/вправо/вверх/вниз. http://spectacleapp.com/