<commit_before># GTL
Grab Tokilearning

Script for grabbing source code of accepted submission in [Tokilearning](http://tokilearning.org/).

## Usage

    ./gtl.sh [PHPSESSID]


## License

MIT License. See [LICENSE](LICENSE)<commit_msg>Add explanation to get PHPSESSID<commit_after># GTL
Grab Tokilearning

Script for grabbing source code of accepted submission in [Tokilearning](http://tokilearning.org/).

## Usage

1. Login to [Tokilearning](http://tokilearning.org/)
2. Open Developer Console (CTRL+SHIFT+K in firefox, CTRL+SHIFT+J in chrome) and copy the following script:

    c=document.cookie.split('; ');k={};for(var i=0;i<c.length;i++){p=c[i].split('=');k[p[0]]=p[1];};console.log(k['PHPSESSID'])

3. You'll get PHPSESSID of your login session. Copy that string and use it in the following command.

    ./gtl.sh [PHPSESSID]

4. Profit

## License

MIT License. See [LICENSE](LICENSE)
{'fraction_non_alphanumeric': 0.1452513966480447, 'fraction_numerical': 0.00782122905027933, 'mean_word_length': 4.856209150326797, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6549936', 'n_tokens_mistral': 315, 'n_tokens_neox': 300, 'n_words': 89}