Skip to content

Instantly share code, notes, and snippets.

View lightyears1998's full-sized avatar

lightyears lightyears1998

View GitHub Profile
@lightyears1998
lightyears1998 / source.cpp
Created May 25, 2020 03:31
银行家算法演示程序
// 银行家算法演示程序
#include "third-party-table_printer.h"
#include <cassert>
#include <ctime>
#include <vector>
#include <iostream>
using namespace std;
@DangoSky
DangoSky / cat-click-meme.markdown
Created September 24, 2018 02:36
Cat Click Meme
@jeffcrouse
jeffcrouse / poco_http_post_headers.cpp
Last active February 9, 2023 03:36
Poco HTTPPOST request with headers
#include <Poco/Net/HTTPClientSession.h>
#include <Poco/Net/HTTPRequest.h>
#include <Poco/Net/HTTPResponse.h>
#include <Poco/StreamCopier.h>
#include <Poco/Path.h>
#include <Poco/URI.h>
#include <Poco/Exception.h>
using namespace Poco::Net;
using namespace Poco;
git config --global https.proxy http://127.0.0.1:1080
git config --global https.proxy https://127.0.0.1:1080
git config --global --unset http.proxy
git config --global --unset https.proxy
npm config delete proxy