投稿

kodi v18.5 "Leia"にアップデートしたら、”システムの電源を切る”オプションが復活した

イメージ
kodiをアップデートしたら、”システムの電源を切る”オプションが復活した Remove "Power off system" Kodi Shutdown Menu kodi v18になってからしばらくが経ち、先日新たなバージョンが出たというので、kodi v18.5 "Leia" にアップデートしたらpower option にshutdown/電源を切る がまた現れた。恐らく次からのアップデートも上書きされるだろうから、その対策に。英語でも書いてみたがこっちは日本語も。 android kodi shutdown menu 普段アンドロイド版は使ってなかったが、どうなってるのかと試してみたらアプリを終わる項目だけだった。 これが邪魔なんだ シャットダウン オプションがあると誤操作してしまったときに、再びPCが使えるようになるのに数分、 windows アップデートも重なると数時間ということも考えられる。HTPC兼録画機として使っているので、そうなると録画ミスとか出てきてしまうからシャットダウンオプションを消してしまおうという訳です。 kodi v18.5 "Leia" default theme "skin.estuary"setting 行う前にはバックアップを取りましょう。面倒な方はDialogButtonMenu.xmlをそのままコピペしてコピーファイルを作ってしまう。 デフォルトテーマはestuaryで、必要なファイルの場所は以下にある ”DialogButtonMenu.xml” です。 C:\Kodi-18\Kodi\addons\skin.estuary\xml "DialogButtonMenu.xml" Location To modify "DialogButtonMenu.xml" use notepad or something, I use Notepad++ or use sometimes sublime text3. "DialogButtonMenu.xml" を編集してい...

How to remove/hide "Power off system" Kodi Shutdown Menu

イメージ
How to remove/hide "Power off system" Kodi Shutdown Menu Remove "Power off system" Kodi Shutdown Menu After I update to kodi v18.5 "Leia", they overwrite "Shutdown Menu" which I did modified to hide/remove "Power Off System". I use windows PC to recode TV so I need to keep it running. I need to hide that AGAIN . This is how to hide "Power Off System". android kodi shutdown menu I don't use android's kodi usually, but I installed kodi it doesn't have "power off" option. Beautiful. Windows kodi also should look like this. To avoid accidentally click/select/touch "power off" button for not shutdown the PC. "Hibanate" "suspend" can recover quickly, but shutdown PC take some time. kodi v18.5 "Leia" default theme "skin.estuary"setting Before you do this, it is recommend back up "DialogButtonMenu.xml" to another locati...

2 divided flex overflow

イメージ
2 divided flex overflow Top Locate1 Locate2 Locate3 <style> ul.t { list-style-type: none; margin: 0; padding: 0; width: 200px; background-color: #f1f1f1; border: 1px solid #555; } li a.t { display: block; color: #000; padding: 8px 16px; text-decoration: none; } li.t { text-align: center; border-bottom: 1px solid #555; } li.t:last-child { border-bottom: none; } li a.ta { background-color: #4CAF50; color: white; } li a.t:hover:not(.ta) { background-color: #555; color: white; } </style> <div style="box-sizing: border-box;display: flex; max-height: 500px; position: relative; overflow-y: auto;"> <div style="width:30%; position: fixed; top:50px;right:20px; height: 100%; overflow: auto;"> <ul class="t" style="margin-left: 20px;"> <li class="t"><a class="t ta" href="#top">Top</a></...

CSS Pseudo Class and Elements

イメージ
CSS Pseudo Class and Elements 3 divided box/ style="box-sizing: border-box;" Left Center Right CSS Layout float and clear Top Locate 1 Locate 2 Locate 3 Locate 4 To arrnge the text is centered, with <div> <div style="text-align: center; border: 3px solid green;"> <p>To arrnge the text is centered, with <div></p> </div> To arrnge the text is centered, with <p> <p style="text-align: center; border: 3px solid green;">To arrnge the text is centered, with <p></p> center an image set the width, set left and right margin to auto display: block; . <img src="https://imgur.com/wCnb1bo.png" alt="paris" style="width: 45%; margin-left: auto; margin-right: auto; display: block;"> style="position: absolute ;" locating 100px left, width 300px. and padding 15px. style=...

CSS border margin table list

イメージ
CSS border margin table list Padding-box background-clip: padding-box/border-box/content-box background-clip property をテスト。ドット \dpx dotted black The background extends to the edge of content box. dotted border dashed border solid border double border groove border ridge border inset border outset border none hidden border dotted dashed solid double border border-style: groove; border-width: medium; solid border-color: red(top) breen(right) pink(bottom) blue(left) border left green 20px, background-color lightblue border: 5px solid coral;/border-style shorthand property/border-width border-style(required) border-color border-left: 10px solid red; shorthand property for border-left-width, border-left-style, border-left-color. border-top: thin groove tomato; box-sizing: 60% normal border border-radius: 4px; bjorder-radius: 12px; border-radius: 18px; =========================================== change ...

shufoo.netでセキュリティエラー出たけど、多分一時的なもの、とりあえずログアウト

イメージ
shufoo.netでセキュリティエラーが急に出て来た。Firefoxで。 vivaldiでもアドレスバーに安全な接続では無いと出て来た。 バッチリと当たるものは5分くらいの検索では出てこなかったが、どうやらtop やお気に入りに入っていたページはURLがhttpsなのに、”次のページ”などのリンク先がhttpになっているために出て来たエラーだった。実際、”次のページ”はhttp通信だった。 昨日辺りまでは出てなかった気がするけど。 Firefoxに問題はないし、こちらからはパスワード情報を残さないようにログアウトしてshufoo側がhttps化するまでログインせずにサイトを閲覧した方が良さそうだ。アカウント情報の使いまわしはしてないし放っておいても問題ないだろう。 ニュース   など読んでいくと、httpsとhttpの混在するコンテンツをなくして行く動きに対応するためにshufooが書き換えてるんだろうか。そのために一時的に出たエラーだと思う。以下引用。 Webブラウザでは、HTTPSで提供されているページからHTTPでコンテンツを引っ張ってきていることがある。対象はJavaScript、iframe、画像、動画、音声などさまざま。HTTPSで提供しているページからHTTPで提供されているリソースを読み込むことはセキュリティ上好ましくないとされており、現在ではJavaScriptやiframeといったセキュリティ上の懸念が強いコンテンツはデフォルトブロックの対象となっている。 Googleはこの対象範囲を広げて、動画や画像といったコンテンツに関してもデフォルトでブロックするように変更していく。 確かにトップはhttpsだが、画像などはhttpのようだ。2ページ目などもhttpだったので、Firefoxがエラー出してくれなきゃ気づかなかった。まぁ、shufooが順次対応していくのでしょう。毎回思うが、ブラウザが進化してくれているおかげで危険なサイトへは接続する前に注意を促してくれたりと、本当にありがたい。 アカウント情報、特にパスワードの使い回しをしている場合は、ログアウト。  使い回してない人も、とりあえずログアウト。 shufooの画像なども全てhttpsに...

CSSのbackground-imageまで

イメージ
youtube埋め込み flex-box To the background-attachment property the background-attachment property specfies whether the background image should scroll or be fixed (will not scroll with th rest of the page). Tip: If you do not see any scrollbars,tyr to resize the browser window. style でbodyの margin-right: 220px; とすることで右から220px bodyの表示を狭める事ができる。background-attachment: fixed; でスクロールしてもbackground-imageが付いてくる。background-attachment:fixed/ scroll youtubeの動画を載せるには、動画を右クリックして埋め込み用のURLを取得する Queen - Don't Stop Me Now (Official Video) https://www.youtube.com/watch?v=HgzGwKwLmgM HgzGwKwLmgM /embed/に加える 動画によってはSSL環境でないと再生されないものもある。 プライバシー強化モードのチェックボックスをチェックする μMatrixでiframeのページ内で表示されないのはこの辺が理由なのかぁ Click the button to get your coodinates. Location local ではgeolocation を使用できなかった。 Drag the W3Schools image into the rectangle: Drag and Drop Drag the image back and forth between the two div elements. Hello h1 DodgerBlue でbord...