Skip to content

Instantly share code, notes, and snippets.

View dxinteractive's full-sized avatar
🎵

Damien Clarke dxinteractive

🎵
View GitHub Profile
@disposedtrolley
disposedtrolley / arm-cross-compiler_macos.md
Created August 27, 2020 10:46
Installing the GNU ARM Embedded Toolchain for macOS

Introduction

The ARM Embedded Toolchain is a GNU licensed cross compiler for ARM CPU architectures, allowing you to compile C/C++ code into binaries which can execute on CPUs such as the Cortex-M line of microcontrollers.

When dealing with C/C++ embedded development, you have the choice of several compilers. Keil is probably the most well-known commercial brand in the embedded toolchain space. They have their own proprietary compiler and IDE which is quite popular for commercial applications (it's pricey and only runs on Windows).

@bbudd
bbudd / assets.md
Created June 13, 2019 12:30
Loading static assets using electron-forge v6 and the webpack plugin

I spent a few hours chasing down just how to get my static assets (css, fonts, images) to load in an Electron app built using electron-forge v6 (https://www.electronforge.io/) and its webpack plugin (https://www.electronforge.io/config/plugins/webpack) while in development mode. There really isn't any documentation available online, either in the electron-forge documentation or in places like blogs or gists or stackoverflow. So I thought I'd put it down here.

Step 1

Load CopyWebpackPlugin npm i -D copy-webpack-plugin


Step 2

Use the plugin to move your directories into place.

@acarabott
acarabott / faust-macos-homebrew.md
Last active February 27, 2021 23:36
Instructions for building Faust and FaustLive on macOS with Homebrew

Building Faust on macOS with Homebrew

If you haven't installed Homebrew get it from https://brew.sh/

Faust

git clone git@github.com:grame-cncm/faust.git
cd faust
@elnaqah
elnaqah / gist:5070979
Last active August 29, 2023 04:42
cube with texture webgl tutorial
<html>
<head>
<title>Learning WebGL</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<script type="text/javascript" src="glMatrix-0.9.5.min.js"></script>
<script type="text/javascript" src="webgl-utils.js"></script>
<script id="shader-fs" type="x-shader/x-fragment">