Skip to content

Instantly share code, notes, and snippets.

View king-panda's full-sized avatar

たかだようすけ king-panda

View GitHub Profile
@king-panda
king-panda / jsdoit.css
Created June 10, 2014 18:10
forked: 2014-06-08 1st
* {
margin: 0;
padding: 0;
border: 0;
}
body { background-color: #000; font: 30px sans-serif; text-align:center;overflow:hidden;}
@king-panda
king-panda / jsdoit.css
Created August 18, 2014 04:00
2014-08-18 1st
* {
margin: 0;
padding: 0;
border: 0;
}
body {
background: #fdf;
font: 30px sans-serif;
}
@king-panda
king-panda / backlog.coffee
Last active August 29, 2015 14:17
【Hubot】BacklogからHubotを経由してChatworkに課題の操作を通知 ref: http://qiita.com/kingpanda/items/4de3c40ed615941bbd5f
backlogUrl = 'https://XXXXX.backlog.jp/'
module.exports = (robot) ->
robot.router.post "/room/:room", (req, res) ->
room = req.params.room
body = req.body
console.log 'body type = ' + body.type
@king-panda
king-panda / file0.txt
Last active August 29, 2015 14:20
【CasperJS】Facebookをスクレイピングして近況を投稿してみる ref: http://qiita.com/kingpanda/items/f11cfa9d4e527024d75b
$ npm install -g phantomjs
$ npm install -g casperjs
@king-panda
king-panda / eventFlg
Last active August 29, 2015 14:20
【Unity】WebGLからWebページ側の関数を呼び出す ref: http://qiita.com/kingpanda/items/a08b110c2bc3b1e416f1
var eve = "eve";
function OnMouseDown(){
Application.ExternalCall(eve);
}
@king-panda
king-panda / file1.html
Last active August 29, 2015 14:20
【Unity】Webページ側からWebGLの関数を呼び出す ref: http://qiita.com/kingpanda/items/d678ae888d66b3103931
<center>
<button>スーパー玉出</botton>
</center>
@king-panda
king-panda / bill.json
Last active August 29, 2015 14:20
【Unity】AWSの利用料金をaws cliから取得して、Unity(WebGL)で可視化した ref: http://qiita.com/kingpanda/items/346c96cb70d7dc6c3061
{
"Timestamp": "2015-05-11T01:07:00Z",
"Maximum": 0.13,
"Unit": "None"
}
@king-panda
king-panda / jsdoit.css
Created May 17, 2015 09:18
入力した数値の桁数を表示
*{margin:0;padding:0;}body{font:30px sans-serif;text-align:center;}
@king-panda
king-panda / file0.js
Last active November 16, 2015 18:21
【JS】数値に関連する様々な計算処理メモ ref: http://qiita.com/kingpanda/items/8d95bc3b32057031a3da
/* 数値の桁数を表示 */
var Count = function(e){
var num = e,
digit = 0;
if(num == 0){
return 1;
}else{
while(num !== 0){
@king-panda
king-panda / css
Last active August 29, 2015 14:21
【Sass】配列を@each文でリストとして出力 ref: http://qiita.com/kingpanda/items/f63a536ab76ba9f2f507
ul li:nth-child(1):before {content: "Curtis Wilbur";}
ul li:nth-child(2):before {content: "John S McCain";}
ul li:nth-child(3):before {content: "Fitzgerald";}
ul li:nth-child(4):before {content: "Lassen";}
ul li:nth-child(5):before {content: "McCampbell";}
ul li:nth-child(6):before {content: "Mustin";}