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
# Install ARCH Linux with encrypted file-system and UEFI | |
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description. | |
# Download the archiso image from https://www.archlinux.org/ | |
# RO mirror - http://archlinux.mirrors.linux.ro/iso/ | |
# wget http://archlinux.mirrors.linux.ro/iso/2019.03.01/archlinux-2019.03.01-x86_64.iso | |
# Copy to a usb-drive | |
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux | |
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration. |
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
const express = require("express"); | |
const app = express(); | |
const PORT = process.env.PORT || 3000; | |
const bodyParser = require("body-parser"); | |
const fetch = require("node-fetch"); | |
app.use(bodyParser.json()); | |
app.get("/", (req, res) => { | |
res.send("Hello World"); | |
}); |
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
import * as awsx from "@pulumi/awsx"; | |
import * as eks from "@pulumi/eks"; | |
import * as k8s from "@pulumi/kubernetes"; | |
const name = "test001" | |
// Pull in existing VPC | |
const vpc = awsx.Network.fromVpc(name, | |
{ | |
vpcId: "vpc-<ID0>", |
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
// Make sure x is a true output so pulumi doesn't try to run this function during preview. | |
const ingressIP = pulumi.all([x]).apply(async ([x]) => { | |
const kc = new k8sClient.KubeConfig(); | |
const provider = (this.getProvider('kubernetes::') as any) | |
const kubeConfig = provider.kubeconfig as pulumi.Output<string>; | |
const ip = kubeConfig.apply(async (config) => { | |
kc.loadFromString(config); | |
const k8sApi = kc.makeApiClient(k8sClient.CoreV1Api); |
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
// Define the application configuration and secrets. | |
const configs = new kx.ConfigMap("app-config", { | |
data: { "config": "very important data" } | |
}); | |
const secrets = new kx.Secret("app-secrets", { | |
stringData: { | |
"app-password": new kx.RandomPassword("app-password"), | |
"database-password": config.databasePassword | |
} |
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
// Define the application configuration and secrets. | |
const configs = new kx.ConfigMap("app-config", { | |
data: { "config": "very important data" } | |
}); | |
const secrets = new kx.Secret("app-secrets", { | |
stringData: { | |
"app-password": new kx.RandomPassword("app-password"), | |
"database-password": config.databasePassword | |
} |
If you're using a high-end bluetooth headset on your Macbook Pro it's likely your mac is using an audio codec which favors battery efficiency over high quality. This results in a drastic degradation of sound, the SBC codec is the likely culprit, read more about it here.
This document was created back in 2020 and might not be actual nowadays. It is not supported anymore, so use thise information at your own risk.
- Download WSL2 Kernel
- run
wsl --set-default-version 2
in windows command line, so that all future WSL machine will use WSL2.
OlderNewer