Install Team Explorer Everywhere Command Line Client
- Press Command+Space and type Terminal and press enter/return key.
- Install HomeBrew by running command in Terminal app
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null- Run:
It's not immediately obvious how to pull down the code for a PR and test it locally. But it's pretty easy. (This assumes you have a remote for the main repo named upstream.)
Getting the PR code
-
Make note of the PR number. For example, Rod's latest is PR #37: Psiphon-Labs/psiphon-tunnel-core#37
-
Fetch the PR's pseudo-branch (or bookmark or rev pointer whatever the word is), and give it a local branch name. Here we'll name it
pr37:
$ git fetch upstream pull/37/head:pr37
| auto conn = std::make_shared<QMetaObject::Connection>(); | |
| *conn = QObject::connect(obj, &Object::signal, this, [this, conn]() { | |
| disconnect(*conn); | |
| }); |
| #!/bin/bash | |
| WIDTH=1280 | |
| HEIGHT=800 | |
| x11_cmd=x11vnc | |
| if [[ ! -z $(pgrep ${x11_cmd}) ]]; then | |
| pkill ${x11_cmd} | |
| fi |
| // Lua C API | |
| #include <lua.hpp> | |
| // C++ input/output streams | |
| #include <iostream> | |
| // MyObject as C++ class | |
| class MyObject{ | |
| private: | |
| double x; | |
| public: |
This is a sample markdown file to help you write Markdown quickly :)
If you use the fabulous [Sublime Text 2/3 editor][ST] along with the [Markdown Preview plugin][MarkdownPreview], open your ST2 Palette with CMD+⇧+P then choose Markdown Preview in browser to see the result in your browser.
this is italic and this is bold . another italic and another bold