Moutaku3dayoの投稿記録

利用者の編集は750回。 2024年6月18日 (火)にアカウント作成。
投稿の検索開く折り畳む
⧼contribs-top⧽
⧼contribs-date⧽
(最新 | 最古) ( | ) (20 | 50 | 100 | 250 | 500 件) を表示

2025年3月28日 (金)

  • 21:292025年3月28日 (金) 21:29 差分 履歴 +167 Python sort.py編集の要約なし 最新
  • 21:292025年3月28日 (金) 21:29 差分 履歴 +168 Python cut.py編集の要約なし 最新
  • 21:292025年3月28日 (金) 21:29 差分 履歴 +167 Python cat.py編集の要約なし 最新
  • 21:282025年3月28日 (金) 21:28 差分 履歴 +1,754 Python uniq.pyページの作成:「<syntaxhighlight lang="python" line> import argparse import sys def uniq(count, input_file): """ Filter out adjacent duplicate lines from input and optionally count occurrences. :param count: If True, prefix lines by the number of occurrences. :param input_file: Input file path or None for standard input. """ # Open the input file or use standard input input_source = open(input_file, "r") if input_file else sys.stdin try:…」
  • 21:272025年3月28日 (金) 21:27 差分 履歴 +58 Python cut.py編集の要約なし
  • 21:272025年3月28日 (金) 21:27 差分 履歴 +1,912 Python sort.pyページの作成:「 <syntaxhighlight lang="python" line> import argparse import sys def sort_file(numeric, reverse, unique, input_file): """ Sort lines from the input file or standard input. :param numeric: Sort numerically if True. :param reverse: Sort in reverse order if True. :param unique: Remove duplicate lines if True. :param input_file: Input file path or None for standard input. """ # Open the input file or use standard input input_source…」
  • 21:262025年3月28日 (金) 21:26 差分 履歴 +1,805 Python cut.pyページの作成:「import argparse import sys def cut(fields, delimiter, input_file): """ Extract specified fields or columns from the input file or standard input. :param fields: Comma-separated list of fields to extract (1-based indexing). :param delimiter: Delimiter used to separate fields. :param input_file: Input file path or None for standard input. """ # Parse the fields to extract try: field_indices = [int(f) - 1 for f in fields.split(…」
  • 21:262025年3月28日 (金) 21:26 差分 履歴 +1,700 Python cat.pyページの作成:「<syntaxhighlight lang="python" line> import argparse import sys def cat(input_files, number_lines): """ Display the content of files or standard input. :param input_files: List of input file paths or None for standard input. :param number_lines: If True, number the output lines. """ line_number = 1 def process_file(file): nonlocal line_number try: for line in file: if number_lines:…」
  • 21:252025年3月28日 (金) 21:25 差分 履歴 +83 Python→‎関連項目

2025年3月22日 (土)

2025年3月20日 (木)

  • 00:412025年3月20日 (木) 00:41 差分 履歴 +2,976 Squidページの作成:「<pre> cd /etc/squid/ cp squid.conf squid.conf.org yum install squid 自動起動設定 $ systemctl enable squid.service 踏み台にされたりしないように、制限はいれておきたい。 デフォルトの部分は基本省略。 #logformat #ログの時間をみやすくする logformat squid %tl %>a %Ss/%03>Hs %<st %rm %ru %[un %Sh/%<a %mt # myproviderは好きな名前をつける。 # ipの場合は、acl myprovider src xxx.xxx.xxx/16 acl myprovi…」 最新
  • 00:402025年3月20日 (木) 00:40 差分 履歴 +12 IT tips 一覧編集の要約なし 最新

2025年3月2日 (日)

  • 05:162025年3月2日 (日) 05:16 差分 履歴 +5,071 諸富祥彦 50代からは3年単位で生きなさいページの作成:「<pre> 20kgダイエット 3年単位で生きる やっておきたいことは前倒しでやっておくこと 捨てるもの ①時間やエネルギーを奪う余計な事 ②余計なもの ③余計な人間関係 ④見栄や世間体、承認と自尊の欲求 減らすべきもの ①完璧を求めない ②幸せのハードルを下げる ③わかってほしい、認めてほしいと人に求めない ④ふつう思考をやめる ⑤他人の…」 最新
  • 05:152025年3月2日 (日) 05:15 差分 履歴 +62 作家編集の要約なし 最新

2025年3月1日 (土)

2025年2月23日 (日)

(最新 | 最古) ( | ) (20 | 50 | 100 | 250 | 500 件) を表示