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
| // BlockList | |
| settings.blocklistPattern = /youtube.com\/watch|mail.google.com|console.aws.amazon.com|pc-play.games.dmm.co.jp\/play|holotyping|v6p9d9t4.ssl.hwcdn.net|docs.google.com\/presentation|act.hoyoverse.com\/zzz\/event|game.skport.com\/endfield\/sign-in/i; | |
| // ----- Settings ---- | |
| settings.scrollStepSize = 140; | |
| settings.hintAlign = 'left'; | |
| // ----- keymap ----- | |
| api.unmap('H'); | |
| api.unmap('L'); |
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
| # ==================== Emojis ==================== | |
| # Feature | |
| # 🎉 :tada: 初めてのコミット(Initial Commit) | |
| # ✨ :sparkles: 新機能追加(New Feature) | |
| # 👍 :+1: 機能改善(Feature improvements) | |
| # 🚑 :ambulance: バグ修正(Bugfix) | |
| # ⚡ :zap: パフォーマンス改善(Performance) | |
| # 🎨 :art: デザイン改修(Design) |
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
| " general setting | |
| let locale = "jp" | |
| "set nohud | |
| set noautofocus " priority civm keybind | |
| set autohidecursor | |
| set autoupdategist | |
| let barposition = "bottom" | |
| let blacklists = ["https://mail.google.com/*","*://mail.google.com/*","@https://mail.google.com/mail/*","*console.aws.amazon.com*","*://www.youtube.com/*"] "disable cVim site list pattern | |
| let qmark t = ["http://twitter.com"] "quick open site list type on 'gn' or 'go' |
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
| require 'csv' | |
| # ここでWikipediaとはてなキーワード一覧のファイルを指定 | |
| original_data = { | |
| wikipedia: 'jawiki-latest-all-titles-in-ns0', | |
| hatena: 'keywordlist_furigana.csv' | |
| } | |
| # wiki_hatena.csvを作成し,上記のファイルを順番に読み込む | |
| CSV.open("wiki_hatena.csv", 'w') do |csv| |
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"> | |
| <meta http-equiv="content-language" content="ja"> <!-- 文書の主言語 --> | |
| <meta http-equiv="Content-Style-Type" content="text/css" /> | |
| <meta http-equiv="Content-Script-Type" content="text/javascript" /> | |
| <script type="text/javascript" src="./kiso1.js"></script> | |
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
| <?php | |
| function comment_list(){ | |
| require_once("kiso2-func_db_connect.php"); //DB操作 | |
| $res; // リターン用変数 | |
| if (!$res = db_connect("read", "")) // falseが返ってきた場合 | |
| $res = false; | |
| else if ($res === "No Comment"){ | |
| $res = "コメントがありません"; | |
| }else{ |
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
| // Javascriptでのチェック用関数 | |
| function check(){ | |
| if (window.confirm("送信してよろしいですか?")){ // OKのとき | |
| var flg = 0; // チェック判定用変数 | |
| for (var i = 0; i < document.form.elements.length; i++){ | |
| if (document.form.elements[i].checked) // チェックされている場合 | |
| flg++; | |
| } | |
| if (flg == 0){ // 一つもチェックされていない場合 |
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"> | |
| <meta http-equiv="content-language" content="ja"> <!-- 文書の主言語 --> | |
| <meta http-equiv="Content-Style-Type" content="text/css" /> | |
| <meta http-equiv="Content-Script-Type" content="text/javascript" /> | |
| <script type="text/javascript" src="./kadai2-kiso.js"></script> | |