- Hook
- Get the student engaged
- Do
- Get the student involved in the activity (in this case writing on the board)
// Sample program: Count1000.java
public class Count1000 {
| #include "common.h" | |
| #include "a.h" | |
| #include "my_app.h" | |
| static void * _init(MyApp * this, void * (constructor)()) { | |
| return constructor(); | |
| } | |
| static int _run(MyApp * this, void * client) { | |
| A * a = ((AAccessor*) client)->ancestor; |
| { | |
| "configurations": [ | |
| { | |
| "name": "Mac", | |
| "C_Cpp.intelliSenseEngine": "Default", | |
| "includePath": [ | |
| "${workspaceRoot}/include", | |
| "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include" | |
| ], | |
| "intelliSenseMode": "clang-x64", |
| #!/bin/bash | |
| sudo apt update | |
| sudo apt install -y build-essential | |
| wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_9.1.85-1_amd64.deb | |
| sudo dpkg -i cuda-repo-ubuntu1604_9.1.85-1_amd64.deb | |
| sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub | |
| sudo apt update | |
| sudo apt install cuda -y |
| # macOS DL bundle | |
| pylint | |
| yapf | |
| jupyterlab | |
| numpy | |
| scipy | |
| scikit-image | |
| scikit-learn | |
| pillow | |
| matplotlib |
| # prelims | |
| jupyterlab | |
| ipython | |
| flask | |
| yapf | |
| pylint | |
| # cv and ml | |
| numpy | |
| scikit-image |
| λ [Java/build] on master ✔ | |
| → make [924ea77] | |
| Scanning dependencies of target EOgmaNeo | |
| [ 11%] Building CXX object CMakeFiles/EOgmaNeo.dir/Users/damien/oss/eogmaneo/source/eogmaneo/Hierarchy.cpp.o | |
| [ 22%] Building CXX object CMakeFiles/EOgmaNeo.dir/Users/damien/oss/eogmaneo/source/eogmaneo/Layer.cpp.o | |
| [ 33%] Building CXX object CMakeFiles/EOgmaNeo.dir/Users/damien/oss/eogmaneo/source/eogmaneo/Preprocessing.cpp.o | |
| [ 44%] Building CXX object CMakeFiles/EOgmaNeo.dir/Users/damien/oss/eogmaneo/source/eogmaneo/ThreadPool.cpp.o | |
| [ 55%] Building CXX object CMakeFiles/EOgmaNeo.dir/Users/damien/oss/eogmaneo/source/optional/OpenCVInterop.cpp.o | |
| [ 66%] Linking CXX static library libEOgmaNeo.a | |
| [ 66%] Built target EOgmaNeo |
| #!/bin/bash | |
| git log --pretty=format:"%h - %an, %ar : %s" --grep "$@" |
| alias deploy-clojars="GPG_TTY=$(tty) lein deploy clojars" |
| install: | |
| @python3 -m venv env && source env/bin/activate && pip3 install --upgrade -r requirements.txt | |
| notebook: | |
| @source env/bin/activate && jupyter notebook && deactivate | |
| test: | |
| @source env/bin/activate && cd src && pytest && cd .. && deactivate | |
| repl: |