| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 90ddf0a commit 4654e23
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -366,7 +366,7 @@ line number: | |||
| 366 | 366 | ||
| 367 | 367 | This new output shows us exactly where the leak is occurring in the file `hello.cc`: | |
| 368 | 368 | ||
| 369 | - ```C++ | ||
| 369 | + ```cpp | ||
| 370 | 370 | 6 void* malloc_holder = nullptr; | |
| 371 | 371 | 7 napi_value Method(napi_env env, napi_callback_info info) { | |
| 372 | 372 | 8 napi_status status; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -59,7 +59,7 @@ package managers or download it from <https://www.r-project.org/>. | |||
| 59 | 59 | The R packages `ggplot2` and `plyr` are also used and can be installed using | |
| 60 | 60 | the R REPL. | |
| 61 | 61 | ||
| 62 | - ```R | ||
| 62 | + ```console | ||
| 63 | 63 | $ R | |
| 64 | 64 | install.packages("ggplot2") | |
| 65 | 65 | install.packages("plyr") | |
@@ -71,7 +71,7 @@ selected first, specify a mirror by adding in the repo parameter. | |||
| 71 | 71 | If we used the "<http://cran.us.r-project.org>" mirror, it could look something | |
| 72 | 72 | like this: | |
| 73 | 73 | ||
| 74 | - ```R | ||
| 74 | + ```r | ||
| 75 | 75 | install.packages("ggplot2", repo="http://cran.us.r-project.org") | |
| 76 | 76 | ``` | |
| 77 | 77 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -860,7 +860,7 @@ Node.js provides a few macros that behave similar to `assert()`: | |||
| 860 | 860 | The `OnScopeLeave()` function can be used to run a piece of code when leaving | |
| 861 | 861 | the current C++ scope. | |
| 862 | 862 | ||
| 863 | - ```c++ | ||
| 863 | + ```cpp | ||
| 864 | 864 | static void GetUserInfo(const FunctionCallbackInfo<Value>& args) { | |
| 865 | 865 | Environment* env = Environment::GetCurrent(args); | |
| 866 | 866 | uv_passwd_t pwd; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments