Skip to content

Instantly share code, notes, and snippets.

HIRAKI Satoru Layzie

Block or report user

Report or block Layzie

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
View webrtc_conference_2016.org

WebRTC Conference 2016

Value-Added Services and WebRTC

Dialogic

  • Cloudベースのネットワークやアプリを作ってる

WebRTCはVoIPと同じ特徴がある

  • 同期的なイベント
  • 革新的なテクノロジー
  • コミュニケーションの進化

WebRTCの現在の状態

  • 現状は普及期
View clojure_install.md

Clojure & Spacemacs on Mac OS

install

$ brew install leiningen
$ brew install boot-clj
$ vi ~/.boot/profile.boot
$ vi ~/.lein/profiles.clj
@Layzie
Layzie / _sprite.scss
Created Dec 11, 2015
Railsアプリでsprite-factoryを使ってRetina対応したい気持ち ref: http://qiita.com/Layzie/items/d4268b8d76d668d3f232
View _sprite.scss
.ico-hoge-sp {
background-image: image-url('sprite@2.png');
width: 109px;
height: 29px;
background-position: 0px -103px;
background-repeat: no-repeat;
background-size: 322px auto;
}
@Layzie
Layzie / chrome-tech-night-8.md
Last active Aug 29, 2015
Chrome Tech Night #8 メモ
View chrome-tech-night-8.md
@Layzie
Layzie / file0.vim
Created Feb 6, 2015
indentLineがそこまでイケてなかったのに気付いた ref: http://qiita.com/Layzie/items/a1c8d14bccb14c02eb1b
View file0.vim
let g:indent_guides_enable_on_vim_startup = 1
let g:indent_guides_start_level = 2
let g:indent_guides_guide_size = 1
let g:indent_guides_exclude_filetypes = ['help', 'nerdtree', 'tagbar', 'unite']
@Layzie
Layzie / 2014-11-15-node-fest2014.md
Last active Aug 29, 2015
Node学園祭2014メモ
View 2014-11-15-node-fest2014.md

Node学園祭2014

基調講演

ファイルアップロードについて

アップロードの歴史

  • HTTPはあんまりアップロードのこと考えてない
  • FTPはいまはあんまり使われてないけど、前は使われてた
View git-feature-start.sh
#!/bin/bash
#
# git-feature-start - Git リポジトリディレクトリで、指定したブランチ名でブランチを作成し、合わせてリモートブランチも作成するコマンド
#
pushd `dirname $0` >/dev/null 2>&1
[ $? -eq 1 ] && exit 1
__script_dir=`pwd`
popd >/dev/null 2>&1
__base_dir=`dirname ${__script_dir}`
@Layzie
Layzie / backbone.diff
Created Dec 17, 2013
`beforeSend` was changed at Zepto1.1.1. So `Backbone.sync` is now broken. This patch will fix, maybe. see https://github.com/madrobby/zepto/issues/878
View backbone.diff
diff --git a/backbone.js b/backbone.js
index 2171292..fd83e56 100644
--- a/backbone.js
+++ b/backbone.js
@@ -1162,8 +1162,12 @@
params.type = 'POST';
if (options.emulateJSON) params.data._method = type;
var beforeSend = options.beforeSend;
- options.beforeSend = function(xhr) {
- xhr.setRequestHeader('X-HTTP-Method-Override', type);
@Layzie
Layzie / 2013-10-29-google_tech_night.md
Created Oct 29, 2013
Google Tech Talk Night vol.6
View 2013-10-29-google_tech_night.md

Polymer

Web Components

  • add custom tags
  • add function to native tag
  • hard to maintain
  • shadow DOM

Parts

@Layzie
Layzie / index.js
Last active Dec 25, 2015
follow SassConf speakers
View index.js
#!/usr/bin/env node
// vim: set tabstop=2 shiftwidth=2 softtabstop=2 expandtab :
/* jshint indent:2 */
/* global require */
var scraper = require('scraper'),
GitHubApi = require('github'),
usersId = [], github;
scraper('http://sassconf.com/schedule/', function (err, $) {
You can’t perform that action at this time.