Skip to content

Instantly share code, notes, and snippets.

:octocat:
Working from home

Koji Ishimoto t32k

:octocat:
Working from home
Block or report user

Report or block t32k

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mkamakura
mkamakura / firebase.json
Created Dec 17, 2017
[Firebase Hosting,Functions] basic認証付きでサイトを公開する
View firebase.json
{
"hosting": {
"public": "public",
"rewrites": [
{
"source": "**",
"function": "app"
}
],
"redirects": [{
@jthegedus
jthegedus / CF4F-express|functionsES6|index-03.js
Last active Mar 4, 2019
Cloud Functions for Firebase - Express example 3/3 - using CORS and automatically appending a trailing slash
View CF4F-express|functionsES6|index-03.js
const functions = require("firebase-functions")
const cors = require("cors")
const express = require("express")
/* Express with CORS & automatic trailing '/' solution */
const app3 = express()
app3.use(cors({ origin: true }))
app3.get("*", (request, response) => {
response.send(
"Hello from Express on Firebase with CORS! No trailing '/' required!"
@ericclemmons
ericclemmons / example.md
Last active Mar 21, 2020
HTML5 <details> in GitHub
View example.md

Using <details> in GitHub

Suppose you're opening an issue and there's a lot noisey logs that may be useful.

Rather than wrecking readability, wrap it in a <details> tag!

<details>
 <summary>Summary Goes Here</summary>
@azu
azu / Reactの入門方法.md
Created Aug 17, 2015
Reactの入門方法(個人の感想
View Reactの入門方法.md

Reactの入門方法

@danharper
danharper / gulpfile.js
Last active Mar 22, 2020
New ES6 project with Babel, Browserify & Gulp
View gulpfile.js
var gulp = require('gulp');
var sourcemaps = require('gulp-sourcemaps');
var source = require('vinyl-source-stream');
var buffer = require('vinyl-buffer');
var browserify = require('browserify');
var watchify = require('watchify');
var babel = require('babelify');
function compile(watch) {
var bundler = watchify(browserify('./src/index.js', { debug: true }).transform(babel));
@takahashim
takahashim / gist:ca5909eb26d921532661
Last active Aug 29, 2015
技術解説書向け用字用語(案)
View gist:ca5909eb26d921532661
# 原則として開く用語。修正前→修正後
敢えて→あえて
当たって→あたって
余り→あまり
予め→あらかじめ
有り→あり
或いは→あるいは
如何→いかが
幾つか→いくつか
致し→いたし
View trello-css-guide.md

Hello, visitors! If you want an updated version of this styleguide in repo form with tons of real-life examples… check out Trellisheets! https://github.com/trello/trellisheets


Trello CSS Guide

“I perfectly understand our CSS. I never have any issues with cascading rules. I never have to use !important or inline styles. Even though somebody else wrote this bit of CSS, I know exactly how it works and how to extend it. Fixes are easy! I have a hard time breaking our CSS. I know exactly where to put new CSS. We use all of our CSS and it’s pretty small overall. When I delete a template, I know the exact corresponding CSS file and I can delete it all at once. Nothing gets left behind.”

You often hear updog saying stuff like this. Who’s updog? Not much, who is up with you?

@koyopro
koyopro / amazon-calc.js
Last active Mar 27, 2020 — forked from polamjag/amazon-calc.js
Amazonで一年間に使った金額と、注文履歴のTSVを出力するブックマークレット【2015年版】
View amazon-calc.js
// Amazonの注文履歴をTSV形式で出力するスクリプト
//
// 2015-01-01 時点での DOM 構造に対応, GoogleCrome, Opera でテスト済。
// formatEntry関数を書き換えれば自由な書式で出力できます。
//
// 参考:
// - Amazonの注文履歴をCSV形式にして出力するスクリプト
// https://gist.github.com/arcatdmz/8500521
// - Amazon で使った金額の合計を出す奴 (2014 年バージョン)
// https://gist.github.com/polamjag/866a8af775c44b3c1a6d
View designing-the-future-with-progressive-enhancement.md

プログレッシブ・エンハンスメントで未来をデザインする

この記事はFrontrend Advent Calendar 2014 - Qiita 10日目の記事です。

プログレッシブ・エンハンスメントは単にJavaScriptをオフにしているユーザのサポートをするか、否かという意味ではありません。
(ちなみに、Gov.ukによると1.1%のユーザはJavaScriptを利用していない、もしくは利用できないという調査結果となっています)
もちろん、古いブラウザに対するアプローチだけでもありません。

デスクトップ、ラップトップ、スマートフォンやタブレット、そしてスマートウォッチなど、今では多くのデバイスにブラウザが搭載されています。

@lrytz
lrytz / z-automator.png
Last active Feb 17, 2020
Shortcut for Syntax Highlighting in Keynote
View z-automator.png
You can’t perform that action at this time.