Skip to content

Instantly share code, notes, and snippets.

View alanvgreen's full-sized avatar

Alan Green alanvgreen

View GitHub Profile
@alanvgreen
alanvgreen / json.json
Created November 1, 2021 19:56
VsCode: Snippts for Snippets
// Copyright 2021 Google LLC.
// SPDX-License-Identifier: Apache-2.0
{
// Very meta
"Snippet": {
"prefix": "snippet",
"description": "Add a new template to a snippet file",
"body": [
"\"${1:Description in menu}\": {",
google/CFU-Playground at 75aabdfa
Summary: obvious priority is to move filter as far outside loop as possible
# Measure Main loop
Counter | Total | Starts | Average | Raw
---------+--------+--------+---------+--------------
0 | 1475M | 27 | 55M | 1474982499
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@alanvgreen
alanvgreen / Windows_Ten_Minute_Setup.md
Created November 7, 2019 10:31
Ten minute setup guide for Windows

Windows Ten Minute Setup for RiscV Development

You've got a badge, you want to write and run C to run on the RiscV. This is a guide for you.

Regarding Bash

The toolchain requires a bash shell - it won't work with CMD. We'll use the bash shell that comes with Git for Windows. Other options include installing Windows Subsystem for Linux or using a Mac. However, the git