Skip to content

Instantly share code, notes, and snippets.

View podborski's full-sized avatar

Dimitri Podborski podborski

  • Apple Inc.
  • Cupertino
  • 09:26 (UTC -07:00)
  • LinkedIn in/podborski
View GitHub Profile
@podborski
podborski / private_fork.md
Created March 23, 2021 10:50 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

@podborski
podborski / simple_program_options.cpp
Last active July 26, 2019 17:25
Very simple c++ program options class, In case you don't want to use any libs and just need a very simple parsing stuff.
#include <string>
#include <vector>
#include <algorithm>
#include <iostream>
class SimpleCmdOptionParser
{
typedef std::vector<std::string> OptList;
public:
SimpleCmdOptionParser(int32_t argc, char** argv)