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
// MARK: - やりたいこと | |
//japanese(日本語)を3つほどランダムで表示する | |
// MARK: - Code | |
////フレーズという辞書を定義する | |
let phrases = [ | |
["japanese": "私", "english": "I", "phraseAudioName" : "人称"], | |
["japanese": "私とあなた", "english": "I and You", "phraseAudioName" : "国と言語"], |
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
let Dic = [ | |
["japanese": "私", "english": "I", "phraseAudioName" : "人称"], | |
["japanese": "私とあなた", "english": "I and You", "phraseAudioName" : "国と言語"], | |
["japanese": "私たち", "english": "both of us", "phraseAudioName" : "人称"], | |
["japanese": "彼", "english": "he", "phraseAudioName" : "国と言語"], | |
["japanese": "彼と彼女", "english": "he and she", "phraseAudioName" : "人称"], | |
["japanese": "彼ら", "english": "they both", "phraseAudioName" : "国と言語"], | |
] |
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
import json | |
def load_data(file_path): | |
with open(file_path, 'r') as f: | |
return json.load(f) | |
def calculate_tasks(data, file_path): | |
total_address = len(data) | |
print(f"Analyzing {total_address:,} addresses... (Target file: '{file_path.split('/')[-1]}')") |
This file has been truncated, but you can view the full file.
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
127.0.0.1 0.fls.doubleclick.net | |
127.0.0.1 0001-cab8-4c8c-43de.reporo.net | |
127.0.0.1 002-slq-470.mktoresp.com | |
127.0.0.1 004-btr-463.mktoresp.com | |
127.0.0.1 005.free-counters.co.uk | |
127.0.0.1 006.free-counters.co.uk | |
127.0.0.1 007.free-counters.co.uk | |
127.0.0.1 0075-7112-e7eb-f9b9.reporo.net | |
127.0.0.1 008.free-counters.co.uk | |
127.0.0.1 009-yli-241.mktoresp.com |