This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import cv2 | |
import numpy | |
src = cv2.imread('azu.jpg', 1) | |
dst = numpy.zeros(src.shape, dtype=numpy.uint8) | |
dst = cv2.cvtColor(src, cv2.COLOR_BGR2HSV) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
<link rel="stylesheet" href=""> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
<script> | |
$(function() { | |
$.getJSON( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
<style> | |
* { | |
margin: 0; | |
padding: 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@charset "utf-8"; | |
/* @import "reset.css"; */ | |
body { | |
color: #333; | |
} | |
p { | |
line-height: 1.4; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<title>くるくる</title> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
<style> | |
body { | |
background: #f8f8f8; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#iine').on({ | |
'click': function() { | |
$(this).addClass('iine_animation'); | |
}, | |
'webkitAnimationEnd': function() { | |
$(this).removeClass('iine_animation'); | |
} | |
}); | |
$('#add_sticky').on({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export PATH=/usr/texbin:$PATH | |
export name=$1 | |
if platex $1 ; then | |
platex $1 | |
dvipdfmx ${name%.*} | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
var hex = $('#hex').text(); | |
console.log(hex); | |
var rgb = hex2rgb(hex); | |
console.log(rgb); | |
var hsv = rgb2hsv(rgb); | |
console.log(hsv); | |
var rgb2 = hsv2rgb(hsv); | |
console.log(rgb2); | |
var hex2 = rgb2hex(rgb2); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import url("https://fonts.googleapis.com/css?family=M+PLUS+Rounded+1c:700,900"); | |
body { | |
overflow: hidden; | |
background-color: rgba(0, 0, 0, 0); | |
} | |
yt-live-chat-item-list-renderer #items { | |
overflow: hidden !important; | |
} |