Skip to content

Instantly share code, notes, and snippets.

View jiminj's full-sized avatar

Jimin Jeon jiminj

View GitHub Profile
@jiminj
jiminj / builderror.log
Created June 27, 2022 16:40
CentOS 7 & devtools-9 grpb 1.47.0 build error
[ 27%] Building CXX object CMakeFiles/grpc.dir/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc.o
/opt/rh/devtoolset-9/root/usr/bin/c++ -DCARES_STATICLIB -I/root/grpc/third_party/re2 -I/root/grpc/third_party/zlib -I/root/grpc/include -I/root/grpc -I/root/grpc/third_party/address_sorting/include -I/root/grpc/build/third_party/re2 -I/root/grpc/third_party/boringssl-with-bazel/src/include -I/root/grpc/src/core/ext/upb-generated -I/root/grpc/src/core/ext/upbdefs-generated -I/root/grpc/third_party/upb -I/root/grpc/third_party/xxhash -I/root/grpc/build/third_party/zlib -I/root/grpc/build/third_party/cares/cares -I/root/grpc/third_party/cares/cares -I/root/grpc/third_party/cares/cares/include -I/root/grpc/third_party/abseil-cpp -fPIC -pthread -std=c++17 -MD -MT CMakeFiles/grpc.dir/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc.o -MF CMakeFiles/grpc.dir/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc.o.d -o CMakeFiles/grpc.dir/src/core/ext/filters/client_channel/reso
@jiminj
jiminj / csvcollector.py
Last active April 6, 2022 14:59
collect and rename first csv files found under given subdirectories
import argparse
import os
import glob
import shutil
def dir_path(path):
if os.path.isdir(path):
return path
else:
raise argparse.ArgumentTypeError(f"{path} is not a valid path")
@jiminj
jiminj / prob1.cpp
Last active August 29, 2015 14:20
C++ Solutions to "Five programming problems every Software Engineer should be able to solve in less than 1 hour". (https://blog.svpino.com/2015/05/07/five-programming-problems-every-software-engineer-should-be-able-to-solve-in-less-than-1-hour)
// Problem 1
// Write three functions that compute the sum of the numbers in a given list using a for-loop, a while-loop, and recursion.
#include <iostream>
#include <vector>
int recursiveSummation(std::vector<int> v)
{
if(v.size() == 0)
{ return 0; }