npm v3.10 - ◾
npm install -g npm
# Downgrade to a specific version
npm install -g npm@6
| <?php | |
| namespace Authentication\Controller; | |
| use Employee\Model\EmployeeTable; | |
| use Main\Form\LoginForm; | |
| use Zend\Authentication\Adapter\DbTable\CredentialTreatmentAdapter; | |
| use Zend\Authentication\AuthenticationService; | |
| use Zend\Db\Sql\Select; | |
| use Zend\Mvc\Controller\AbstractActionController; |
npm install -g npm
# Downgrade to a specific version
npm install -g npm@6
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)| {- Implementation of BST (binary search tree) | |
| Script is absolutly free/libre, but with no guarantee. | |
| Author: Ondrej Profant -} | |
| import qualified Data.List | |
| {- DEF data structure -} | |
| data (Ord a, Eq a) => Tree a = Nil | Node (Tree a) a (Tree a) | |
| deriving Show |