This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# enable line editing for terminal | |
if [ -t 1 ]; then | |
bind '"\e[A": history-search-backward' | |
bind '"\e[B": history-search-forward' | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Download ICGC public release in a semi-automated manner | |
# | |
# Usage: ./download_icgc.sh | |
# | |
# Be sure to check the original link to contain all summary files | |
# https://dcc.icgc.org/releases/release_23/Summary | |
# and list all files you want from the cohorts in contents(). | |
# | |
# There may be different contents in the project folders. Check a couple, e.g.: | |
# https://dcc.icgc.org/releases/release_23/Projects/CLLE-ES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" install plug by | |
" curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \ | |
" https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
" expand tab with 4 spaces | |
set expandtab | |
set shiftwidth=4 | |
set tabstop=4 | |
set smarttab | |
set autoindent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// gcc -DZMQ_BUILD_DRAFT_API=ON -lzmq -o test_monitor test_monitor.c | |
// ./test_monitor | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <zmq.h> | |
void recv_print(void *frontend) { | |
zmq_msg_t message; |
OlderNewer