Minimum output of git log with author and date
How to display (at least) git log output of this information:
* author
* commit date
* change
I want each log entry to be compressed to one row. What is the shortest format?
(tried -- format=oneline but did not show date)
#1 building
git log --pretty=format:"%H %an %ad"
Use -- date = to format the date
git log --pretty=format:" ...
Added by GrizzlyBear on Sat, 08 Feb 2020 19:01:11 +0200
Read and write M1 card with PN532 on raspberry pie
This article is only for technical communication, not for illegal activities
WeChat public: ancient tablets
I will share all kinds of dry goods on WeChat public address. Welcome to play!
1, Preparation tools:
Raspberry Pie:
I use Raspberry Pi 3B. Now four generations of raspberry pie have been relea ...
Added by dstar101 on Sat, 08 Feb 2020 11:49:35 +0200
smac source analysis: a preliminary exploration of smac
Application of smac: auto-sklearn
SMAC(Sequential Model-based Algorithm Configuration), an algorithm configuration based on sequence models, is widely used in various automatic machine learning frameworks, such as Microsoft nni. https://github.com/microsoft/nni ), auto-sklearn, etc.The superparametric ...
Added by renj0806 on Fri, 07 Feb 2020 07:22:02 +0200
Python: sparse array and triangle array
Sparse array
Sparse array application scenario:
When array size is large and space utilization is low, sparse array should be used for storage
The following implementation of sparse array 0, row 0 and column are not used to store data. They are reserved for row size and other data. A ...
Added by pikemsu28 on Sat, 01 Feb 2020 18:14:49 +0200
Summary of git-stash usage
A class was found to be redundant, and to delete it, you were worried that you would need to view its code later, you wanted to save it, but you didn't want to add a dirty submission.You can then consider git stash.
When using git, we often use branch to solve task switching problems. For example, we often build our own branch to modify and ...
Added by kkeim on Thu, 23 Jan 2020 09:50:00 +0200
When postgresql compiles source code, add configuration options in precompiled configure
Absrtact: This article mainly talks about how to add a configuration option for the auto precompiled script configure in the source code of Postgresql and find a simple example to illustrate. In the src/include/storage/proc.h header file, add an array of bytes occupied by the PGXACT structure.
1. First, take a look at a pic ...
Added by olsrey on Wed, 22 Jan 2020 17:46:30 +0200
cobra of Go daily
brief introduction
cobra Is a command itinerary library, can be used to write command-line programs. It also provides a scaffold,
Used to generate cobra based application framework. Many well-known open source projects use cobra library to build command line, such as Kubernetes,Hugo,etcd Wait, wait, wait.
This paper introduces the basic use of ...
Added by Bullet on Sat, 18 Jan 2020 11:57:23 +0200
Bramble pie 3B + set up gogs service git service
Project homepage: https://gogs.io
Download page: https://gogs.io/docs/installation/install_from_binary
Download address: https://dl.gogs.io/0.11.91/gogs_0.11.91_raspi_armv7.tar.gz
==Note: I log in with the root account to perform all operations. If pi account is used for operation, please add sudo before all instructions==
install
gogs is ...
Added by exasp on Thu, 09 Jan 2020 12:08:55 +0200
pod install abort perfect solution
Background:
Updated system 10.12.6, Xcode 9, IOS 11.0.1
Error: pod install abort
To solve reverse push: you need to upgrade Ruby Version to 2.2.2; you need to upgrade Homebrew Version (uninstall and reinstall); you need to upgrade common line tools;
Step 1: install HomeBrew / uninstall the update
#Why update HomeBrew?
// ...
Added by jej1216 on Mon, 06 Jan 2020 01:22:23 +0200
Compiling google libyuv so Library
libyuv is Google's Open-Source Library for conversion, rotation and scaling between YUV and RGB. It supports compiling and execution on Windows, Linux, Mac, and other platforms, x86, x64, arm architectures, and SIMD instruction acceleration such as SSE, AVX, NEON.
download
Download address: https://code.google.com/p/libyuv/ ...
Added by DimeDropper on Sun, 05 Jan 2020 14:22:57 +0200