This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Convert { | |
execute(val) { | |
const | |
codes = []; | |
const | |
quotes = []; | |
const | |
paragraphs = []; | |
const | |
textLevelSemanticsCheck = (content) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { NgModule } from '@angular/core'; | |
import 'reflect-metadata'; | |
export class DepManager { | |
static requiredProps = ['declarations', 'imports']; | |
static setDeps(component: Object, deps: NgModule): void { | |
Reflect.defineMetadata('deps', deps, component); | |
} | |
static getDeps(component: Object): NgModule { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
branches: | |
only: | |
- master | |
- stage | |
- develop | |
addons: | |
artifacts: | |
s3_region: "ap-northeast-1" | |
paths: | |
- $TRAVIS_BRANCH.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version":"2012-10-17", | |
"Statement":[ | |
{ | |
"Effect":"Allow", | |
"Action":[ | |
"elasticloadbalancing:RegisterTargets", | |
"elasticloadbalancing:DeregisterTargets", | |
"elasticloadbalancing:DescribeTargetHealth" | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
browserSync({ | |
port: 3006, | |
・・・ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error Invalid subcommand. Try "ls, generateDisclaimer" | |
info Visit https://yarnpkg.com/en/docs/cli/licenses for documentation about this command. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let ar = [10, 20, 30]; | |
for(let i = 0; i < ar.length; i++) { | |
console.log(ar[i]) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
App::uses('Post', 'Model'); | |
class PostService extends Object | |
{ | |
function get($id) | |
{ | |
$Post = ClassRegistry::init("Post"); | |
return $Post->findById($id); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
App::uses('Post', 'Model'); | |
class PostService extends Object | |
{ | |
function get($id) | |
{ | |
$Post = ClassRegistry::init("Post"); | |
return $Post->findById($id); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker pull perconalab/myrocks |
NewerOlder