- N高 学校説明会(7/21)
- 参議院普通選挙(7/21)
- BEYOND KYOTO(7/28)
- OSC 2019 Kyoto(8/2 ~ 8/3) 講演者 兼 事務局スタッフ 兼 ローカルスタッフ
- フィンランドで体験したICT教育 - https://speakerdeck.com/oldbigbuddha/huinrandodeti-yan-sitaictjiao-yu
- Kotlin Fest 2019(8/24) 当日スタッフ
- 京大マイコンクラブ定例会(8/29) 見学
- 第一回 Feel Ed.(8/30)
- iOSDC 2019(9/5 ~ 9/7) 当日参加者
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
| """ | |
| Copyright (c) 2019 OldBigBuddha. | |
| This software is released under the MIT License. | |
| http://opensource.org/licenses/mit-license.php | |
| """ | |
| import jso | |
| def get_provision(paragraphs: list, title: str) -> dict: |
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
| val chrList = listOf('␣', '.', ',', '?', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z') | |
| val N = chrList.size | |
| fun Int.isEven() = this%2 == 0 | |
| fun Int.isOdd() = this%2 == 1 | |
| fun generateCheckCharacter(input: String): String { | |
| var sum = 0 | |
| for (i in input.length-1 downTo 0) { | |
| sum += if ((input.length + i).isEven()) { |
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
| // Paiza.io で動作確認済 | |
| // 2019/08/18 | |
| import java.util.*; | |
| public class Main { | |
| public static void main(String[] args) throws Exception { | |
| Pair pair = returnPair(); | |
| System.out.println(pair.first); | |
| System.out.println(pair.second); |
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
| ### Prompt ### | |
| OK="( ̄ー ̄)b" | |
| NG="(ノд`@)" | |
| PROMPT="%(?.%F{green}$OK%f.%F{red}$NG%f) | |
| %F{magenta}%n%f@%c ->" | |
| RPROMPT='${vcs_info_msg_0_}' | |
| # もしかして時のプロンプト指定 | |
| SPROMPT="%{$fg[red]%}%{$suggest%}(*'~'%)? < もしかして %B%r%b %{$fg[red]%}かな? [そう!(y),違う!(n)]:${reset_color}:" |
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
| let locale = "jp" | |
| let hintcharacters = "asdfghjklwertuioxcvnm" | |
| set smoothscroll | |
| set noautofocus | |
| " Mappings | |
| map l nextTab | |
| map h previousTab |
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
| # ref: シェルスクリプト上で乱数を扱う方法まとめ3選 - かべぎわブログ - https://www.kabegiwablog.com/entry/2018/06/07/100000 | |
| #!/bin/sh | |
| file_name=${1} | |
| loop_count=${2} | |
| while [ $loop_count -gt 0 ] | |
| do | |
| random=$((`od -An -tu2 -N2 /dev/random` % 3)) |
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
| # /lib/systemd/system-sleep/ に移動する | |
| # +x を忘れずに | |
| # 参考: https://hello12world.ml/touchpad-not-working/ | |
| #! /bin/sh | |
| case $1 in | |
| pre) | |
| rmmod psmouse | |
| ;; |
I hereby claim:
- I am oldbigbuddha on github.
- I am oldbigbuddha (https://keybase.io/oldbigbuddha) on keybase.
- I have a public key ASCGiOwXMnyufV_o4v8-rKPm_FIMn_BTu4aZO_t_0eedwQo
To claim this, I am signing this object:
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
| {"lastUpload":"2019-07-26T03:05:46.672Z","extensionVersion":"v3.4.1"} |