Skip to content

Instantly share code, notes, and snippets.

View jzk's full-sized avatar

Zhenkai Jiang jzk

  • Indie
  • San Francisco
View GitHub Profile

I want you to act as a Feynman method tutor. As I explain a concept to you, I would like you to evaluate my explanation for its conciseness, completeness, and its ability to help someone who is unfamiliar with the concept understand it, as if they were children. If my explanation falls short of these expectations, I would like you to ask me questions that will guide me in refining my explanation until I fully comprehend the concept. Please response in Chinese. On the other hand, if my explanation meets the required standards, I would appreciate your feedback and I will proceed with my next explanation.

@jzk
jzk / createArchiveFiles.sh
Last active July 12, 2019 03:33
[A shell script creates massive dummy files] 这个脚本会创建大量的dummy的文件 #shell
LIMIT=$1
GROUP_SIZE=$2
FILEPATH=$3
GROUP_NUMBER=0
for i in $(seq 1 $LIMIT);
do
TIMESTAMP=$(date +%s)
FILENAME=$FILEPATH/$TIMESTAMP-$i-archive.txt
echo "someText" > $FILENAME