Codex: http://codex.wordpress.org/Function_Reference/add_menu_page
Available Dashicons: https://developer.wordpress.org/resource/dashicons/
| // An autoresize directive that works with ion-textarea in Ionic 2 | |
| // Usage example: <ion-textarea autoresize [(ngModel)]="body"></ion-textarea> | |
| // Usage example: <ion-textarea autoresize="100" [(ngModel)]="body"></ion-textarea> | |
| // Based on https://www.npmjs.com/package/angular2-autosize | |
| import { Directive, HostListener, ElementRef, Input } from "@angular/core"; | |
| @Directive({ | |
| selector: "ion-textarea[autoresize]" // Attribute selector | |
| }) |
| To make Pageant automatically run and load keys at startup: | |
| - Find the location of pageant.exe | |
| - Windows key + R to open the 'run' dialog box | |
| - Type: 'shell:startup' in the dialog box | |
| - Create a shortcut to the pageant.exe and put into this startup folder. |
Codex: http://codex.wordpress.org/Function_Reference/add_menu_page
Available Dashicons: https://developer.wordpress.org/resource/dashicons/
| # Change YOUR_TOKEN to your prerender token | |
| # Change example.com (server_name) to your website url | |
| # Change /path/to/your/root to the correct value | |
| server { | |
| listen 80; | |
| server_name example.com; | |
| root /path/to/your/root; | |
| index index.html; |
| #!/bin/bash | |
| echo "Generating an SSL private key to sign your certificate..." | |
| openssl genrsa -des3 -out myssl.key 1024 | |
| echo "Generating a Certificate Signing Request..." | |
| openssl req -new -key myssl.key -out myssl.csr | |
| echo "Removing passphrase from key (for nginx)..." | |
| cp myssl.key myssl.key.org | |
| openssl rsa -in myssl.key.org -out myssl.key |