Skip to content

Instantly share code, notes, and snippets.

View leannejdong's full-sized avatar
💭
I may be slow to respond.

Leanne Dong leannejdong

💭
I may be slow to respond.
View GitHub Profile
@dlime
dlime / CMakeLists.txt
Last active August 24, 2024 18:06
Install Google Test and Google Mock on Ubuntu
cmake_minimum_required(VERSION 3.5)
project(example LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(GTest REQUIRED)
include_directories(${GTEST_INCLUDE_DIRS})
@fjpalacios
fjpalacios / arch-i3gaps-install.md
Last active April 18, 2025 09:44
Arch + i3-gaps Install Guide

Arch + i3-gaps Install Guide

First set up your keyboard layout. For example, in Spanish:

   # loadkeys es

For a list of all acceptable keymaps:

   # localectl list-keymaps
@ld100
ld100 / ArchLinuxWSL2.md
Last active March 24, 2025 13:09
Steps for setting up Arch Linux on WSL2

Migrating from Ubuntu on WSL to ArchLinux on WSL2

Obsolete notice

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.

Upgrading to WSL 2

  • Download WSL2 Kernel
  • run wsl --set-default-version 2 in windows command line, so that all future WSL machine will use WSL2.
@jayhuang75
jayhuang75 / tradingbot.mod.rs
Created November 6, 2020 19:57
tradingbot.mod.rs
pub struct TradingBot {
pub trading_config: TradingConfig,
pub market: Box<dyn Market>,
}

Bit Manipulation Cheatsheet (C++)

Operators

Bitwise And --> &

Bitwise Or --> |

Bitwise xor --> ^

@chhh
chhh / ArchLinuxWSL2.md
Created April 29, 2021 06:59 — forked from ld100/ArchLinuxWSL2.md
Steps for setting up Arch Linux on WSL2

Migrating from Ubuntu on WSL to ArchLinux on WSL2

Upgrading to WSL 2

  • Download WSL2 Kernel
  • run wsl --set-default-version 2 in windows command line, so that all future WSL machine will use WSL2.

Installing Arch Linux

@WeirdConstructor
WeirdConstructor / RustAudioLinkCollection.md
Last active February 26, 2025 07:57
Rust Audio Link Collection

Weird Constructor's (slightly opinionated) Rust Audio Link Collection

@nd-0r
nd-0r / audiopluginhost.md
Created October 11, 2022 17:53
Compiling the JUCE Audio Plugin Host

Compiling the JUCE Audio Plugin Host

This week we'd like to start working with audio/midi plugins in JUCE. To test out your plugins, it's nice to have a lightweight host to run them inside where you can easily patch different plugins together. This tool is actually included with the JUCE library, but it needs to be compiled for your platform. Below are instructions to do so.

Instructions

  • Locate the JUCE folder on your computer and change to this directory (in my case /Applications/JUCE)
  • Navigate to extras/AudioPluginHost
  • Open the file AudioPluginHost.jucer in the Projucer
  • Export the Project to your IDE of choice