Skip to content

Instantly share code, notes, and snippets.

@MSakamaki
MSakamaki / jsdoit.css
Created October 20, 2014 07:00
2014-10-20 2nd
* {
margin: 0;
padding: 0;
border: 0;
}
body {
background: #ddf;
font: 30px sans-serif;
}
@MSakamaki
MSakamaki / jsdoit.css
Created November 27, 2014 01:45
forked: AngularJS
* {
margin: 0;
padding: 0;
border: 0;
}
body {
background: #dfd;
font: 30px sans-serif;
}
@MSakamaki
MSakamaki / 00_README.md
Last active August 29, 2015 14:10
Firefox add-on Memo
@MSakamaki
MSakamaki / js.js
Created February 7, 2015 15:04
FaceBookMessange MemoTool
(function(){
var id = 'nikukyu';
sessionStorage.setItem(id, JSON.stringify({msg:[]}));
var makebtn = function(){
var btn = document.createElement("button");
btn.innerText = "メモAdd";
btn.onclick=function(e){
var ary = JSON.parse(sessionStorage.getItem(id)).msg;
var msg =e.srcElement.parentElement.querySelector('.clearfix').innerText;
ary.push(msg);
@MSakamaki
MSakamaki / WSconnect.js
Created February 23, 2015 02:42
WebSocket Test
var wsx = new WebSocket('ws://' + location.host);
wsx.onopen = function(e){console.log('onopen',e);};
wsx.onmessage = function(e){console.log('onmessage',e)};
wsx.onclose = function(e){console.log('onclose',e)};
wsx.onerror = function(e){console.log('onerror',e)};
@MSakamaki
MSakamaki / hats.on.01.js
Last active August 29, 2015 14:16
FxOSハンズオン
We couldn’t find that file to show.
@MSakamaki
MSakamaki / 00_README.md
Last active August 29, 2015 14:17
protractor memo

neobundle install

mkdir -p ~/.vim/bundle
git clone git://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim
@MSakamaki
MSakamaki / a.csv
Last active August 29, 2015 14:18
sample.csv
name value
A 100
B 200
C 250
D 300
@MSakamaki
MSakamaki / README.md
Last active August 29, 2015 14:18
Machine Learning