Skip to content

Instantly share code, notes, and snippets.

Avatar

Deqing Huang (Devin) deqing

View GitHub Profile
@deqing
deqing / linux.md
Created Oct 4, 2018
my linux cheatsheet
View linux.md
View a.gao.cc
#include <stdio.h>
#include <string.h>
using namespace std;
char** str_split(const char* input, int* num) {
/* implement please */
*num = 2;
int len = strlen(input);
// escape the leading whitespace