This file contains hidden or 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
| const SvgNS = 'http://www.w3.org/2000/svg'; | |
| const init = () => { | |
| let g = document.getElementById('SVG'); | |
| g.appendChild( noisyBubble(200, 200, 200, 100) ); | |
| }; | |
| // 標準でzipWith関数ほしい | |
| const zipWith = (l1, l2) => | |
| Array(Math.max(l1.length, l2.length)) |
This file contains hidden or 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'> | |
| <style> | |
| div{margin: 1em;} | |
| select{padding: 1em;} | |
| </style> | |
| <script src='combos.js'></script> | |
| </head> |
This file contains hidden or 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'> | |
| <style> | |
| .card { | |
| width: 80px; | |
| height: 80px; | |
| background: #616161; | |
| border-radius: 4px; |
This file contains hidden or 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> | |
| <head> | |
| <meta charset='UTF-8'> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> | |
| <script> | |
| let onToggled = function(target) { | |
| let f = function(e){ | |
| let cls = $(e.target).find(':selected').data('class'); | |
| $(target).val(null); |
This file contains hidden or 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
| list = [[0, 1, 2],[3, 4, 5], [6, 7, 8]] | |
| def vsearch(num, col): | |
| return num in [list[x][col] for x in range(len(list[0]))] | |