Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 516e461
Author: Mikhail Antonov <hermes@cyllene.net>
Date:   Thu Feb 20 22:22:49 2020 +0300

    Travis icon link fixed

commit f121fdb
Author: Mikhail Antonov <hermes@cyllene.net>
Date:   Thu Feb 20 22:20:53 2020 +0300

    Readme added

commit c7066ac
Author: Mikhail Antonov <hermes@cyllene.net>
Date:   Thu Feb 20 22:09:22 2020 +0300

    Simple travis config added

commit 604e5cc
Author: Mikhail Antonov <hermes@cyllene.net>
Date:   Thu Feb 20 21:43:46 2020 +0300

    Version bump, cleanup

commit fe4bf18
Author: Mikhail Antonov <hermes@cyllene.net>
Date:   Thu Feb 20 20:38:44 2020 +0300

    It's alive. Again

commit 12196c9
Author: Mikhail Antonov <hermes@cyllene.net>
Date:   Thu Feb 20 17:21:36 2020 +0300

    Ooops, removed the wrapper

commit 3e72e2e
Author: Mikhail Antonov <hermes@cyllene.net>
Date:   Thu Feb 20 17:15:13 2020 +0300

    Submission creation time converter added

commit 21f599b
Author: Mikhail Antonov <hermes@cyllene.net>
Date:   Thu Feb 20 17:03:24 2020 +0300

    The data can be read from server, all tests are green

    Time to do a little bit more refactoring and write data to output files

commit ea93a32
Author: Mikhail Antonov <hermes@cyllene.net>
Date:   Thu Feb 20 13:01:48 2020 +0300

    API client modifications. Broken build

commit 0d6a91f
Author: Mikhail Antonov <hermes@cyllene.net>
Date:   Thu Feb 20 09:14:22 2020 +0300

    Version bump

commit 64daf3f
Author: Mikhail Antonov <hermes@cyllene.net>
Date:   Thu Feb 20 09:11:40 2020 +0300

    cosm.

commit 5f64973
Author: Mikhail Antonov <hermes@cyllene.net>
Date:   Thu Feb 20 00:27:17 2020 +0300

    Refactored input and error handling

commit 288dd46
Author: Mikhail Antonov <hermes@cyllene.net>
Date:   Wed Feb 19 12:27:04 2020 +0300

    Gradle update

    Tests migration to Junit5
    API broken, to be refactored
    Boilerplate code replaced with Lombok annotations

commit dd3d5f6
Author: Mikhail Antonov <hermes@cyllene.net>
Date:   Wed Feb 19 10:37:09 2020 +0300

    Cleanup
  • Loading branch information
hermes-jr committed Feb 20, 2020
1 parent c8a4a95 commit f5fc644
Show file tree
Hide file tree
Showing 50 changed files with 1,660 additions and 2,437 deletions.
16 changes: 13 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
# Mobile Tools for Java (J2ME)
.mtj.tmp/

.gradle
/build/

# Ignore Gradle GUI config
gradle-app.setting

# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar

# Package Files #
*.jar
*.war
Expand All @@ -11,6 +20,7 @@
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

# IDEA config
*workspace.xml
.idea/libraries/
# IDEA files
.idea/
*.iml
out/
26 changes: 0 additions & 26 deletions .idea/compiler.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/copyright/Apache_2_0.xml

This file was deleted.

3 changes: 0 additions & 3 deletions .idea/copyright/profiles_settings.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/encodings.xml

This file was deleted.

20 changes: 0 additions & 20 deletions .idea/gradle.xml

This file was deleted.

11 changes: 0 additions & 11 deletions .idea/libraries/Gradle__junit_junit_4_11.xml

This file was deleted.

11 changes: 0 additions & 11 deletions .idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml

This file was deleted.

57 changes: 0 additions & 57 deletions .idea/misc.xml

This file was deleted.

10 changes: 0 additions & 10 deletions .idea/modules.xml

This file was deleted.

12 changes: 0 additions & 12 deletions .idea/modules/hackerrank-downloader.iml

This file was deleted.

21 changes: 0 additions & 21 deletions .idea/modules/hackerrank-downloader_main.iml

This file was deleted.

27 changes: 0 additions & 27 deletions .idea/modules/hackerrank-downloader_test.iml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
language: java
sudo: false
jdk:
- openjdk8
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# HackerRank Submissions Downloader

[![Build Status](https://travis-ci.org/hermes-jr/hackerrank-get-my-solutions.svg?branch=master)](https://travis-ci.org/hermes-jr/hackerrank-get-my-solutions)

## Usage

```
java -jar hackerrank-downloader.jar [-d <PATH>] [-f] [-h] [-l <NUMBER>] [-o <NUMBER>] [-v]
-d,--directory <PATH> path to output directory. Default: current
working directory
-f,--force-overwrite Force overwrite if output directory exists. May
lead to data loss.
-h,--help display this help and exit
-l,--limit <NUMBER> number of solved challenges to download. Default
is 65535
-o,--offset <NUMBER> number of items to skip. Default is 0
-v,--verbose run in verbose mode
Application expects a file .hackerrank-downloader-key to exist in your
home directory. It must contain a single ASCII line, a value of
"_hrank_session" cookie variable
```
Loading

0 comments on commit f5fc644

Please sign in to comment.