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/sh | |
| curl --no-progress-meter -o /dev/null --trace - "$@" | ( | |
| set -- awk | |
| type gawk >/dev/null 2>&1 && set -- gawk -n | |
| LC_ALL=C "$@" ' | |
| BEGIN { | |
| printed_header = 0 | |
| printed_data = 0 | |
| output_stdout = 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
| // Use JDK 17 preview | |
| public class Main { | |
| public static void main(String[] args) { | |
| new Main().sample(); | |
| new Main().sample2(); | |
| } | |
| private static Result<Integer, RuntimeException> parse(String a) { | |
| try { |
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
| FROM amazon/aws-cli | |
| RUN curl -Lo copilot https://github.com/aws/copilot-cli/releases/latest/download/copilot-linux && \ | |
| chmod +x copilot &&\ | |
| mv copilot /usr/local/bin/copilot | |
| RUN curl "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/linux_64bit/session-manager-plugin.rpm" -o "session-manager-plugin.rpm" && \ | |
| yum install -y ./session-manager-plugin.rpm && \ | |
| rm ./session-manager-plugin.rpm |
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
| ;============================== | |
| ; 描画関連 | |
| ;============================== | |
| initVram: | |
| ld hl, Vram.topAddr2 | |
| ld (NextVramAddr), hl | |
| ret |
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
| sudo /usr/local/pound/sbin/poundctl -c /var/run/pound/poundctl.socket -H |awk ' | |
| /^ [ 0-9]*\. http Listener/ {l=$1} | |
| /^ [ 0-9]*\. Service/ {m=$1} | |
| /^ [ 0-9]*\. Backend/ {s = l""m""$0; gsub(/[ .]+/, " ", s); print s } | |
| ' |
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
| _ = Object.new | |
| def _.==(obj) | |
| true | |
| end | |
| [ ["a", 1], ["a", 2], ["b", 1], ["b", 2], ["c", 1], ["c", 3] ].each do |v| | |
| pattern = case v | |
| when ["a", 1 ] then "a,1" | |
| when ["a", _ ] then "a,*" |
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
| ガンダムは燃え上がる | |
| ガンダムは燃え上がる | |
| ガンダムは燃え上がる | |
| ガンダムは走る | |
| ガンダムは巨大な敵を撃つ | |
| ガンダムは巨大な敵を撃つ | |
| ガンダムは巨大な敵を撃つ | |
| ガンダムは正義の怒りをぶつける | |
| 機動戦士 ガンダム ガンダム |
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
| p | |
| = link_to("test link", '/?x=1&y=2') | |
| p | |
| == link_to("test link2", '/?x=1&y=2') | |
| p | |
| = link_to("test link3", :href => '/?x=1&y=2') | |
| p | |
| = link_to("test link4", '/?x=1&y=2'.html_safe) |
NewerOlder