See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| @echo off | |
| if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b) | |
| @rem *** Disable Some Service *** | |
| sc stop DiagTrack | |
| sc stop diagnosticshub.standardcollector.service | |
| sc stop dmwappushservice | |
| sc stop WMPNetworkSvc | |
| sc stop WSearch |
This guide assumes that you recently run brew upgrade postgresql and discovered to your dismay that you accidentally bumped from one major version to another: say 9.3.x to 9.4.x. Yes, that is a major version bump in PG land.
First let's check something.
brew info postgresqlThe top of what gets printed as a result is the most important:
Magic words:
psql -U postgresSome interesting flags (to see all, use -h or --help depending on your psql version):
-E: will describe the underlaying queries of the \ commands (cool for learning!)-l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)| <#-- dump.ftl | |
| -- | |
| -- Generates tree representations of data model items. | |
| -- | |
| -- Usage: | |
| -- <#import "dump.ftl" as dumper> | |
| -- | |
| -- <#assign foo = something.in["your"].data[0].model /> | |
| -- | |
| -- <@dumper.dump foo /> |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.
Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.
| <#assign locPortletId = "82" /> | |
| <#assign PortletPreferencesFactoryUtil = staticUtil["com.liferay.portlet.PortletPreferencesFactoryUtil"] /> | |
| <#assign portletSetup = PortletPreferencesFactoryUtil.getLayoutPortletSetup(layout, locPortletId) /> | |
| <#if portletSetup.getValue("portletSetupShowBorders", "") != "false" > | |
| <#assign temp = portletSetup.setValue("portletSetupShowBorders", "false") /> | |
| <#assign temp = portletSetup.store() /> | |
| </#if> |