Before install nvidia-docker, you will need these first:
Then download these file:
| #include <cstdlib> | |
| #include <iostream> | |
| #include <string> | |
| using namespace std; | |
| wstring StringToWString(const string& str) | |
| { | |
| wstring wstr; | |
| size_t size; |
| wget --no-check-certificate --content-disposition https://github.com/joyent/node/tarball/v0.7.1 | |
| # --no-check-cerftificate was necessary for me to have wget not puke about https | |
| curl -LJO https://github.com/joyent/node/tarball/v0.7.1 |
| $path = $args[0] | |
| Add-Type -AssemblyName PresentationFramework | |
| [System.Windows.MessageBox]::Show("Hello $path") |
| #include <windows.h> | |
| #include <sysinfoapi.h> | |
| #include "biosuuid.h" | |
| /*! | |
| SMBIOS Structure header as described at | |
| https://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.3.0.pdf | |
| (para 6.1.2) |
| General principles for good URI design: | |
| Don't use query parameters to alter state | |
| Don't use mixed-case paths if you can help it; lowercase is best | |
| Don't use implementation-specific extensions in your URIs (.php, .py, .pl, etc.) | |
| Don't fall into RPC with your URIs | |
| Do limit your URI space as much as possible | |
| Do keep path segments short | |
| Do prefer either /resource or /resource/; create 301 redirects from the one you don't use | |
| Do use query parameters for sub-selection of a resource; i.e. pagination, search queries |
Before install nvidia-docker, you will need these first:
Then download these file:
adb push ~/android-sdk-linux/ndk-bundle/prebuilt/android-<arch>/gdbserver/gdbserver /data/local/tmp
adb shell "chmod 777 /data/local/tmp/gdbserver"
adb shell "ls -l /data/local/tmp/gdbserver"
adb forward tcp:1337 tcp:1337
Dùng để map port máy local đến server
ssh [-f: background] [-N: forwarding only] -R <host_port>:localhost:<client_port> <host_domain>
Dùng để map port server về local
ssh [-f] [-N] -L 0.0.0.0:<client_port>:localhost:<host_port> user@<host_domance> -p <port>
| ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/id_rsa | |
| ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/github_rsa | |
| ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/mozilla_rsa |
The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.
The correct way of creating a private frok by duplicating the repo is documented here.
For this assignment the commands are:
git clone --bare [email protected]:usi-systems/easytrace.git