噩浃特灴縰ㄡᫎ줬㋭䀎ᗆꎩ莢棼╩삟㈠껾�튇컈
これでL.Control.Opacityは使える
//MIERUNE MONO
const m_mono = new L.tileLayer("https://tile.mierune.co.jp/mierune_mono/{z}/{x}/{y}.png", {
attribution: "Maptiles by <a href='http://mierune.co.jp/' target='_blank'>MIERUNE</a>, under CC BY. Data by <a href='http://osm.org/copyright' target='_blank'>OpenStreetMap</a> contributors, under ODbL."
});
m_mono.addTo(map);
L.control.opacity(m_mono, {label: "mierune mono"});2020/06/05
タイムズの駐車場検索(https://times-info.net/)の検索結果からあるエリアの駐車場一覧を取得する。
検索結果画面でブラウザの開発メニューを開き、コンソールに以下のjavascriptコードを入力すると、駐車場の名前、駐車可能台数、時間別の料金、詳細ページへのリンクがまとまったjsonデータが出力される。
var parkings = [];
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 $ = (id) => { | |
| return document.getElementById(id); | |
| } |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| convert -size 90x90 xc:None -stroke None -fill Blue -draw "path 'M 0,0 0,90 30,60 Z'" -fill Red -draw "path 'M 0,90 90,90 30,60 Z'" -fill Green -draw "path 'M 90,90 0,0 30,60 Z'" \( +clone -flip -flop \) -composite +clone +append +clone -append +clone +append +clone -append +clone +append +clone -append show: |
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
| /* generateRandomColorcode.js */ | |
| function generateRandomColorcode() { | |
| var str = ""; | |
| for (var i = 0; i < 6; i++) { | |
| str = str + Math.round(Math.random()*15).toString(16); | |
| } | |
| return "#" + str | |
| } |
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
| #!/usr/bin/env lua | |
| function calcPi(m) | |
| local count = 0 | |
| for i = 1, m do | |
| x, y = math.random(), math.random() | |
| if x^2 + y^2 < 1 then | |
| count = count + 1 | |
| end | |
| end |
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
| echo "よいお年を" | sed 's/./&\n/g' | xargs -I@ convert -size 100x100 xc:White -fill Black -font "Takao明朝" -pointsize 100 -gravity Center -draw 'text 0,0 "@"' ubrl: | grep -v : > yoi_otoshi_wo.txt |