Skip to content

Instantly share code, notes, and snippets.

View muryoimpl's full-sized avatar
🏠
Working from home

Ken Muryoi muryoimpl

🏠
Working from home
View GitHub Profile
@muryoimpl
muryoimpl / app_memo_slidez.mkd
Created July 1, 2012 17:22
Gkjo用のメモ。

Gkjo(仮) メモ

  • ローカルhtmlをサムネイル表示する
  • プレゼンテーションスライドのサイズ
    • 1600x1200くらいみたい(参考:RubyKaigi2011 壁紙(スライド用))
    • keynote2のデフォサイズは800x600 or 1024x768。1.3333…:1 の模様。
  • テンプレートの指定をどうするか?
@muryoimpl
muryoimpl / gist:4752813
Last active December 12, 2015 09:38
unite.vim 別ディレクトリにあるファイルを開くと、水平分割、高さ一行のバッファで開いてしまう。
###### 前提 ######
# vimrc に 以下の記載をしています。
# nnoremap <silent> ,uf :<C-u>UniteWithBufferDir -buffer-name=files file<CR>
# UniteWithBufferDir -buffer-name=files file は「,uf」で実行しています。
##### 再現手順 ####
$ cd work/hoge
$ vim Gemfile
~ 以下、vim内 ~
@muryoimpl
muryoimpl / config.log
Created February 21, 2013 13:36
mroonga を homebrew で install. % brew install https://raw.github.com/mroonga/homebrew/master/mroonga.rb --use-homebrew-mysql
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by mroonga configure 3.00, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/usr/local/Cellar/mroonga/3.00 --with-mysql-source=/private/tmp/mysql-xRjd/mysql-5.6.10 --with-mysql-config=/usr/local/Cellar/mysql/5.6.10/bin/mysql_config
## --------- ##
## Platform. ##
[2013/02/21 22:45]% brew install https://raw.github.com/mroonga/homebrew/master/mroonga.rb --use-homebrew-mysql
######################################################################## 100.0%
==> Installing mroonga dependency: mysql
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/mysql-5.6.10.mountain_lion.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/mysql-5.6.10.mountain_lion.bottle.tar.gz
==> Pouring mysql-5.6.10.mountain_lion.bottle.tar.gz
==> Caveats
Set up databases to run AS YOUR USER ACCOUNT with:
unset TMPDIR
mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp
var webpack = require('webpack');
var path = require('path');
var assetsPath = path.join(__dirname, 'app', 'assets', 'client');
module.exports = {
// the base path which will be used to resolve entry points
context: __dirname,
// the main entry point for our application's frontend js
entry: {
@muryoimpl
muryoimpl / conf.js
Last active August 5, 2020 04:39
A configuration file of protractor for my Electron App
/*global browser*/
require('babel-register')({
presets: ['es2015', 'stage-0', 'stage-1', 'react'],
plugins: ['babel-plugin-espower'],
only: /e2e/,
extensions: ['.js']
});
exports.config = {
chromeDriver: './node_modules/protractor/selenium/chromedriver',
@muryoimpl
muryoimpl / showHome.e2e.js
Created January 6, 2016 16:36
e2e test(using protractor)
/*global element, by*/
const assert = require('power-assert');
describe('show Home', () => {
it('should show "こんにちは"', () => {
element(by.className('title')).getText().then((title) => {
assert.equal(title, 'こんにちは');
});
});
});
@muryoimpl
muryoimpl / 0_reuse_code.js
Created September 25, 2016 16:29
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@muryoimpl
muryoimpl / muryoimpl_position_paper.md
Created September 29, 2018 12:01
My position paper for Kanazawa.rb

Personal

  • Name :
    • 無量井 健
  • HN :
    • muryoimpl
  • Twitter :
    • muryoimpl
  • Facebook :
    • muryoimpl
@muryoimpl
muryoimpl / gist:bbffb14632dcf8dad2252ef0cb2fd712
Created January 19, 2020 04:21
Kanazawa.js 自己紹介(仮)
## Personal
- Name :
- むりょうい けん
- HN :
- muryoimpl
- Twitter :
- muryoimpl
## Work