- Semantic Versioning
- [Major].[Minor].[Patch]
- major: incompatible change
- minor: add functionality, backwards-compatible
- patch: bug fixes. backwards-compatible
- ~
🌞 Morning 13 commits █▋░░░░░░░░░░░░░░░░░░░ 7.9% | |
🌆 Daytime 65 commits ████████▎░░░░░░░░░░░░ 39.6% | |
🌃 Evening 56 commits ███████▏░░░░░░░░░░░░░ 34.1% | |
🌙 Night 30 commits ███▊░░░░░░░░░░░░░░░░░ 18.3% |
# Version key/value should be on his own line | |
PACKAGE_VERSION=$(cat package.json \ | |
| grep version \ | |
| head -1 \ | |
| awk -F: '{ print $2 }' \ | |
| sed 's/[",]//g') | |
echo $PACKAGE_VERSION |
import { Injectable } from '@angular/core'; | |
import 'intersection-observer'; | |
declare global { | |
interface Window { | |
IntersectionObserver: IntersectionObserver; | |
} | |
} | |
const defaults = { |
import { Pipe, PipeTransform } from '@angular/core'; | |
@Pipe({ | |
name: 'replaceCurly' | |
}) | |
export class ReplaceCurlyPipe implements PipeTransform { | |
transform(value: string): string { | |
const regex = /\{\{([^\{].*?)\}\}/g; | |
if (value) { | |
return value.replace(regex, `<span>$1</span>`); |
var parser = document.createElement('a'); | |
parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
parser.protocol; // => "http:" | |
parser.hostname; // => "example.com" | |
parser.port; // => "3000" | |
parser.pathname; // => "/pathname/" | |
parser.search; // => "?search=test" | |
parser.hash; // => "#hash" | |
parser.host; // => "example.com:3000" |
Atom sync-settings |
//micro-clearfix.scss 모듈 호출 | |
@import "micro-clearfix"; | |
#page { | |
nav ul.navi, .article{ | |
@extend %clearfix; | |
} | |
} |