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
| $ g++ -Wall -std=c++11 sample.cpp -o sample1 # ← sample1 は -pthread 付けない | |
| $ g++ -Wall -std=c++11 -pthread sample.cpp -o sample2 # ← sample2 は -pthread 付ける | |
| $ ./sample1 | |
| terminate called after throwing an instance of 'std::system_error' | |
| what(): Enable multithreading to use std::thread: Operation not permitted | |
| 中止 | |
| $ ./sample2 | |
| Hello! |
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
| (define ja-dvorakjp-rule-basic | |
| '( | |
| ((("c" "a"). ())("か" "カ" "カ")) | |
| ((("c" "i"). ())("き" "キ" "キ")) | |
| ((("c" "u"). ())("く" "ク" "ク")) | |
| ((("c" "e"). ())("け" "ケ" "ケ")) | |
| ((("c" "o"). ())("こ" "コ" "コ")) | |
| ((("c" "y"). ("y" "k"))("" "" "")) | |
| ((("c" "n"). ("y" "k"))("" "" "")) |
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
| # traceroute 192.30.252.122 | |
| traceroute to 192.30.252.122 (192.30.252.122), 30 hops max, 60 byte packets | |
| 1 v157-7-204-2.z1d5.static.cnode.jp (157.7.204.2) 1.341 ms 1.306 ms 1.250 ms | |
| 2 157.7.42.33 (157.7.42.33) 5.847 ms 5.830 ms 5.783 ms | |
| 3 unused-133-130-013-017.interq.or.jp (133.130.13.17) 2.065 ms 2.025 ms 1.950 ms | |
| 4 133.130.12.42 (133.130.12.42) 2.478 ms 133.130.12.33 (133.130.12.33) 1.909 ms 133.130.12.42 (133.130.12.42) 2.429 ms | |
| 5 ae-25.r00.tokyjp05.jp.bb.gin.ntt.net (61.120.146.181) 2.406 ms xe-0-0-0-5.r00.tokyjp01.jp.bb.gin.ntt.net (61.120.146.77) 2.480 ms ae-25.r00.tokyjp05.jp.bb.gin.ntt.net (61.120.146.181) 2.305 ms | |
| 6 ae-8.r31.tokyjp05.jp.bb.gin.ntt.net (129.250.3.190) 2.209 ms ae-6.r31.tokyjp05.jp.bb.gin.ntt.net (129.250.7.86) 1.848 ms 1.821 ms | |
| 7 ae-4.r23.lsanca07.us.bb.gin.ntt.net (129.250.3.193) 109.785 ms 110.428 ms 110.297 ms | |
| 8 ae-6.r22.asbnva02.us.bb.gin.ntt.net (129.250.3.188) 177.816 ms 177.761 ms 178.234 ms |
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
| { | |
| "AWSTemplateFormatVersion": "2010-09-09", | |
| "Resources": { | |
| "zonesampleinternal": { | |
| "Type": "AWS::Route53::HostedZone", | |
| "Properties": { | |
| "Name": { | |
| "Fn::Join": [ | |
| "", | |
| [ |
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
| weakest(X, [X]). | |
| weakest(X, [_ | Ys]) :- | |
| weakest(X, Ys). | |
| strongest(X, [X | _]). | |
| % X が Y より弱い | |
| weaker(X, Y, [Y | Ys]) :- | |
| member(X, Ys). |
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
| <?xml version="1.0"?> | |
| <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
| <fontconfig> | |
| <match target="pattern"> | |
| <test qual="any" name="family"><string>Inconsolata</string></test> | |
| <edit name="family" mode="append" binding="strong"><string>Migu 1M</string></edit> | |
| </match> | |
| </fontconfig> |
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
| import qualified Data.Map as M (lookup) | |
| import Data.Map (Map, fromList) | |
| import Data.List (permutations) | |
| import Data.Maybe (fromJust) | |
| dictionaryFromList :: [Int] -> Map Char Int | |
| dictionaryFromList xs = fromList $ zip ['a' .. 'j'] xs | |
| transformByMap :: Ord a => [a] -> Map a b -> [b] | |
| transformByMap xs dic = map (fromJust . flip M.lookup dic) xs |
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
| html { | |
| height: 100%; | |
| } | |
| body { | |
| background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKgAAABACAQAAAAkVfTQAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAACxMAAAsTAQCanBgAAAasSURBVHja7ZtZbBVVGMd/bYHSBW+hlIJQSiubYZWAoCwBATVRCcomkNREZXkgJpiIuCGB+qAmVhTjQyUKxigQFtGA+4KyGQVkR8oii6FcaltaaC9dxofO/e6hd2bu1HtPWTL/+9AzZ+ac75z/nPOdb5mCBw8ePHjw4MGDBw8ePHhoClp4FMQSsziJQYCtZHpkRI8caqjHwMBgu0dH9BhLjUmnQYA7PEKiRUsuCqEGnW75+aZzH+k6BcSzU+j86Jan80HKuMIpeulcoX4hdPgtTmcKe8yZLtNnGCXRVsolEXpJJZkarlJDDcZNSGg2A83SQH2EziHBLAX410YpQDrDeYUs4rhCBRVcopxySinBj58DnLwpCM2SUit9Jv1p2fAFlmQuYDXnqFYOLvVXTx21XGYxcTcBoX/JuDfrEtFGRFQpWz+0xffZEBlObM4NT+daZbxTdAnJFBFlYWohntUu6TSoY7qjnAx60vK60jmAgIz2F31iuomQYtGlQfSkNmwdVhGghrowQi/gc5DyCPs5w0pSryOh98tYa7hNX/ijtZSqw87t2cRL2eASi9hCC9JpTwfSaUcaPnz4aM0xXqLcYXW+Rl8gj3QmUG/WjmcmK3SulUYYJqU/uaRzIwT9+ENhx8ob8k4/Y1DY+m1AAq1IUoi3QhdOSU8jzLp883pSM9GZJ/M0WKRT0BARs8ti9Tbc2R21lJ9Eymyz5qx5vbdZQoczFeV0MTaKx27YIc1XFnavmkwWUhmDN3o6rKa9+bcftdrpTCVfyrU8RKVOYTPkza3SKGWKSPHLxBquK5phfQ5XDte7YhcCscbtUjqn1QKsl5XZA0gVjVwWMxn9bc |
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
| /home/y_honda/src/mikutter/core/mui/cairo_miracle_painter.rb: line 349 | |
| Gdk-CRITICAL **:IA__gdk_pixbuf_get_from_drawable: assertion 'src_x + width <= src_width && src_y + height <= src_height' failed | |
| /home/y_honda/src/mikutter/core/mui/cairo_miracle_painter.rb: line 349 | |
| Gdk-CRITICAL **:IA__gdk_pixbuf_get_from_drawable: assertion 'src_x + width <= src_width && src_y + height <= src_height' failed | |
| /home/y_honda/src/mikutter/core/mui/cairo_miracle_painter.rb: line 349 | |
| Gdk-CRITICAL **:IA__gdk_pixbuf_get_from_drawable: assertion 'src_x + width <= src_width && src_y + height <= src_height' failed | |
| /home/y_honda/src/mikutter/core/plugin/activity/activity.rb:174: [BUG] Segmentation fault at 0x00000000000009 | |
| ruby 2.1.9p490 (2016-03-30 revision 54437) [x86_64-linux] | |
| -- Control frame information ----------------------------------------------- |