Skip to content

Instantly share code, notes, and snippets.

Kohei Hasegawa banyan

Block or report user

Report or block banyan

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
@atsunoda
atsunoda / text_injection.md
Last active Mar 22, 2019
脆弱性報奨金制度で認定されづらいテキストインジェクション
View text_injection.md
View 2018-04-ujihisa-fablic.md

2018年4月でもって株式会社Fablicを退職します

3行要約

  • 2017-01 〜 2018-04までの1年ちょい、Fablic社でFRIL開発してたよ
  • そこでの体験は最高だったよ
  • 来年Vancouverに戻るまでの間の予定は現時点で未定だよ

これまで何をやってきたか

@bissy
bissy / android-default-browser.js
Created Oct 18, 2017
useragentを使ってAndroid標準ブラウザ判定
View android-default-browser.js
var ua = navigator.userAgent;
if ((/Android/.test(ua) && /Linux; U;/.test(ua) && !/Chrome/.test(ua)) ||
(/Android/.test(ua) && /Chrome/.test(ua) && /Version/.test(ua)) ||
(/Android/.test(ua) && /Chrome/.test(ua) && /SamsungBrowser/.test(ua))) {
// Android標準ブラウザだったときの処理
$('html').addClass('android-default');
}
@jorgecasar
jorgecasar / push-manifest-to-firebase.js
Last active Nov 13, 2018
Include Server Push headers in firebase.json from push-manifest.json generated by Polymer Build
View push-manifest-to-firebase.js
#!/usr/bin/env node
const fs = require("fs");
const path = require("path");
const util = require('util');
const readFile = util.promisify(fs.readFile);
const writeFile = util.promisify(fs.writeFile);
function throwError(err) {
throw err;
@jtanx
jtanx / keybindings.json
Created Apr 23, 2017
Visual Studio Code disable MRU tab switching
View keybindings.json
[
{
"key": "ctrl+shift+tab",
"command": "workbench.action.previousEditor"
},
{
"key": "ctrl+tab",
"command": "workbench.action.nextEditor"
}
]
@MoOx
MoOx / .flowconfig
Last active Jul 12, 2018
flow config webpack adjustements to avoid the "Required module not found" for png, css, svg etcc
View .flowconfig
# ...
[options]
# webpack loaders
module.name_mapper='.*\.css$' -> '<PROJECT_ROOT>/flow/stub/css-modules.js'
module.name_mapper='.*\.\(svg\|png\|jpg\|gif\)$' -> '<PROJECT_ROOT>/flow/stub/url-loader.js'
@morygonzalez
morygonzalez / memolist2dayone.rb
Last active Jun 3, 2016
memolist.vim のメモを Day One 2 に取り込むやつ / A script to import entries created with memolist.vim to Day One 2. requires rb-dayone.gem
View memolist2dayone.rb
require 'rb-dayone'
require 'optparse'
require 'json'
dry_run = true
journal_location = "#{ENV['HOME']}/Library/Group Containers/5U8NS4GX82.dayoneapp2/Data/Auto Import/Default Journal.dayone"
target_dir = "#{ENV['HOME']}/Dropbox/memolist/"
since = Date.today
exclude = nil
@inakianduaga
inakianduaga / IWebhook.ts
Created Oct 29, 2015
Github webhook events typescript types
View IWebhook.ts
/**
* Github Webhook event types
* https://developer.github.com/v3/activity/events/types/
*/
module IWebhook {
interface IUser {
login: string,
id: number,
avatar_url: string,
@koba04
koba04 / api.md
Last active Oct 28, 2017
Vue.js note(v0.10.3). not translate. This is draft of https://github.com/koba04/vuejs-book .
View api.md

API

Class: Vue

  • Vueはvue.jsのコアとなるコンストラクタ
  • インスタンスが作られたときにデータバインディングが開始される
  • オプションを取ることも出来て、DOMやデータやメソッドについて定義出来る
You can’t perform that action at this time.