Skip to content

Instantly share code, notes, and snippets.

View rohitprajapati's full-sized avatar

Rohit Prajapati rohitprajapati

View GitHub Profile
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Priyanka",
"label": "Librarian",
"image": "",
"email": "ppriyanka2281@gmail.com",
"phone": "+91-9643662795",
"url": "",
"summary": "I have enjoyed my duties which has led to considerable experience and expertise in librarianship. I am a dependable individual who always strives for perfection in everything I do, including the preserving and maintenance of valuable books. My calm temperament and friendly demeanour have repeatedly made me the most eligible candidate for community projects. I am also able to multi-manage several projects at once. Ultimately, I believe that my proficiency in handling both the technological and physical resources in libraries will make me a valuable employee for any library in the country.",
@rohitprajapati
rohitprajapati / transpose_into_batches.awk
Last active March 21, 2016 13:32
Transpose from column to rows. To divide into batches. Example usage to avoid error "argument list too long": awk -f ~/codebase/my_files/scripts/test.awk test2.csv | while read line ; do echo "my_command: " $line ; done
# Usage: Transpose from column to rows.
# For e.g.
#
# Input 1 -
# abc_1
# abc_2
# abc_3
# abc_4
# abc_5
@rohitprajapati
rohitprajapati / max_column_size.awk
Created February 19, 2016 08:34
Given a csv file with header. Find the max size(character length) required for each column.
# Usage: awk -f max_column_size.awk ~/Desktop/test.csv
# csv header required
BEGIN {
FS=","
OFS=","
}
NR == 1 {
@rohitprajapati
rohitprajapati / multiple_input_file.awk
Last active February 19, 2016 08:14
Multiple input file awk command.
# Usage: awk -f multiple_input_file.awk ~/Desktop/test_1.csv ~/Desktop/test_2.csv
BEGIN {
FS = ","
OFS = ","
}
FNR == 1 {
FILE_NUM++
}