Skip to content

Instantly share code, notes, and snippets.

View shinoshu's full-sized avatar
🍓
ねこちゃん

Shinozaki Shuma shinoshu

🍓
ねこちゃん
  • ねこちゃん
  • Tokyo, Japan
View GitHub Profile

この PR の種類

この PR がもたらす変更について当てはまる項目をチェックする(複数選択可)

  • feat: 機能追加
  • fix: バグ修正
  • docs: ドキュメントの変更(例: README.md やその他のドキュメントファイルなど)
  • style: フォーマットの変更(コードの動作に影響しない内容: 空白文字、フォーマット、セミコロンなど)
save-exact=true
<div class="container">
<header>
<!-- ここにヘッダコンテンツ -->
</header>
<main>
<!-- ここにメインコンテンツ -->
</main>
<footer>
<!-- ここにフッターコンテンツ -->
</footer>
* {
box-sizing: border-box;
}
html {
height: 100%;
width: 100%;
font-family: sans-serif;
background: #333;
}
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';
import { AngularFireAuth } from '@angular/fire/auth';
import { auth } from 'firebase/app';
declare var gapi: any;
@Injectable({
providedIn: 'root'
})
{
"trailingComma": "es5",
"tabWidth": 4,
"semi": false,
"singleQuote": true
}
@shinoshu
shinoshu / settings.yml
Created December 20, 2019 15:27
github-nippou settings
format:
subject: '### %{subject}'
line: '* [%{title}](%{url}) by @[%{user}](https://github.com/%{user}) %{status}'
dictionary:
status:
merged: '**merged!**'
closed: '**closed!**'
@shinoshu
shinoshu / index.ts
Last active December 15, 2019 03:17
export * from './material.module';
import { Injectable } from '@angular/core';
import { Overlay } from '@angular/cdk/overlay';
import { ComponentPortal } from '@angular/cdk/portal';
import { MatSpinner } from '@angular/material/progress-spinner';
@Injectable({
providedIn: 'root'
})
export class ProgressSpinnerService {
overlayRef = this.overlay.create({
(async () => {
let i = 0;
while (true) {
const hand = document.querySelectorAll('.clap_hand')[i++];
const list = hand.classList;
if (list.contains('is-disable') || list.contains('is-full')) {
continue;
}
await new Promise(r => {
hand.elmFs.mousedown();