Skip to content

Instantly share code, notes, and snippets.

@aliakbarRashidi
Forked from runo280/00readme.md
Created November 14, 2018 02:47
Show Gist options
  • Select an option

  • Save aliakbarRashidi/e3b68e78e2bda6bb5c4056388ab3a382 to your computer and use it in GitHub Desktop.

Select an option

Save aliakbarRashidi/e3b68e78e2bda6bb5c4056388ab3a382 to your computer and use it in GitHub Desktop.

Revisions

  1. @runo280 runo280 revised this gist Nov 14, 2018. 2 changed files with 25 additions and 0 deletions.
    20 changes: 20 additions & 0 deletions room.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    #!/bin/bash

    #https://caster.io/courses/storing-data-in-android-with-room
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-room-room-introduction-and-integration" -o "1- Introduction and Integration 01:35.mp4"
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-room-room-creating-the-database" -o "2- Creating the Database 02:23.mp4"
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-room-room-defining-an-entity" -o "3- Defining an Entity 02:02.mp4"
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-room-room-custom-sql-table-and-column-names" -o "4- Custom SQL Table and Column Names 01:20.mp4"
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-room-room-creating-the-data-access-object-dao" -o "5- Creating the Data Access Object (DAO) 01:50.mp4"
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-room-room-inserting-entities-with-the-insert-annotation" -o "6- Inserting Entities with the @Insert Annotation 03:29.mp4"
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-room-room-reading-data-using-the-query-annotation" -o "7- Reading data using the @Query Annotation 02:34.mp4"
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-room-livedata" -o "8- LiveData 03:00.mp4"
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-room-passing-parameters-into-a-query" -o "9- Passing Parameters into a @Query 02:23.mp4"
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-room-delete-annotation" -o "10- Deleting entities using the @Delete annotation 02:56.mp4"
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-room-updating-an-entity-using-the-update-annotation" -o "11- Updating an entity using the @Update annotation 02:32.mp4"
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-room-foreign-key-relationships" -o "12- Foreign Key Relationships 03:55.mp4"
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-room-one-to-many-relationships" -o "13- One to Many Relationships 04:28.mp4"
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-room-relation-annotation" -o "14- @Relation annotation 04:05.mp4"
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-room-many-to-many-relationship" -o "15- Many to Many Relationship 11:25.mp4"
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-room-typeconverter" -o "16- TypeConverter 02:39.mp4"
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-room-database-migrations" -o "17- Database Migrations 05:29.mp4"
    5 changes: 5 additions & 0 deletions vector_drawables.sh → {expired}_vector_drawables.sh
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,9 @@
    #!/bin/bash

    #**********************
    #free download expired now!
    #**********************

    #https://caster.io/courses/android-vector-drawables-fundamentals
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-vector-drawables-fundamentals-widths-heights" -o "1- Widths & Heights.mp4"
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-vector-drawables-fundamentals-paths" -o "2- Paths.mp4"
  2. @runo280 runo280 revised this gist Sep 8, 2018. No changes.
  3. @runo280 runo280 renamed this gist Sep 8, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion 1kodein.sh → {expired}_kodein.sh
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    #!/bin/bash

    #**********************
    #free time expired now!
    #free download expired now!
    #**********************

    #https://caster.io/courses/dependency-injection-in-android-using-kodein
  4. @runo280 runo280 revised this gist Sep 8, 2018. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions 1kodein.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,9 @@
    #!/bin/bash

    #**********************
    #free time expired now!
    #**********************

    #https://caster.io/courses/dependency-injection-in-android-using-kodein
    youtube-dl --config-location casterconf.txt "https://caster.io/lessons/kodein-android-whats-kodein" -o "1- What's Kodein 01:53.mp4"
    youtube-dl --config-location casterconf.txt "https://caster.io/lessons/kodein-android-first-steps" -o "2- First Steps 01:58.mp4"
  5. @runo280 runo280 revised this gist Sep 8, 2018. 3 changed files with 2 additions and 2 deletions.
    2 changes: 0 additions & 2 deletions 00readme.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,3 @@
    [K0tlin_Dependency_1njection_with_K0dein](https://caster.io/courses/dependency-injection-in-android-using-kodein)

    ## How to use

    ###### 1- Install requirements:
    1 change: 1 addition & 0 deletions 1kodein.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,6 @@
    #!/bin/bash
    #free time expired now!
    #https://caster.io/courses/dependency-injection-in-android-using-kodein
    youtube-dl --config-location casterconf.txt "https://caster.io/lessons/kodein-android-whats-kodein" -o "1- What's Kodein 01:53.mp4"
    youtube-dl --config-location casterconf.txt "https://caster.io/lessons/kodein-android-first-steps" -o "2- First Steps 01:58.mp4"
    youtube-dl --config-location casterconf.txt "https://caster.io/lessons/kodein-android-the-application-scope" -o "3- The Application Scope 01:56.mp4"
    1 change: 1 addition & 0 deletions vector_drawables.sh
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    #!/bin/bash
    #https://caster.io/courses/android-vector-drawables-fundamentals
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-vector-drawables-fundamentals-widths-heights" -o "1- Widths & Heights.mp4"
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-vector-drawables-fundamentals-paths" -o "2- Paths.mp4"
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-vector-drawables-fundamentals-clip-paths" -o "3- Clip Paths.mp4"
  6. @runo280 runo280 renamed this gist Sep 8, 2018. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  7. @runo280 runo280 revised this gist Sep 8, 2018. 4 changed files with 13 additions and 3 deletions.
    File renamed without changes.
    6 changes: 3 additions & 3 deletions 0readme.md
    Original file line number Diff line number Diff line change
    @@ -6,12 +6,12 @@

    `sudo apt install aria2 youtube-dl`

    ###### 2- Make `caster.sh` excutable:
    ###### 2- Make `[script_file_name].sh` excutable:

    `chmod +x caster.sh`
    `chmod +x [script_file_name].sh`

    ###### 3- Put `casterconf.txt` alongside the `caster.conf`

    ###### 4- Run the script:

    `./caster.sh`
    `./[script_file_name].sh`
    1 change: 1 addition & 0 deletions caster.sh → 1kodein.sh
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    #!/bin/bash
    #free time expired now!
    youtube-dl --config-location casterconf.txt "https://caster.io/lessons/kodein-android-whats-kodein" -o "1- What's Kodein 01:53.mp4"
    youtube-dl --config-location casterconf.txt "https://caster.io/lessons/kodein-android-first-steps" -o "2- First Steps 01:58.mp4"
    youtube-dl --config-location casterconf.txt "https://caster.io/lessons/kodein-android-the-application-scope" -o "3- The Application Scope 01:56.mp4"
    9 changes: 9 additions & 0 deletions vector_drawables.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    #!/bin/bash
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-vector-drawables-fundamentals-widths-heights" -o "1- Widths & Heights.mp4"
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-vector-drawables-fundamentals-paths" -o "2- Paths.mp4"
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-vector-drawables-fundamentals-clip-paths" -o "3- Clip Paths.mp4"
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-vector-drawables-fundamentals-groups" -o "4- Groups.mp4"
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-vector-drawables-fundamentals-rendering" -o "5- Rendering.mp4"
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-vector-drawables-fundamentals-inline-complex-xml-resources" -o "6- Inline Complex XML Resources.mp4"
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-vector-drawables-fundamentals-gradients" -o "7- Gradients.mp4"
    youtube-dl --config-location casterconf "https://caster.io/lessons/android-vector-drawables-fundamentals-fill-windings" -o "8- Fill Windings.mp4"
  8. @runo280 runo280 revised this gist Aug 23, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion 0readme.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    (K0tlin_Dependency_1njection_with_K0dein)[https://caster.io/courses/dependency-injection-in-android-using-kodein]
    [K0tlin_Dependency_1njection_with_K0dein](https://caster.io/courses/dependency-injection-in-android-using-kodein)

    ## How to use

  9. @runo280 runo280 created this gist Aug 23, 2018.
    17 changes: 17 additions & 0 deletions 0readme.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    (K0tlin_Dependency_1njection_with_K0dein)[https://caster.io/courses/dependency-injection-in-android-using-kodein]

    ## How to use

    ###### 1- Install requirements:

    `sudo apt install aria2 youtube-dl`

    ###### 2- Make `caster.sh` excutable:

    `chmod +x caster.sh`

    ###### 3- Put `casterconf.txt` alongside the `caster.conf`

    ###### 4- Run the script:

    `./caster.sh`
    18 changes: 18 additions & 0 deletions caster.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    #!/bin/bash
    youtube-dl --config-location casterconf.txt "https://caster.io/lessons/kodein-android-whats-kodein" -o "1- What's Kodein 01:53.mp4"
    youtube-dl --config-location casterconf.txt "https://caster.io/lessons/kodein-android-first-steps" -o "2- First Steps 01:58.mp4"
    youtube-dl --config-location casterconf.txt "https://caster.io/lessons/kodein-android-the-application-scope" -o "3- The Application Scope 01:56.mp4"
    youtube-dl --config-location casterconf.txt "https://caster.io/lessons/kodein-android-your-first-injection-3748a2" -o "4- Your first Injection 02:31.mp4"
    youtube-dl --config-location casterconf.txt "https://caster.io/lessons/kodein-android-lazy-injections" -o "5- Lazy Injections 01:35.mp4"
    youtube-dl --config-location casterconf.txt "https://caster.io/lessons/kodein-android-scoped-injection-activity-scope" -o "6- Scoped Injection: Activity Scope 03:54.mp4"
    youtube-dl --config-location casterconf.txt "https://caster.io/lessons/kodein-android-injecting-dependencies-on-the-activity-scope" -o "7- Injecting dependencies on the Activity Scope 03:19.mp4"
    youtube-dl --config-location casterconf.txt "https://caster.io/lessons/kodein-android-transitive-dependencies" -o "8- Transitive Dependencies 03:46.mp4"
    youtube-dl --config-location casterconf.txt "https://caster.io/lessons/kodein-android-injecting-singletons" -o "9- Injecting Singletons 03:46.mp4"
    youtube-dl --config-location casterconf.txt "https://caster.io/lessons/kodein-android-tagged-injections" -o "10- Tagged injections 02:46.mp4"
    youtube-dl --config-location casterconf.txt "https://caster.io/lessons/kodein-android-constant-injection" -o "11- Constant Injection 02:55.mp4"
    youtube-dl --config-location casterconf.txt "https://caster.io/lessons/kodein-android-adding-a-detail-activity" -o "12- Adding a Detail Activity 04:24.mp4"
    youtube-dl --config-location casterconf.txt "https://caster.io/lessons/kodein-android-injecting-navigation" -o "13- Injecting Navigation 03:51.mp4"
    youtube-dl --config-location casterconf.txt "https://caster.io/lessons/kodein-android-injecting-fragments" -o "14- Injecting Fragments 02:46.mp4"
    youtube-dl --config-location casterconf.txt "https://caster.io/lessons/kodein-android-injecting-customviews" -o "15- Injecting CustomViews 02:55.mp4"
    youtube-dl --config-location casterconf.txt "https://caster.io/lessons/kodein-android-testing-your-architecture-mock-injection" -o "16- Testing your architecture (mock injection) 04:59.mp4"
    youtube-dl --config-location casterconf.txt "https://caster.io/lessons/kodein-android-injecting-mocks-on-your-ui-tests" -o "17- Injecting Mocks on your UI tests 04:47.mp4"
    9 changes: 9 additions & 0 deletions casterconf.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    --ignore-config
    --external-downloader aria2c
    --external-downloader-args "--max-concurrent-downloads=1 --continue --max-connection-per-server=16 --min-split-size=1M --split=16 --enable-color=true --human-readable=true"
    --ignore-errors
    --continue
    --console-title
    --user-agent "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0"
    --no-playlist
    --format original