Search This Blog

Saturday, February 25, 2017

git show only staged files

git diff --name-only --cached

--name-only: show only file names
--cached: --cached is a synonym of --staged, so it means the staged and the latest commit that is ommited

https://stackoverflow.com/questions/33610682/git-list-of-staged-files

Saturday, February 18, 2017

Macport synergy

* Server: system with local keyboard and mouse
* Client: system with remote keyboard and mouse
* ~/.synergy.conf or /etc/synergy.conf is for server
* synergys for server
* synergyc for client
* synergyc

* Launch daemon location
/opt/local/etc/LaunchDaemons/org.macports.synergy/org.macports.synergy.plist
* sudo port load synergy launches synergys

* Launch user server daemon
- synergys

* Launch user client daemon
- synergyc

* assistive devices does not trust this process, allow it in system settings.?
- Enable the accessibility of 'Terminal.app' or 'iTerm.app'

###########################################################
# A startup item has been generated that will aid in
# starting synergy with launchd. It is disabled
# by default. Execute the following command to start it,
# and to cause it to launch at startup:
#
# sudo port load synergy
###########################################################

Saturday, February 4, 2017

The IP you're using to send email is not authorized ...

https://support.google.com/mail/answer/10336?p=NotAuthorizedError&visit_id=1-636218740299828291-2666613021&rd=1

Blog Archive