Skip to content

Instantly share code, notes, and snippets.

@nullmastermind
Forked from korakot/kernel.py
Created September 8, 2020 09:31
Show Gist options
  • Save nullmastermind/36da3c3e47e40c0b9cc5b6158d4673e3 to your computer and use it in GitHub Desktop.
Save nullmastermind/36da3c3e47e40c0b9cc5b6158d4673e3 to your computer and use it in GitHub Desktop.

Revisions

  1. @korakot korakot revised this gist May 20, 2020. No changes.
  2. @korakot korakot revised this gist Apr 5, 2020. 1 changed file with 5 additions and 4 deletions.
    9 changes: 5 additions & 4 deletions kernel.py
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,9 @@
    # run this once, then reload, and then skip this
    !apt install rustc
    %env USER=root
    !cargo install evcxr_jupyter
    !/root/.cargo/bin/evcxr_jupyter --install
    !gdown --id 1PULtTc-2e9z4bswh_SQqL5oy_4JpfV7c
    !chmod +x evcxr_jupyter
    !./evcxr_jupyter --install

    // install dependency
    :dep rand = "0.5.5"
    :dep cmd_lib
    use cmd_lib::run_cmd as sh;
  3. @korakot korakot revised this gist Apr 4, 2020. 2 changed files with 9 additions and 0 deletions.
    8 changes: 8 additions & 0 deletions kernel.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    # run this once, then reload, and then skip this
    !apt install rustc
    %env USER=root
    !cargo install evcxr_jupyter
    !/root/.cargo/bin/evcxr_jupyter --install

    // install dependency
    :dep rand = "0.5.5"
    1 change: 1 addition & 0 deletions rust.py
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,3 @@
    # just to use with python
    !apt install rustc
    %env USER=korakot
  4. @korakot korakot created this gist Apr 4, 2020.
    2 changes: 2 additions & 0 deletions rust.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    !apt install rustc
    %env USER=korakot