Skip to content

Instantly share code, notes, and snippets.

View TakuyaAbe's full-sized avatar
🍞
bread on the road

Takuya Abe TakuyaAbe

🍞
bread on the road
View GitHub Profile
@TakuyaAbe
TakuyaAbe / DUMMY-S3.ts
Last active March 23, 2018 09:36
fake-backend module based on angular-5-mock-backend-example-for-backendless-development
// http://jasonwatmore.com/post/2017/12/15/angular-5-mock-backend-example-for-backendless-development
import { Injectable } from '@angular/core';
import { HttpRequest, HTTP_INTERCEPTORS } from '@angular/common/http';
import { LoggerService } from 'src/libs/logger/src/logger.module';
import { FakeBackendInterceptorBase } from 'src/app/fake-backends/fake-backend-base';
import { getApiPathFromId } from 'src/app/utils/utils';
@Injectable()
export class FakeBackendInterceptor extends FakeBackendInterceptorBase {
@TakuyaAbe
TakuyaAbe / gist:1ee74e48f59d84b89a08725bb2f9dc0c
Created August 21, 2017 12:32
よく使う技術英語
http://type.jp/et/log/article/english-tips16
@TakuyaAbe
TakuyaAbe / file0.html
Last active June 3, 2017 13:30
フォームバリデーションライブラリParsley.jsでリアルタイムバリデーションを行う ref: http://qiita.com/_-_-_/items/74372058087b965764ba
<form data-parsley-validate>
<input type="text" required placeholder="テキストを入力してください" data-parsley-trigger="keyup focusout change input">
<input type="email" required placeholder="メールアドレスを入力してください" data-parsley-trigger="keyup focusout change input">
<button type="submit">submit</button>
</form>
@TakuyaAbe
TakuyaAbe / _breadcrumb.jade
Last active April 13, 2016 06:49
jade-snippets
mixin breadcrumb(list)
ol.breadcrumb(itemscope itemtype="http://schema.org/BreadcrumbList")
- for(label in list) {
- if(list[label] === "") {
li(itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem")
span(itemprop="name") !{label}
- } else {
li(itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem")
a.js-hover(href="#{list[label]}" itemprop="item")
span(itemprop="name") !{label}

Atom の設定を sync-settings で共有します。