Thursday, April 30, 2020
Monday, April 27, 2020
Friday, April 24, 2020
Thursday, April 23, 2020
Phoenix LiveView - using JS & Charts component
You can tie into JavaScript with hooks: https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.html#module-js-interop-and-client-controlled-dom
and if you want JS charts, check out how the Phoenix Dashboard uses uPlot:
https://github.com/phoenixframework/phoenix_live_dashboard/commit/d887c305f887c4d991f2ee40301a628aa41eb8b0
Here's the charting component: -
https://github.com/phoenixframework/phoenix_live_dashboard/blob/master/assets/js/metrics_live/index.js
and if you want JS charts, check out how the Phoenix Dashboard uses uPlot:
https://github.com/phoenixframework/phoenix_live_dashboard/commit/d887c305f887c4d991f2ee40301a628aa41eb8b0
Here's the charting component: -
https://github.com/phoenixframework/phoenix_live_dashboard/blob/master/assets/js/metrics_live/index.js
Wednesday, April 22, 2020
Tuesday, April 21, 2020
Sunday, April 19, 2020
Postgresql - launch options
Run as a Background service:
To have launchd start postgresql now and restart at login:
brew services start postgresql
Not as a Background service:
Or, if you don't want/need a background service you can just run:
pg_ctl -D /usr/local/var/postgres start
To have launchd start postgresql now and restart at login:
brew services start postgresql
Not as a Background service:
Or, if you don't want/need a background service you can just run:
pg_ctl -D /usr/local/var/postgres start
Saturday, April 18, 2020
Friday, April 17, 2020
Wednesday, April 15, 2020
Tuesday, April 14, 2020
Sunday, April 12, 2020
Friday, April 10, 2020
Difference between Management & Leadership
https://marker.medium.com/companies-dont-need-to-lay-people-off-to-survive-4197a9e57f6c
Excerpt:
Excerpt:
One of the things I’ve learned in my 45 years leading a company is that while Management is about using others for your success, Leadership is about stewarding the lives entrusted to you.