<commit_before>// Hello.
//
// This is JSHint, a tool that helps to detect errors and potential
// problems in your JavaScript code.
//
// To start, simply enter some JavaScript anywhere on this page. Your
// report will appear on the right side.
//
// Additionally, you can toggle specific options in the Configure
// menu.
// Hello.
//
// This is JSHint, a tool that helps to detect errors and potential
// problems in your JavaScript code.
//
// To start, simply enter some JavaScript anywhere on this page. Your
// report will appear on the right side.
//
// Additionally, you can toggle specific options in the Configure
// menu.

/*
This is empty on purpose! Your code to build the resume will go here.
 */
//[string].replace([old],[new])
// biography
var bio = {
    "name": "<NAME> ",
    "role": "Web developer",
    "contacts": {
        "mobile": "+20-112-3319313",
        "email": "<EMAIL>",
        "github": "elhaw",
        "twitter": "@aeaue_body2",
        "location": "Egypt",
        "welcomeMessage": "Welcome to my page, hope you enjoy !!",
    },
    "skills": ["HTML", "Linux", "JavaScript", "C programming", "CSS"],
    "biopic": ["images/fry.jpg"],
    "display": function() {
        var formattedName = HTMLheaderName.replace("%data%", bio.name);
        var formattedRole = HTMLheaderRole.replace("%data%", bio.role);
        var formatedMobile = HTMLmobile.replace("%data%", bio.contacts.mobile);
        var formatedEmail = HTMLemail.replace("%data%", bio.contacts.email);
        var formatedTwitter = HTMLtwitter.replace("%data%", bio.contacts.twitter);
        var formatedGithub = HTMLgithub.replace("%data%", bio.contacts.github);
        var formatedLocation = HTMLlocation.replace("%data%", bio.contacts.location);
        var formatedPicture = HTMLbioPic.replace("%data%", bio.biopic);
        var formattedMessage = HTMLwelcomeMsg.replace("%data%", bio.contacts.welcomeMessage);


        $("#header").prepend(formattedName,formattedRole);
        $("#topContacts").append(formatedMobile,formatedEmail,formatedTwitter,formatedGithub,formatedLocation);
        $("#header").append(formatedPicture,formattedMessage);
        //append multiple elements like this is to include all of the elements as arguments to a single .append()
        $("#footerContacts").append(formatedMobile,formatedEmail,formatedTwitter,formatedGithub,formatedLocation);
        //skills
        var formatedSkillsStart = HTMLskillsStart;
        $("#header").append(formatedSkillsStart);
        if (bio.skills.length !== 0) {
            for (var i = 0; i < bio.skills.length; i++) {
                var formatedSkills = HTMLskills.replace("%data%", bio.skills[i]);
                $("#skills").append(formatedSkills);
            }
        }
    }

};
// work
var work = {
    "jobs": [{
            "employer": "IT solutions",
            "title": "Front-end Web developer",
            "location": "Alexandria",
            "dates": "2016-July till present",
            "description": "responsible for implementing visual and interactive"
        },
        {
            "employer": "overcoffesolution",
            "title": "software developer",
            "location": "Canada",
            "dates": "2020-July till present",
            "description": "develop new software tools to automate fabrication "
        }
    ],
    "display": function() {
        for (var job in work.jobs) {

            var formattedworkStart = HTMLworkStart;
            $("#workExperience").append(formattedworkStart);
            var formatedworkEmployer = HTMLworkEmployer.replace("%data%", work.jobs[job].employer);
            var formatedworkTitle = HTMLworkTitle.replace("%data%", work.jobs[job].title);

            $(".work-entry:last").append(formatedworkEmployer + formatedworkTitle);

            var formatedworkDates = HTMLworkDates.replace("%data%", work.jobs[job].dates);
            $(".work-entry:last").append(formatedworkDates);

            var formatedworkLocation = HTMLworkLocation.replace("%data%", work.jobs[job].location);
            $(".work-entry:last").append(formatedworkLocation);

            var formatedworkDescription = HTMLworkDescription.replace("%data%", work.jobs[job].description);
            $(".work-entry:last").append(formatedworkDescription);
        }

    }
};
//education
var education = {
    "school": [{
            "name": "Mansoura University",
            "degree": "Bachelor",
            "location": "Mansoura",
            "major": "computer science",
            "date": "2009-2015",
            "url": "http://www.mans.edu.eg/"
        },
        {
            "name": "Graz University of technology",
            "degree": "Master",
            "location": "Austria",
            "major": "Software develompment",
            "date": "2018-2019",
            "url": "https://www.tugraz.at/home/"
        }
    ],
    "onlinecourses": [{

            "title": "JavaScript",
            "school": "Udacity",
            "date": "2016",
            "url": "www.lynda.com"<commit_msg>use for loop instead of for in<commit_after>// Hello.
//
// This is JSHint, a tool that helps to detect errors and potential
// problems in your JavaScript code.
//
// To start, simply enter some JavaScript anywhere on this page. Your
// report will appear on the right side.
//
// Additionally, you can toggle specific options in the Configure
// menu.
// Hello.
//
// This is JSHint, a tool that helps to detect errors and potential
// problems in your JavaScript code.
//
// To start, simply enter some JavaScript anywhere on this page. Your
// report will appear on the right side.
//
// Additionally, you can toggle specific options in the Configure
// menu.

/*
This is empty on purpose! Your code to build the resume will go here.
 */
//[string].replace([old],[new])
// biography
var bio = {
    "name": "<NAME> ",
    "role": "Web developer",
    "contacts": {
        "mobile": "+20-112-3319313",
        "email": "<EMAIL>",
        "github": "elhaw",
        "twitter": "@aeaue_body2",
        "location": "Egypt",
        "welcomeMessage": "Welcome to my page, hope you enjoy !!",
    },
    "skills": ["HTML", "Linux", "JavaScript", "C programming", "CSS"],
    "biopic": ["images/fry.jpg"],
    "display": function() {
        var formattedName = HTMLheaderName.replace("%data%", bio.name);
        var formattedRole = HTMLheaderRole.replace("%data%", bio.role);
        var formatedMobile = HTMLmobile.replace("%data%", bio.contacts.mobile);
        var formatedEmail = HTMLemail.replace("%data%", bio.contacts.email);
        var formatedTwitter = HTMLtwitter.replace("%data%", bio.contacts.twitter);
        var formatedGithub = HTMLgithub.replace("%data%", bio.contacts.github);
        var formatedLocation = HTMLlocation.replace("%data%", bio.contacts.location);
        var formatedPicture = HTMLbioPic.replace("%data%", bio.biopic);
        var formattedMessage = HTMLwelcomeMsg.replace("%data%", bio.contacts.welcomeMessage);


        $("#header").prepend(formattedName,formattedRole);
        $("#topContacts").append(formatedMobile,formatedEmail,formatedTwitter,formatedGithub,formatedLocation);
        $("#header").append(formatedPicture,formattedMessage);
        //append multiple elements like this is to include all of the elements as arguments to a single .append()
        $("#footerContacts").append(formatedMobile,formatedEmail,formatedTwitter,formatedGithub,formatedLocation);
        //skills
        var formatedSkillsStart = HTMLskillsStart;
        $("#header").append(formatedSkillsStart);
        if (bio.skills.length !== 0) {
            for (var i = 0; i < bio.skills.length; i++) {
                var formatedSkills = HTMLskills.replace("%data%", bio.skills[i]);
                $("#skills").append(formatedSkills);
            }
        }
    }

};
// work
var work = {
    "jobs": [{
            "employer": "IT solutions",
            "title": "Front-end Web developer",
            "location": "Alexandria",
            "dates": "2016-July till present",
            "description": "responsible for implementing visual and interactive"
        },
        {
            "employer": "overcoffesolution",
            "title": "software developer",
            "location": "Canada",
            "dates": "2020-July till present",
            "description": "develop new software tools to automate fabrication "
        }
    ],
    "display": function() {
        for (var i = 0 ; i < work.jobs.length ; i++)
        {
            var formattedworkStart = HTMLworkStart;
            $("#workExperience").append(formattedworkStart);
            var formatedworkEmployer = HTMLworkEmployer.replace("%data%", work.jobs[i].employer);
            var formatedworkTitle = HTMLworkTitle.replace("%data%", work.jobs[i].title);

            $(".work-entry:last").append(formatedworkEmployer + formatedworkTitle);

            var formatedworkDates = HTMLworkDates.replace("%data%", work.jobs[i].dates);
            $(".work-entry:last").append(formatedworkDates);

            var formatedworkLocation = HTMLworkLocation.replace("%data%", work.jobs[i].location);
            $(".work-entry:last").append(formatedworkLocation);

            var formatedworkDescription = HTMLworkDescription.replace("%data%", work.jobs[i].description);
            $(".work-entry:last").append(formatedworkDescription);
        }

    }
};
//education
var education = {
    "school": [{
            "name": "M<NAME>",
            "degree": "Bachelor",
            "location": "Mansoura",
            "major": "computer science",
            "date": "2009-2015",
            "url": "http://www.mans.edu.eg/"
        },
        {
            "name": "<NAME> of technology",
            "degree": "Master",
            "location": "Austria",
            "major": "Software develompment",
            "date": "2018-2019",
            "url": "https://www.tugraz.at/home/"
        }
    ],
    "onlinecourses": [{

            "title": "JavaScript",
            "school": "Udacity",
            "date": "2016",
            "url": "www.lynda.com"
{'fraction_non_alphanumeric': 0.15048975957257346, 'fraction_numerical': 0.008607895517957851, 'mean_word_length': 2.550403933965578, 'pattern_counts': {'":': 84, '<': 12, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '190584', 'n_tokens_mistral': 2936, 'n_tokens_neox': 2781, 'n_words': 697}