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
FROM mysql:5.5.47 | |
# MySQLをrootで実行する設定に書き換える | |
RUN sed -e 's/^ *user *= *mysql$/user = root/' -i /etc/mysql/my.cnf |
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
package com.github.kazuma1989.dec10_2016.common; | |
public class Constant { | |
public static final String NAME = "common"; | |
} |
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 { BrowserModule } from '@angular/platform-browser'; | |
import { NgModule } from '@angular/core'; | |
import { ReactiveFormsModule } from '@angular/forms'; | |
import { AppRoutingModule } from './app-routing.module'; | |
import { AppComponent } from './app.component'; | |
import { UploadComponent } from './upload/upload.component'; | |
@NgModule({ | |
declarations: [ |
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 { Routes, RouterModule } from '@angular/router'; | |
import { FooComponent } from 'app/foo/foo.component'; | |
import { BarComponent } from 'app/bar/bar.component'; | |
import { AuthGuard } from 'app/guard/auth.guard'; | |
import { PubComponent } from 'app/pub/pub.component'; | |
import { NotFoundComponent } from 'app/not-found/not-found.component'; | |
const routes: Routes = [ | |
{ |
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 { Component, OnInit } from '@angular/core'; | |
import { ViewChild } from '@angular/core'; | |
import { ElementRef } from '@angular/core'; | |
import { ArrayBuffer } from 'spark-md5'; | |
import { DomSanitizer, SafeUrl } from '@angular/platform-browser'; | |
@Component({ | |
selector: 'app-bar', | |
template: ` | |
<div> |
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
<% if(components.length) { %> | |
<nav> | |
<h2 class="aigis-module__heading">Components</h2> | |
<ul class="aigis-moduleList"><% components.forEach(function(component) { %> | |
<li class="aigis-moduleList__item"> | |
<a href="#<%- component.config.name %>"><%- component.config.name %></a> | |
</li><% }) %> | |
</ul> | |
</nav> | |
<div><% components.forEach(function(component) { %> |
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 { Injectable, ErrorHandler, NgZone } from '@angular/core'; | |
import { MessageService } from '../../service/message/message.service'; | |
@Injectable() | |
export class ErrorHandlerService implements ErrorHandler { | |
constructor( | |
private message: MessageService, | |
private zone: NgZone, | |
) { } |
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 React, { Component } from 'react'; | |
import { FormApp } from './FormApp'; | |
class App extends Component { | |
render() { | |
return ( | |
<FormApp /> | |
); | |
} | |
} |
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
{ | |
"name": "raw-hbs", | |
"version": "1.0.0", | |
"main": "index.js", | |
"author": "kazuma1989 <funifuni.1204@gmail.com>", | |
"license": "MIT", | |
"scripts": { | |
"start": "webpack-dev-server", | |
"build": "cross-env NODE_ENV=production webpack" | |
}, |
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
# Node.js Sample for AWS Cloud9 - AWS Cloud9 | |
# https://docs.aws.amazon.com/cloud9/latest/user-guide/sample-nodejs.html#sample-nodejs-install | |
nvm install node | |
nvm alias default v9.5.0 | |
# Installation | Yarn | |
# https://yarnpkg.com/en/docs/install#linux-tab | |
# CentOS / Fedora / RHEL | |
sudo wget https://dl.yarnpkg.com/rpm/yarn.repo -O /etc/yum.repos.d/yarn.repo | |
sudo yum install -y yarn |
OlderNewer