Magic words:
psql -U postgresIf run with -E flag, it will describe the underlaying queries of the \ commands (cool for learning!).
Most \d commands support additional param of __schema__.name__ and accept wildcards like *.*
| --- | |
| # first play just check for backups | |
| - hosts: srvA srvB srvC srvD | |
| gather_facts: no | |
| vars: | |
| file: '/etc/not-sync.txt' | |
| vars_prompt: | |
| - name: 'client' | |
| prompt: 'CLIENT' | |
| private: no |
| Verifying that "rodrigovieira.id" is my Blockstack ID. https://onename.com/rodrigovieira |
| history = [] | |
| def happy(number): | |
| next_ = sum(int(n) ** 2 for n in str(number)) | |
| # stop condition | |
| if next_ == 1: | |
| return True |
| #!/bin/bash | |
| #install GATK: https://software.broadinstitute.org/gatk/guide/quickstart | |
| #install Picard: https://broadinstitute.github.io/picard/ , https://github.com/broadinstitute/picard/releases/tag/2.8.1 | |
| project=PVE_Eichh | |
| prefix=/ohta/nicolay.cunha/all_samples_epan | |
| picard=/ohta/nicolay.cunha/apps/picard.jar | |
| gatk=/ohta/nicolay.cunha/apps/gatk/gatk.jar | |
| names=/ohta/nicolay.cunha/all_samples_epan/names1 |
| def filter(**lookup): | |
| for k, v in lookup: | |
| print(k.split('__'), v) |
| version: "3" | |
| services: | |
| # Web service layer | |
| nginx: | |
| image: nginx:1.13 | |
| volumes: | |
| - "./app:/var/www/html" | |
| - "./nginx/nginx.conf:/etc/nginx/nginx.conf" | |
| ports: | |
| - "80:80" |
| CREATE DATABASE `blog`; | |
| USE `blog`; | |
| # Dump of table posts | |
| # ------------------------------------------------------------ | |
| DROP TABLE IF EXISTS `posts`; | |
| CREATE TABLE `posts` ( | |
| `id` int(11) unsigned NOT NULL AUTO_INCREMENT, |
| <?php | |
| // framework/index.php | |
| $input = $_GET['name']; | |
| printf('Hello %s', $input); | |
| <?php | |
| // framework/index.php | |
| $input = isset($_GET['name']) ? $_GET['name'] : 'World'; | |
| printf("Hello %s", $input); | |