If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"
npm adduser
| # Toggle paused status for running containers | |
| if [[ $(docker ps -q -f status=paused | wc -l) -gt 0 ]]; then docker unpause $(docker ps -q -f status=paused); else docker pause $(docker ps -q -f status=running); fi; |
| /** | |
| * Fill Space Up | |
| * ver 0.1.0 | |
| * | |
| * Repeater to fillup remaining screen space in the line. | |
| * @TD Make it work for row and column, initial alignment of horizontally or vertically | |
| * @TD Make calculations with js, without wrapping elements into div | |
| * |
| <?php | |
| /** | |
| * WordPress Gutenberg gallery block fix to the gallery shortcode. | |
| */ | |
| /** | |
| * Replace Gutenberg gallery block with the gallery shortcode. | |
| * Tested until Gutenberg 2.4 | |
| * |
| /** | |
| * Log Function in es6 | |
| */ | |
| function log() { | |
| var line = Array.prototype.slice | |
| .call(arguments) | |
| .map(function(argument) { | |
| return typeof argument === 'string' ? argument : JSON.stringify(argument); | |
| }) | |
| .join(' '); |
If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"
npm adduser
| import { NgModule } from '@angular/core'; | |
| import { BrowserModule } from '@angular/platform-browser'; | |
| import { SafeHtmlPipe } from "./pipes" | |
| @NgModule({ | |
| declarations: [ | |
| SafeHtmlPipe, |
| import { NgModule } from '@angular/core'; | |
| import { BrowserModule } from '@angular/platform-browser'; | |
| import { AppComponent } from './app.component'; | |
| import { CheckScriptsPipe, SafeHtmlPipe } from "./pipe.safehtml.loadJsURL.ts" | |
| @NgModule({ | |
| declarations: [ |
| /** | |
| * | |
| * @type is typescript | |
| * @td use better logic for every content load | |
| */ | |
| var loadJsURL = function(url) { | |
| var canJsLoad = function(url) { | |
| if (!url) return false; | |
| var scripts = document.getElementsByTagName('script'); |
| <?php | |
| define('DB_HOST', 'localhost'); | |
| define('DB_NAME', 'XXX'); | |
| define('DB_USER', 'XXX'); | |
| define('DB_PASSWORD', 'XXX'); | |
| // Port : 3306 | |
| $messages = array( | |
| 'no_Host' => 'Unable to Connect to "'. DB_HOST.'".', |
Regarding property ordering, I have to disagree that alphabetical is the sensible route. My ordering might seem strange, but the properties are grouped and ordered by relation to one another. Given the following example:
.element {
box-sizing: content-box;
color: blue;
display: block;
font-family: "Open Sans", sans-serif;
font-size: 13px;
font-style: italic;