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
function subSearch(){ | |
var wdayJP = ["日","月","火","水","木","金","土"]; | |
var results = ''; | |
$("#results").html('<img src="./cmsfiles/contents/0000271/271425/loading.gif" /><span style="font-size:80%;padding-left:3px;">検索中..</span>'); | |
var sno = document.getElementById("idNo").value; | |
var filePath = 'none.txt'; | |
if(isNaN(sno)){ | |
$("#results").html("入力された番号に誤りがあります。もう一度番号をお確かめのうえ入力してください。"); |
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
// https://wata.aeoncinema.com/Aem/usr/whistory.do | |
$$('.history_container').map(e => `- ${e.querySelector('h3').textContent.replace(/^\s+/, '').replace(/\s+$/, '')}\n - 鑑賞日: ${e.querySelectorAll('.date > span')[1].textContent}`).reverse().join('\n') |
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
[aria-label*=approval] { | |
background-color: #079e07; | |
color: white !important; | |
font-weight: bold; | |
} | |
[aria-label*="Review required"] { | |
background-color: #ffeb00; | |
color: black !important; | |
font-weight: bold; | |
} |
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
// ==UserScript== | |
// @name Prevent mistake close window | |
// @version 1 | |
// @description prevent command/cttl + w | |
// @author pastak | |
// @match https://*.g.hatena.ne.jp/*/edit | |
// ==/UserScript== | |
(() => { | |
window.addEventListener('beforeunload', event => { |
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
var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName('Sheet1'); | |
var range; | |
function parseURLQuery (url) { | |
var o = {}; | |
var t = url.split('?')[1].split('&'); | |
t.forEach(function (a) { | |
var t = a.split('='); | |
o[t[0]] = t[1] | |
}) |
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
[ | |
{ | |
"name": "酒蔵家", | |
"latitude": 35.004881399999995, | |
"longitude": 135.7630438, | |
"area": "サシ飲み特集", | |
"page": 24, | |
"address": "京都市中京区錦小路通高倉東入中魚屋町499-2F" | |
}, | |
{ |
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
#!/bin/bash | |
set -ue | |
cp /Users/pastak/worktmp/wedpar-namecard/list.txt /Users/pastak/worktmp/wedpar-namecard/list.txt.tmp | |
twurl "/1.1/search/tweets.json?q=%23hitode909memorial" \ | |
| jq .statuses[].entities | grep media_url_https | perl -ne '$_ =~ /"media_url_https": "([^"]+)"/; print "$1\n"' \ | |
>> /Users/pastak/worktmp/wedpar-namecard/list.txt.tmp | |
cat /Users/pastak/worktmp/wedpar-namecard/list.txt.tmp | uniq > /Users/pastak/worktmp/wedpar-namecard/list.txt |
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
otmm | |
yukiucon | |
MiDrill | |
cle_masahiro | |
kidoumuichi | |
eretto_ | |
yuta_753 | |
sunoho | |
nadeshiko0328 | |
nisi_yuichi |