Ref: https://gist.github.com/rnwolf/e09ae9ad6d3ac759767d129d52cab1f1
Key Binding | Description |
---|---|
SPC | < space > |
RET | < return > |
C | < ctrl > |
M | < alt >, M stands for Meta |
#include <sys/time.h> | |
#include <cuda_runtime.h> | |
#include <stdio.h> | |
inline double seconds() | |
{ | |
struct timeval tp; | |
struct timezone tzp; | |
int i = gettimeofday(&tp, &tzp); | |
return ((double)tp.tv_sec + (double)tp.tv_usec * 1.e-6); |
[global_config] | |
title_hide_sizetext = True | |
title_transmit_bg_color = "#ededed" | |
enabled_plugins = LaunchpadCodeURLHandler, APTURLHandler, LaunchpadBugURLHandler | |
title_transmit_fg_color = "#080808" | |
title_inactive_bg_color = "#ededed" | |
[keybindings] | |
[profiles] | |
[[default]] | |
use_system_font = False |
[global_config] | |
suppress_multiple_term_dialog = True | |
title_transmit_bg_color = "#c00909" | |
[keybindings] | |
[layouts] | |
[[default]] | |
[[[child0]]] | |
fullscreen = False | |
last_active_term = f6492e56-7053-4ce3-8780-d71bd7ae0843 | |
last_active_window = True |
;; I have no idea why it works. This is the product of 4 hours of trial-and-error. | |
(defun dotspacemacs/user-init () | |
"Initialization function for user code. | |
It is called immediately after `dotspacemacs/init'. You are free to put almost | |
any user code here. The exception is org related code, which should be placed | |
in `dotspacemacs/user-config'." | |
(server-start) | |
(require 'org-protocol) | |
) |
Ref: https://gist.github.com/rnwolf/e09ae9ad6d3ac759767d129d52cab1f1
Key Binding | Description |
---|---|
SPC | < space > |
RET | < return > |
C | < ctrl > |
M | < alt >, M stands for Meta |
{"lastUpload":"2020-09-17T09:00:52.592Z","extensionVersion":"v3.4.3"} |
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
# Added by me | |
sudo apt-get install freeglut3 freeglut3-dev libtbb-dev libqt4-dev | |
# install deps | |
sudo apt-get install build-essential cmake git pkg-config | |
sudo apt-get install libjpeg8-dev libtiff4-dev libjasper-dev libpng12-dev | |
sudo apt-get install libgtk2.0-dev | |
sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libv4l-dev | |
sudo apt-get install libatlas-base-dev gfortran | |
# clone opencv source | |
mkdir softwares |
$xz -d ***.tar.xz | |
$tar -xvf ***.tar |