学校に行きたくない小学生に何を言えるのか
遅ればせながら少年革命家ゆたぼんくんについて考えてみました。まだご存じない人はこの辺とか適当に検索をかけていただければと幸いです。
学生時代に学ぶべきは何なのか説明する上で、下の表を使います。
この記事で主張したいのは、横軸のdo(行動)とthink(思考)についてです。inとoutは半分ノリでつけました。
学校で勉強するのは、主に何かを考えるということです。困ったときに簡単に投げ出さず考えるのは大事です。そしてこれは行動と一対の話です。行動する前に考えてばかりいても何も進みません。しかし、まったく考えることをせずに行動ばかりでも問題があります。横軸のdoとthinkを行き来してどちらも鍛えておくといいですよ。私はできてません。
thinkが重要なのは誰かの言いなりにならないためでもあります。経験上自分ではなく他の誰かの為に人生を過ごすのはつまらないと感じる可能性が高いです。
学校に行かないことでthinkの機会が失われるとしたら、とても残念なことだと思います。週5日きっちり全て行くのは難しいとしても、特に登校が難しい事情がないのなら例えば週に2~3日くらいのペースで無理なく行ける頻度を探しながら行くことをお勧めします。
やまぶきでphoenixかな配列を設定
簡単なyabファイルの元を置いておきます。自分では使おうと思いませんが、やまぶきでphoenixかな配列を試したいという方はどうぞ。yamabuki4.16.1で動作確認しています。
[シフト無し] 1,2,3,4,5,6,7,8,9,0,-,^,¥ 無,無,無,無,無,無,無,無,無,無,無,無 無,無,無,無,無,無,無,無,無,無,無,無 無,無,無,無,無,無,無,無,無,無,無 <q> 無,無,無,無,無,無,無,無,無,無,無,無,無 無,無,無,無,無,無,無,無,無,無,無,無 無,無,無,無,無,ヴ,ゐ,わ,を,ゑ,無,無 無,無,無,無,無,無,無,無,無,無,無 <w> 無,無,無,無,無,無,無,無,無,無,無,無,無 無,無,無,無,無,ゅ,無,ゃ,ょ,無,無,無 無,無,無,無,無,ゆ,、,や,よ,。,無,無 無,無,無,無,無,無,無,無,無,無,無 <e> 無,無,無,無,無,無,無,無,無,無,無,無,無 無,無,無,無,無,無,無,っ,無,無,無,無 無,無,無,無,無,る,り,ら,ろ,れ,無,無 無,無,無,無,無,無,無,無,無,無,無 <r> 無,無,無,無,無,無,無,無,無,無,無,無,無 無,無,無,無,無,ぶ,び,ば,ぼ,べ,無,無 無,無,無,無,無,ふ,ひ,は,ほ,へ,無,無 無,無,無,無,無,無,無,無,無,無,無 <t> 無,無,無,無,無,無,無,無,無,無,無,無,無 無,無,無,無,無,ぷ,ぴ,ぱ,ぽ,ぺ,無,無 無,無,無,無,無,む,み,ま,も,め,無,無 無,無,無,無,無,無,無,無,無,無,無 <a> 無,無,無,無,無,無,無,無,無,無,無,無,無 無,無,無,無,無,ず,じ,ざ,ぞ,ぜ,無,無 無,無,無,無,無,す,し,さ,そ,せ,無,無 無,無,無,無,無,無,無,無,無,無,無 <s> 無,無,無,無,無,無,無,無,無,無,無,無,無 無,無,無,無,無,無,ー,ん,・,無,無,無 無,無,無,無,無,ぬ,に,な,の,ね,無,無 無,無,無,無,無,無,無,無,無,無,無 <d> 無,無,無,無,無,無,無,無,無,無,無,無,無 無,無,無,無,無,ぅ,ぃ,ぁ,ぉ,ぇ,無,無 無,無,無,無,無,う,い,あ,お,え,無,無 無,無,無,無,無,無,無,無,無,無,無 <f> 無,無,無,無,無,無,無,無,無,無,無,無,無 無,無,無,無,無,ぐ,ぎ,が,ご,げ,無,無 無,無,無,無,無,く,き,か,こ,け,無,無 無,無,無,無,無,無,無,無,無,無,無 <g> 無,無,無,無,無,無,無,無,無,無,無,無,無 無,無,無,無,無,づ,ぢ,だ,ど,で,無,無 無,無,無,無,無,つ,ち,た,と,て,無,無 無,無,無,無,無,無,無,無,無,無,無
NAVERまとめで#回避
// ==UserScript== // @name naver_sharp_avoid // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @match https://matome.naver.jp/* // @grant none // ==/UserScript== var result = document.evaluate('//div[contains(@class,"MdPagination0")]', document, null, 7, null); result.snapshotItem(0).addEventListener('mouseover', function () { var result2 = document.evaluate('//link[@rel="canonical"]', document, null, 7, null); var result3 = document.evaluate('//div[contains(@class,"MdPagination0")]/a', document, null, 7, null); for (var i = 0; i < result3.snapshotLength; i++) { result3.snapshotItem(i).href = result2.snapshotItem(0).href + "?page=" + result3.snapshotItem(i).childNodes[0].nodeValue; } });
西野ブログgamp版
このスクリプトは実験的なスクリプトです。デザイン上必要な改行やテキストなどが消える場合がありますのでご注意ください
let.hatelabo.jp
.l-m-b2x {margin:0;} .l-p-b3x {padding:0;} .l-p-b {padding:0;} .entry-hashtag{display:none;} .entry amp-img[src*="/user_images/"][layout=responsive]{margin:0;} .tb_cell{display:flex;align-items:center;} .l_yoko+.div_br{display:none;} .l_yoko,.div_br{line-height:1;} .div_br+.div_br,.waku{display:none;} .node_last+.div_br,.cork{display:none;}
西野ブログ限定版
このスクリプトは西野亮廣さんのブログを見やすくすることを目的に書きました。私の判断で不要な箇所は消しています。またいくつか変更を加えています。異論のある方は原則個別に調整をお願いします。
意見の分かれそうな点について調整する方法を書いておきます。
- 無効にされているリンクを機能させたい
CSSの.skin-entryBody a[href~から始まる箇所を削除するか、該当するセレクタを削除してください。各セレクタの意図を以下にまとめておきます。
セレクタ | 意図 |
---|---|
.skin-entryBody a[href*="salon.jp/salons"] | URLにsalon.jp/salonsが含まれる |
.akan | URLに全角文字が含まれる |
.dup | 本文中に複数同じページへのリンクが存在する |
- 本文中に埋め込まれている動画のサイズを変更したくない
本文をダブルクリックするか、下の画像のようにブログ右上の「このブログを検索する」と書いてある検索ボックスにフォーカスを当てる(青枠で囲われる)と動画のサイズを拡大します。もう一度どちらかの動作を行えば元に戻ります。
デフォルトの小さい状態を維持したい方はCSSの.iframe-wrap~から始まる箇所を削除してください。拡大された状態を維持したい方はnishino_ameblo_addの以下の箇所を
function size_origin() { $('.div_iframe').toggleClass("iframe-wrap"); } $('#blogSearchInputHeader')[0].addEventListener('focus', size_origin, false); $('.skin-blogBody')[0].addEventListener('dblclick', size_origin, false);
このように変更してください。
$(".div_iframe").addClass("iframe-wrap");
- 特定の文字列に由来する変更を加えたくない
該当するセレクタを削除してください。クラス名の意図を簡単にまとめておきます。
.l_yoko | 横線 |
.l_tate | マーク |
.sun | 横線上 |
.cloud | マーク上 |
.mark_end | テキストがマークで終わる |
.mark_only | テキストがマークのみ |
使用前に以上の点をご理解いただければと思います。
https://codepen.io/kogawa_vonly/pen/YzpMpmX
https://codepen.io/kogawa_vonly/pen/ZEBZLYM
http://memo.lomo.jp/nishino_ameblo
.skin-entryBody{margin:0;} .skin-entryBody * { margin: 0 !important; font-size: 1em !important; font-weight: normal; } [data-uranus-component="blogGenreEntryRankInfo"],[data-uranus-component="entryThemes"]{display:none;} .skin-entryHead{margin:0;display:flex;flex-direction:column-reverse;} .skin-entryThemes{margin:0;} .skin-entryTitle{margin:0;padding:0;line-height:1;} .hashtag-module-wrapper{display:none;} .skin-message{margin:0;padding:0;} .skin-message a{pointer-events:none;} .skin-message img{width:auto;} #freespace br{display:none;} #freespace[data-uranus-component="widget"],#profile[data-uranus-component="widget"]{margin-bottom:0;} [data-uranus-layout="columnB"] [data-uranus-layout="mainInner"]{padding:0;} [data-uranus-layout="content"]{width:87.5%;padding:0;} [data-uranus-layout="columnB"] [data-uranus-layout="main"] ul{margin:0;padding:0;height:auto;} [data-uranus-layout="columnB"] [data-uranus-layout="subAInner"]{margin-left:2em;margin-right:0;padding-left:25%;} .LazyLoad{display:none;} [data-uranus-component="entry"] {margin:0;} [data-uranus-layout="footerNav"] {margin:0;padding:0;} .skin-blogFooterNav>ul{margin:0;height:auto;} [data-uranus-layout="headerNavInner"] [data-uranus-component="search"]>input{height:auto;line-height:1.6;} [data-uranus-component="entryDate"], [data-uranus-component="entryThemes"]{margin:0;min-height:auto;} [data-uranus-component="paging"]{display:flex;justify-content:space-between;} [data-uranus-component="paging"]>li{width:auto;} [data-uranus-component="entryPagingItem"]{padding:0;} .skin-entryBody .logo{display:none;} [data-uranus-component="entryBody"] ul{list-style:none;} .skin-entryBody wbr{display:none;} .skin-entryBody img{width:auto;max-width:620px;} .skin-entryBody i{font-style:normal;} .skin-entryBody font[color]{color:#333;} .div_br,.node_last.e,.node_last.solo_a,.node_last.card{line-height:1;} .line,.l_tate.sun.e{line-height:1;} .div_br+.div_br,.i_ren br+br,.sand br+br{display:none;} .node_last+.div_br,.cork{display:none;} .l_yoko+.div_br,.l_tate+.div_br,.sun+.div_br,.cloud+.div_br,.node_first+.div_br{display:none;} .solo+.div_br,.solo_a+.div_br,.solo_a.i_ren>br:first-child{display:none;} .mark_end+.div_br,.mark_only,.ozone+.div_br{display:none;} .ogpCard_wrap+.div_br{display:none;} .ogpCard_wrap img,.ogpCard_wrap .div_br,.ogpCard_wrap>a>.n_text{display:none;} .ogpCard_wrap>a{display:flex;} .ogpCard_wrap img:first-of-type{display:inline;max-width:20px;max-height:20px;order:1} .ogpCard_wrap>a>.n_text:first-of-type{display:inline;} .sand>.div_br,.br_akan>br:first-child{display:none;} .midasi{display:block;line-height:1;} .sand_3.midasi{line-height:1.6;} .rail.line+br{display:none;} a:hover,a:focus{opacity:1;} a.dup:visited{color:#333;} .waku,.i_pic+.e+.div_br,.waku+.e+.div_br,.div_iframe+.e+.div_br{display:none;} .waku.frame_pad{display:block;} .revert+.waku.frame_pad{display:none;} .i_pic:not(.card)+.i_pic:not(.card),.i_pic:not(.card)+.div_iframe,.div_iframe+.i_pic:not(.card),.div_iframe+.div_iframe{margin-top:1em !important;} .rail{display:block;} .e{white-space:nowrap;} .skin-entryBody a[href*="salon.jp"],.akan,.dup { pointer-events: none; color: #333 !important; text-decoration: none; } .iframe-wrap { position: relative; width: 100%; padding-top: 56.25%; overflow: auto; -webkit-overflow-scrolling: touch; border: 2px solid #ccc; } .iframe-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; display: block; } a[href="http://twitter.com/nishinoakihiro"], a[href="http://twitter.com/nishinoakihiro"]+p,a[href="http://twitter.com/nishinoakihiro"]+p+span{ border-left: 1px solid #333; padding: 0 0 0 1em; display:block; }
SPOTで表示を軽く?する
// ==UserScript== // @name spot_light_load // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @match https://travel.spot-app.jp/* // @grant none // @require http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js // ==/UserScript== $(".item_description>p").contents().filter(function () { return this.nodeType === 3; }).wrap("<a class='title_link'></a>"); var result = document.evaluate('//h3[@class="item_title"]/a', document, null, 7, null); var result2 = document.evaluate('//a[@class="title_link"]', document, null, 7, null); for (var i = 0; i < result.snapshotLength; i++) { result2.snapshotItem(i).href=result.snapshotItem(i).href; } var listArray = document.querySelectorAll('.entry_main *[style]'); for (var j = 0; j < listArray.length; j++) { listArray[j].removeAttribute("style"); }
.item_title a{pointer-events:none;} .autopagerize_page_separator~.content_item .item_title a{pointer-events:auto;}
画像のみ表示時に連番画像を生成
// ==UserScript== // @name renban_load_zero // @namespace http://d.hatena.ne.jp/jigendaddy/ // @include *.jpg // @include *.png // @version 1 // @grant none // ==/UserScript== if (/\d/g.test(location.href)) { if (window.confirm("連番画像を生成します。連番前にゼロの付加を行いますか?")) { var keta = window.prompt("付加するゼロも含めて何桁の連番を生成しますか?\n半角英数で入力してください"); } if (keta > 0) { var b_url = window.prompt("連番以外の文字列と連番の範囲を入力してください。\n付加するゼロは入力しないでください\nex.http://test/[1-10].jpg", location.href); } else { b_url = window.prompt("連番以外の文字列と連番の範囲を入力してください。\nex.http://test/[1-9].jpg", location.href); } var str1 = b_url.split("["); var m_str = str1[0]; var str2 = str1[1].split("]"); //m_strは連番前の文字列、str2[0]は連番、str2[1]は連番後の文字列 var str3 = str2[0].split("-"); var r_start = str3[0]; var r_end = str3[1]; document.body.innerHTML = ''; var links = ''; if (keta > 0) { while (r_start <= r_end) { var tmp = String(r_start); links += '<img src="' + m_str + tmp.padStart(keta, "0") + str2[1] + '" style="position:relative">'; r_start++; } } else { while (r_start <= r_end) { links += '<img src="' + m_str + r_start + str2[1] + '" style="position:relative">'; r_start++; } } var area = document.createElement('div'); area.style.display = 'block'; area.style.position = 'absolute'; area.style.top = 0; area.style.left = 0; area.style.textAlign = 'left'; area.innerHTML = links; document.body.appendChild(area); document.body.style.display = 'block'; }