Skip to content

Instantly share code, notes, and snippets.

View takustaqu's full-sized avatar

Harada "Yayane" Kiyohide takustaqu

View GitHub Profile
@takustaqu
takustaqu / document.md
Created September 14, 2019 06:22
仕様書です

test

  • lorem
index = ["a","b","c"]
var path = window.location.pathname;
var cardparser = (input) => {
const P = input.split("/");
const F = P[P.length-1];
const A = F.replace(".png","").split("_");
let charName = "";
let rarity = "";
switch(A[0]){
curl -i "http://192.168.3.200/messages"
### SONY TV
#### Power ON/OFF
{"format":"raw","freq":38,"data":[4713,1150,2368,1150,1150,1150,2368,1150,1150,1150,2368,1150,1150,1150,1150,1150,2368,1150,1150,1150,1150,1150,1150,1150,1150,50610,4713,1150,2368,1150,1150,1150,2368,1150,1150,1150,2368,1150,1150,1150,1150,1150,2368,1150,1150,1150,1150,1150,1150,1150,1150,50610,4713,1150,2368,1150,1150,1150,2368,1150,1150,1150,2368,1150,1150,1150,1150,1150,2368,1150,1150,1150,1150,1150,1150,1150,1150,50610,4713,1150,2368,1150,1150,1150,2368,1150,1150,1150,2368,1150,1150,1150,1150,1150,2368,1150,1150,1150,1150,1150,1150,1150,1150]}
#### INPUT
{"format":"raw","freq":38,"data":[4713,1150,2368,1150,1150,1150,2368,1150,1150,1150,1150,1150,2368,1150,1150,1150,2368,1150,1150,1150,1150,1150,1150,1150,1150,50610,4713,1150,2368,1150,1150,1150,2368,1150,1150,1150,1150,1150,2368,1150,1150,1150,2368,1150,1150,1150,1150,1150,1150,1150,1150,50610,4713,1150,2368,1150,1150,1150,2368,1150,1150,1150,1150,1150,2368,1150,1150,1150,2368,1150,
@takustaqu
takustaqu / file0.txt
Last active November 7, 2019 05:44
Amazon Dash Buttonを(正しくない方向で)使ってみた ref: https://qiita.com/takustaqu/items/8539b33780c9675c8657
$ npm init
$ npm install --save dash-button

参戦キャラクター

  • ナノイー
  • プラズマクラスター
  • マイナスイオン
  • トルマリン
  • ゲルマニウム
  • ホメオパシー
  • 水素水
  • EM菌
  • エスパーシール
ほほほほーーい
いえあ。
// IF文
if(IS_APPEAR){
$(this).addClass("appear");
} else {
$(this).removeClass("appear");
}
if(IS_APPEAR_NARROW){
$(this).addClass("current");
@takustaqu
takustaqu / gist:f9b6822afba00347d3c3194f20ec9278
Created June 1, 2016 04:23
スクロールでエフェクト
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
</head>
<body>
@takustaqu
takustaqu / .bash_profile
Last active November 8, 2017 10:03
Macでの開発環境構築をできる限り自動化する。 ref: http://qiita.com/takustaqu/items/a328baf15862faa086ee
if [ -f ~/.bashrc ] ; then
. ~/.bashrc
fi
@takustaqu
takustaqu / file0.html
Last active March 3, 2016 01:18
ぼくのかんがえたさいきょうのGoogle Analyticsマルチトラッキング用読み込みコード ref: http://qiita.com/takustaqu/items/0690c2a9da3331a728e3
<script>
var sites = [['UA-XXXXXXXX-X'],['UA-XXXXXXXX-X','trackB'],['UA-XXXXXXXX-X','trackC']];
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
!function(a){var n=[];a.forEach(function(a){var t=a[1],o=t?{name:t}:{};ga("create",a[0],"auto",o),n.push((t?t+".":"")+"send")}),window.gall=function(){var a,t,o=n,r=arguments;o.forEach(function(n){var o=[n];for(a=0,t=r.length;t>a;a++)o.push(r[a]);ga.apply(this,o)})}}(sites);
gall('pageview');
</script>
<script async src='//www.google-analytics.com/analytics.js'></script>