Commands to get commit statistics for a Git repository from the command line -
using git log
, git shortlog
and friends.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_id": { | |
"$oid": "61e0dfb054ba91f1fe166aae" | |
}, | |
"cve": { | |
"data_type": "CVE", | |
"data_format": "MITRE", | |
"data_version": "4.0", | |
"CVE_data_meta": { | |
"ID": "CVE-1999-0165", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\Users\mjohn\Requirements_Testing\ubuntu-vm> vagrant up | |
'ip' is not recognized as an internal or external command, | |
operable program or batch file. | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Checking if box 'generic/ubuntu2004' version '4.1.12' is up to date... | |
==> default: Clearing any previously set forwarded ports... | |
==> default: Clearing any previously set network interfaces... | |
==> default: Specific bridge '' not found. You may be asked to specify | |
==> default: which network to bridge to. | |
==> default: Available bridged network interfaces: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[7m>>> azure-iot-sdk-c LTS_07_2022_Ref01 Configuring[27m | |
(mkdir -p /home/mjohn/workspace/connectivity-module/buildroot/buildroot/output/cm1sd/build/azure-iot-sdk-c-LTS_07_2022_Ref01/ && cd /home/mjohn/workspace/connectivity-module/buildroot/buildroot/output/cm1sd/build/azure-iot-sdk-c-LTS_07_2022_Ref01/ && rm -f CMakeCache.txt && PATH="/home/mjohn/workspace/connectivity-module/buildroot/buildroot/output/cm1sd/host/bin:/home/mjohn/workspace/connectivity-module/buildroot/buildroot/output/cm1sd/host/sbin:/home/mjohn/workspace/connectivity-module/bin:/home/mjohn/workspace/connectivity-module/apps/goroot/go/bin:/home/mjohn/workspace/connectivity-module/bin:/home/mjohn/workspace/connectivity-module/apps/goroot/go/bin:/home/mjohn/.local/bin:/home/mjohn/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:~/bin:~/bin:/home/mjohn/workspace/connectivity-module/buildroot/buildroot/output/cm1sd/host/bin" /usr/bin/cmake /home/mjohn/workspace/connectivity-module/buildroo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[7m>>> azure-iot-sdk-c LTS_07_2022_Ref01 Configuring[27m | |
(mkdir -p /home/mjohn/workspace/connectivity-module/buildroot/buildroot/output/cm1sd/build/azure-iot-sdk-c-LTS_07_2022_Ref01/ && cd /home/mjohn/workspace/connectivity-module/buildroot/buildroot/output/cm1sd/build/azure-iot-sdk-c-LTS_07_2022_Ref01/ && rm -f CMakeCache.txt && PATH="/home/mjohn/workspace/connectivity-module/buildroot/buildroot/output/cm1sd/host/bin:/home/mjohn/workspace/connectivity-module/buildroot/buildroot/output/cm1sd/host/sbin:/home/mjohn/workspace/connectivity-module/bin:/home/mjohn/workspace/connectivity-module/apps/goroot/go/bin:/home/mjohn/workspace/connectivity-module/bin:/home/mjohn/workspace/connectivity-module/apps/goroot/go/bin:/home/mjohn/.local/bin:/home/mjohn/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:~/bin:~/bin:/home/mjohn/workspace/connectivity-module/buildroot/buildroot/output/cm1sd/host/bin" /usr/bin/cmake /home/mjohn/workspace/connectivity-module/buildroo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// An NNG version which does work | |
// What's different between this and the Go version? | |
#include <unistd.h> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <nng/nng.h> | |
#include <nng/protocol/reqrep0/rep.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let reverse lst' = | |
let rec rev acc = function | |
| [] -> acc | |
| head::tail -> rev (head::acc) tail | |
rev [] lst' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// go run main.go | |
package main | |
import ( | |
"bytes" | |
"fmt" | |
"net" | |
"os" | |
"time" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"net" | |
"os" | |
"time" | |
) | |
func listen(end chan<- bool) { |