- All homework result should be compose in a form of git repository (public if you do not mind)
- Send link to repository once you done.
- Home work should contain both your prompts and model replies
- [optional] If you have access to variety of models (Gemini, Command R+, Claude), run prompts with different models, compare replies.
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
# Compilint hadoop source | |
# Local system | |
cd Projects/hadoop/ | |
cat .git/config | |
# [remote "origin"] | |
# url = ssh://[email protected]/sanjeevtripurari/hadoop.git | |
# [remote "upstream"] |
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
#!/bin/bash | |
# Give numeric value, which is in bytes | |
# will show all possible conversions | |
call_bc() { | |
n1=$1 | |
n2=$2 | |
echo "scale=4; $n1/($n2)" |bc | |
} |
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
A = load '/tmp/alice.txt'; | |
B = foreach A generate flatten(TOKENIZE((chararray)$0)) as word; | |
C = filter B by word matches '\\w+'; | |
D = group C by word; | |
E = foreach D generate COUNT(C), group; | |
store E into '/tmp/alice_wordcount'; |
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 main | |
import ( | |
"net/http" | |
"database/sql" | |
"fmt" | |
"log" | |
"os" | |
) |