Skip to content

Instantly share code, notes, and snippets.

Avatar

Avatar Arctic fcharlie

View GitHub Profile
@fcharlie
fcharlie / complete.go
Created Aug 31, 2020
create too many commits
View complete.go
package main
import (
"fmt"
"os"
"time"
"github.com/go-git/go-git/v5"
"github.com/go-git/go-git/v5/plumbing"
"github.com/go-git/go-git/v5/plumbing/object"
@fcharlie
fcharlie / blobview.go
Created Aug 19, 2020
golang lookup git object
View blobview.go
package main
import (
"compress/zlib"
"crypto/sha1"
"encoding/hex"
"errors"
"fmt"
"hash"
"io"
View neovim.init.vim
# ~/AppData/Local/nvim/init.vim
# ~/.config/nvim/init.vim
set guicursor=a:ver25-blinkon10
View process_in_job.cc
//
#include <Windows.h>
class ProcessGroup {
public:
ProcessGroup() = default;
ProcessGroup(const ProcessGroup &) = delete;
ProcessGroup &operator=(const ProcessGroup &) = delete;
~ProcessGroup() {
if (hJob != nullptr) {
View Sarasa-Gothic
https://mirrors.tuna.tsinghua.edu.cn/github-release/be5invis/
https://mirrors.tuna.tsinghua.edu.cn/github-release/be5invis/Sarasa-Gothic/
https://www.lanzous.com/b405554/
View Good Github
```
github.io. 3600 IN A 185.199.108.153
github.io. 3600 IN A 185.199.111.153
github.io. 3600 IN A 185.199.109.153
github.io. 3600 IN A 185.199.110.153
```
@fcharlie
fcharlie / profile.json
Last active Feb 18, 2021
My Windows Terminal profile.json
View profile.json
// This file was initially generated by Windows Terminal 0.11.1333.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
// You can add more global application settings here.
View vadefs.h
//
// vadefs.h
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Definitions of macro helpers used by <stdarg.h>. This is the topmost header
// in the CRT header lattice, and is always the first CRT header to be included,
// explicitly or implicitly. Therefore, this header also has several definitions
// that are used throughout the CRT.
//
View ProjectedFSLib.h
/*++
Copyright (c) Microsoft Corporation. All rights reserved.
Module Name:
projectedfslib.h
Abstract:
View benchmark_naive.cpp
#include <asio.hpp>
#include <asio/ssl.hpp>
#include <algorithm>
#include <atomic>
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <memory>
#include <thread>