This file contains hidden or 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
// MIT License (c) http://github.com/esnya | |
Shader "Unlit/WorldNormal" | |
{ | |
Properties | |
{ | |
_MainTex ("Texture", 2D) = "white" {} | |
_BumpMap ("Texture", 2D) = "bump" {} | |
_BumpScale ("Normal Scale", Range(0, 1)) = 1.0 | |
_MixFactor ("Mix Factor", Range(0, 1)) = 1 |
This file contains hidden or 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
extends: | |
- typescript | |
- typescript/react | |
- typescript/prettier | |
- typescript/prettier-react | |
rules: | |
prettier/prettier: | |
- error | |
- singleQuote: true | |
trailingComma: all |
This file contains hidden or 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 { firestore } from 'firebase/app'; | |
export type FieldPath = firestore.FieldPath; | |
export type FirestoreError = firestore.FirestoreError; | |
export type GetOptions = firestore.GetOptions; | |
export type OrderByDirection = firestore.OrderByDirection; | |
export type SetOptions = firestore.SetOptions; | |
export type SnapshotListenOptions = firestore.SnapshotListenOptions; | |
export type SnapshotOptions = firestore.SnapshotOptions; |
This file contains hidden or 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 info.nekometer.ukatama.scala | |
object dice { | |
import scala.util.Random | |
class DiceResult(val sum: Int, val list: Seq[Int]) { | |
override def toString = "DiceResult(" + sum + "," + list + ")" | |
def penalty(i: Int): Int = sum - i | |
def p = penalty(_) |
This file contains hidden or 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 std.algorithm; | |
import std.conv; | |
import std.datetime; | |
import std.exception; | |
import std.stdio; | |
extern(C) int SSL_library_init(); | |
static this() { | |
SSL_library_init(); | |
} |
This file contains hidden or 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
# Nekoproxy ドキュメント化前の覚書 | |
## 機能 | |
- リバースプロキシ | |
- etcdによるLive-Configuration | |
- `routes`を`etcd`に | |
- domain/url based routing | |
- TLS support | |
- マルチテナント | |
- 複数の独立したセッション・認証系 |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Flex Responsive</title> | |
<style> | |
html, body, .container { | |
margin: 0; | |
padding: 0; | |
width: 100%; |
This file contains hidden or 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
console.log('hoge'); | |
syntax error; |
This file contains hidden or 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
'use strict'; | |
/* | |
* syntax-error erroed after eslint executed. | |
* | |
* [email protected] | |
* [email protected] | |
* [email protected] | |
*/ |
This file contains hidden or 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 hoge = null; | |
const getHoge = () => hoge | |
? Promise.resolve(hoge) | |
: new Promise((resolve, reject) => { | |
someAsnycWork((data) => { | |
hoge = data; | |
resolve(data); | |
}) | |
}); |