- エレコム 電源タップ 6個口 https://amzn.to/2MaL9Uq
- Anker PowerPort 6 https://amzn.to/2Mg78t2
- Echo Spot https://amzn.to/2P5FgWa
- エレコム dimp gel EX ハンドレスト https://amzn.to/2nxXUtm
- サンワサプライ 低反発リストレストミニ https://amzn.to/2MaXfNg
- 森永製菓 ラムネ 29g×20個 https://amzn.to/2MeEWH5
- 小分けカシューナッツ 1.008kg (28gx36袋) https://amzn.to/2MfhfOE
This file contains 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
void main() { | |
final fileName = '1<2>3:4*5?6”7/8\\9|0'; | |
final escaped = fileName.replaceAll(RegExp(r'<|>|:|\*|\?|”|/|\\|\|'), '_'); | |
print('escaped is $escaped'); | |
} |
This file contains 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
void main() { | |
// no time zone string, parse as local datetime. | |
test("2020-07-15 04:00:00.000"); | |
// suffix "Z", parse as UTC date time. | |
test("2020-07-15 04:00:00.000Z"); | |
// has time zone string, parse as UTC date time with offset. | |
test("2020-07-15 04:00:00.000+09:00"); | |
} | |
void test(String dateStr) { |
This file contains 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
function suit(num) | |
_suit_card = math.ceil(num / 13) | |
if _suit_card == 1 then | |
return "heart" | |
elseif _suit_card == 2 then | |
return "spade" | |
elseif _suit_card == 3 then | |
return "club" | |
elseif _suit_card == 4 then | |
return "diamond" |
This file contains 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
module Q2 | |
COL = 3 | |
ROW = 3 | |
SIZE = COL * ROW | |
CENTER_NUM = 5 | |
@result = 0 | |
def self.create_combi | |
@combi = [] |
This file contains 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
module Q1 | |
INIT_AMOUNT = 1000 | |
COINS = [500, 100, 50, 10] | |
@valid_coins = [] | |
def self.push_if_valid(amount, coins) | |
return if coins.size >= 15 | |
puts "#{amount}, #{coins}" | |
COINS.each do |coin| |
This file contains 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"?> | |
<ruleset name="ML"> | |
<description>Monstar Lab coding standard.</description> | |
<rule ref="PSR2"/> | |
<rule ref="Generic.Files.LineLength"> | |
<properties> | |
<property name="lineLimit" value="180"/> | |
<property name="absoluteLineLimit" value="0"/> | |
</properties> |
This file contains 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
{ | |
"name": "OpenCV", | |
"version": "2.4.9", | |
"summary": "OpenCV (Computer Vision) for iOS.", | |
"homepage": "http://opencv.org", | |
"description": "OpenCV: open source computer vision library\n\n Homepage: http://opencv.org\n Online docs: http://docs.opencv.org\n Q&A forum: http://answers.opencv.org\n Dev zone: http://code.opencv.org", | |
"license": { | |
"type": "3-clause BSD", | |
"text": "By downloading, copying, installing or using the software you agree to this license.\nIf you do not agree to this license, do not download, install,\ncopy or use the software.\n\n\n License Agreement\n For Open Source Computer Vision Library\n (3-clause BSD License)\n\nRedistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n * Redistribution's of source code must retain the above copyright notice,\n this list of conditions and the following disclaimer.\n\n * Redistribution's in binary form must reproduce |
This file contains 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
package hm.orz.chaos114.sdcardinspector; | |
import android.os.Bundle; | |
import android.support.v7.app.ActionBarActivity; | |
import android.util.Log; | |
import java.io.BufferedReader; | |
import java.io.File; | |
import java.io.FileReader; | |
import java.io.IOException; |