Skip to content

Instantly share code, notes, and snippets.

@robflaherty
robflaherty / gist:1609508
Created January 14, 2012 00:19
ack-sed recursive find/replace
ack -l --print0 "/_asset/" | xargs -0 -n 1 sed -i -e 's/_asset/_assets/g'
@MoOx
MoOx / .flowconfig
Last active July 12, 2018 01:44
flow config webpack adjustements to avoid the "Required module not found" for png, css, svg etcc
# ...
[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'
@jorgecasar
jorgecasar / push-manifest-to-firebase.js
Last active November 13, 2018 09:46
Include Server Push headers in firebase.json from push-manifest.json generated by Polymer Build
#!/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;

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

3行要約

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

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

@inakianduaga
inakianduaga / IWebhook.ts
Created October 29, 2015 22:01
Github webhook events typescript types
/**
* Github Webhook event types
* https://developer.github.com/v3/activity/events/types/
*/
module IWebhook {
interface IUser {
login: string,
id: number,
avatar_url: string,

花火~ 最高な俺たちと糞コードの海

written by mizchi at 小物エンジニアの会.

最高の夏の花火について 花火

自己紹介

@katai5plate
katai5plate / rar.md
Last active April 17, 2020 01:38
react-app-rewired 動作原理メモ

codes

index

  • paths に加え scriptVersion, configOverrides, customScriptsIndex を返す
1. index.js
  2. scripts/utils/path.js
    3. <prj>/package.json から config-overrides-path を取得
    4. <react-scripts>/config/paths.js から paths を取得

start

@koba04
koba04 / api.md
Last active July 19, 2021 10:49
Vue.js note(v0.10.3). not translate. This is draft of https://github.com/koba04/vuejs-book .

API

Class: Vue

  • Vueはvue.jsのコアとなるコンストラクタ
  • インスタンスが作られたときにデータバインディングが開始される
  • オプションを取ることも出来て、DOMやデータやメソッドについて定義出来る
@morygonzalez
morygonzalez / memolist2dayone.rb
Last active December 26, 2021 18:25
memolist.vim のメモを Day One 2 に取り込むやつ / A script to import entries created with memolist.vim to Day One 2. requires rb-dayone.gem
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