Based on the following guides:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* debug.css | MIT License | zaydek.github.com/debug.css */ if (!("is_debugging" in window)) { is_debugging = false; var debug_el = document.createElement("style"); debug_el.append(document.createTextNode(`*:not(g):not(path) { color: hsla(210, 100%, 100%, 0.9) !important; background: hsla(210, 100%, 50%, 0.5) !important; outline: solid 0.25rem hsla(210, 100%, 100%, 0.5) !important; box-shadow: none !important; filter: none !important; }`)); } function enable_debugger() { if (!is_debugging) { document.head.appendChild(debug_el); is_debugging = true; } } function disable_debugger() { if (is_debugging) { document.head.removeChild(debug_el); is_debugging = false; } } !is_debugging ? enable_debugger() : disable_debugger(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # flake8 with black, import-order, bugbear, bandit | |
| [flake8] | |
| select = B,B9,BLK,C,E,F,I,W | |
| ignore = E203,E501,W503 | |
| max-line-length = 80 | |
| max-complexity = 10 | |
| import-order-style = google | |
| application-import-names = app1,app2 #your applications name here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # EditorConfig is awesome: https://EditorConfig.org | |
| # top-most EditorConfig file | |
| root = true | |
| # Unix-style newlines with a newline ending every file | |
| [*] | |
| charset = utf-8 | |
| end_of_line = lf | |
| indent_style = space |
- UE 4.25 doesn't come with nvidia codeworks anymore, so it's necessary to download and install android studio
- Follow Setting Up Android SDK and NDK for Unreal
- Currently (as for 2020-05-09), step 3. Setting Up Unreal to Use Android NDK r21b doesn't work because
sdkmanagerdoesn't support installinglldb;3.1anymore. So you have to delete it from theSetupAndroidscript (line 75 from the .bat version):
- Currently (as for 2020-05-09), step 3. Setting Up Unreal to Use Android NDK r21b doesn't work because
call "%SDKMANAGER%" "platform-tools" "platforms;android-28" "build-tools;28.0.3" "cmake;3.10.2.4988404" "ndk;21.1.6352462"
Source: pop-os/tensorman#10 (comment)
When launching a container, be sure to supply the port mappings argument to map the port from the container to the host.
tensorman run -p 8888:8888 --gpu --python3 --jupyter bash
Within the container, you may start the Jupyter notebook with
- Install tensorflow:
sudo apt install tensorflow-cuda-latest - Install cuda:
sudo apt install system76-cuda-latest
- Download latest miniconda installer from https://docs.conda.io/en/latest/miniconda.html
- Install it:
bash Miniconda3-latest-Linux-x86_64.sh - Create conda environment with tensorflow-gpu support:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # fonte: http://sandipbgt.com/2015/10/01/control-screen-brightness-from-commandline-in-ubuntu/ | |
| xrandr --output DP-2 --brightness 0.3 |
Source: https://gist.github.com/Brainiarc7/6d6c3f23ea057775b72c52817759b25c
After installing CUDA, create a library configuration file for cupti:
/etc/ld.so.conf.d/cupti.conf