Skip to content

Instantly share code, notes, and snippets.

View HtwoO's full-sized avatar

HtwoO

View GitHub Profile
@HtwoO
HtwoO / 08_rf_read.tlv
Created June 4, 2026 03:49
edx LFD111x ch04: Register File Read
\m4_TLV_version 1d: tl-x.org
\SV
// This code can be found in: https://github.com/stevehoover/LF-Building-a-RISC-V-CPU-Core/risc-v_shell.tlv
m4_include_lib(['https://raw.githubusercontent.com/stevehoover/LF-Building-a-RISC-V-CPU-Core/main/lib/risc-v_shell_lib.tlv'])
//---------------------------------------------------------------------------------
// /====================\

There are lots of command lines which can be used with the Google Chrome browser. Some change behavior of features, others are for debugging or experimenting. This page lists the available switches including their conditions and descriptions. Last automated update occurred on 2018-10-20.

Condition Explanation
-- Report pseudo allocation traces. Pseudo traces are derived from currently active trace events.
--/prefetch:1 /prefetch:# arguments to use when launching various process types. It has been observed that when file reads are consistent for 3 process launches with the same /prefetch:# argument, the Windows prefetcher starts issuing reads in batch at process launch. Because reads depend on the process type, the prefetcher wouldn't be able to observe consistent reads if no /prefetch:# arguments were used. Note that the browser process has no /prefetch:# argument; as such a
@HtwoO
HtwoO / elf_format_cheatsheet.md
Created September 30, 2023 04:14 — forked from x0nu11byt3/elf_format_cheatsheet.md
ELF Format Cheatsheet

ELF Format Cheatsheet

Introduction

Executable and Linkable Format (ELF), is the default binary format on Linux-based systems.

ELF

Compilation

@HtwoO
HtwoO / jq-cheetsheet.md
Created September 13, 2023 13:42 — forked from olih/jq-cheetsheet.md
jq Cheet Sheet

Processing JSON using jq

jq is useful to slice, filter, map and transform structured json data.

Installing jq

On Mac OS

brew install jq

@HtwoO
HtwoO / Google-Sheet-Functions.md
Created April 23, 2023 10:01 — forked from rueycheng/Google-Sheet-Functions.md
Google Sheet functions cheatsheet

Google Sheet Functions - Cheatsheet

Based on https://support.google.com/docs/table/25273?hl=en

Array

Name Syntax Description
ARRAY_CONSTRAIN ARRAY_CONSTRAIN(input_range, num_rows, num_cols) Constrains an array result to a specified size.
BYCOL BYCOL(array_or_range, LAMBDA) Groups an array by columns by application of a LAMBDA function to each column.
@HtwoO
HtwoO / GNU-Make.md
Created April 23, 2023 09:51 — forked from rueycheng/GNU-Make.md
GNU Make cheatsheet
@HtwoO
HtwoO / rsa.ca.gen.sh
Last active November 14, 2022 02:24
Self-signed RSA Certificate Authority generation script using openssl
#!/usr/bin/env bash
CA_NAME="Swan CA"
ROOT_NAME="Swan Root Cert"
# File path to save to
CA_DIR="self-signed.CA"
CA_KEY_FP="$CA_DIR/swan.key.pem"
CA_CRT_FP="$CA_DIR/swan.crt.pem"
mkdir -p "$CA_DIR"
@HtwoO
HtwoO / ec.ca.gen.sh
Last active November 14, 2022 02:24
Self-signed ECDSA Certificate Authority generation script using openssl
#!/usr/bin/env bash
CA_NAME="Swan CA"
ROOT_NAME="Swan Root Cert"
# File path to save to
CA_DIR="self-signed.CA"
CA_KEY_FP="$CA_DIR/swan.key.pem"
CA_CRT_FP="$CA_DIR/swan.crt.pem"
mkdir -p "$CA_DIR"
@HtwoO
HtwoO / rsa.ca.gen.sh
Last active November 14, 2022 02:24
Self-signed RSA Certificate Authority generation script using strongswan-pki
#!/usr/bin/env bash
CA_NAME="Swan CA"
ROOT_NAME="Swan Root Cert"
# File path to save to
CA_DIR="self-signed.CA"
CA_KEY_FP="$CA_DIR/swan.key.pem"
CA_CRT_FP="$CA_DIR/swan.crt.pem"
CA_P12CRT_FP="$CA_DIR/swan.p12"
mkdir -p "$CA_DIR"
@HtwoO
HtwoO / ec.ca.gen.sh
Last active November 14, 2022 02:24
Self-signed ECDSA Certificate Authority generation script using strongswan-pki
#!/usr/bin/env bash
CA_NAME="Swan CA"
ROOT_NAME="Swan Root Cert"
# File path to save to
CA_DIR="self-signed.CA"
CA_KEY_FP="$CA_DIR/swan.key.pem"
CA_CRT_FP="$CA_DIR/swan.crt.pem"
CA_P12CRT_FP="$CA_DIR/swan.p12"
mkdir -p "$CA_DIR"