Skip to content

Instantly share code, notes, and snippets.

View vonnenaut's full-sized avatar

Dan vonnenaut

View GitHub Profile

Pytest

  • name must be test_[something].py
  • run via pyest
  • import files w/functions/methods to test:
    • from [filename] import [function] as [short name]

Example:

@vonnenaut
vonnenaut / reaper.md
Created May 30, 2022 14:42
Reaper DAW

Reaper DAW

Oxygen Pro 49 setup in Reaper

  1. Set Options --> Preferences --> MIDI Devices
Inputs: OxyPro49
Outputs: OxyPro49

@vonnenaut
vonnenaut / spring_boot.md
Last active August 9, 2021 10:52
Spring Boot

Spring Boot

Troubleshooting

  • try @Configuration, @EnableAutoConfiguration and @ComponentScan instead of @SpringBootApplication in IntelliJ if it gives errors

 


Setup

Spring Initializer

@vonnenaut
vonnenaut / unity_notes.md
Last active October 24, 2022 15:53
Unity

Unity

Setup

Ubuntu

How to Install a specific archived version of the Unity Editor on Ubuntu 20.04:

  1. Go to archives and copy link from Unity Hub install green button
  2. Go to CLI and CD to folder where Unity Hub binary is located, then paste the link after a call to execute Unity Hub binary:
@vonnenaut
vonnenaut / gtk.md
Last active August 3, 2021 15:18
GTK C Development for Ubuntu Linux
@vonnenaut
vonnenaut / vagrant.md
Last active July 9, 2021 12:28
Vagrant

Vagrant

  • cd to dir where Vagrantfile is located before running commands
  • should place Vagrantfile within dir structure you want available inside the vm (under/vagrant dir after connecting via vagrant ssh)

Usage

  1. vagrant init [boxpath] (find box names at https://app.vagrantup.com/boxes/search)
  2. vagrant up to start vm or vagrant resume to resume suspended vm
  3. vagrant ssh connect to vm, appending <box name> to connect to a vm named in a Vagrantfile from within any directory
  • vagrant provision to force reprovisioning of vm
@vonnenaut
vonnenaut / handlebars.md
Last active July 6, 2021 04:16
Handlebars.js
@vonnenaut
vonnenaut / jquery.md
Last active July 14, 2021 09:26
JQuery

JQuery

simplifies most common tasks, including

  • manipulating DOM
  • adding/removing styles
  • making network requests
  • document traversal

 


React.JS

@vonnenaut
vonnenaut / package_managers.md
Last active May 20, 2021 06:38
Package Managers

Yarn package Manager

Use these commands to address Dependabot alerts which require updating version of a package being used by a project

yarn config set [package] [version] [other options]
yarn install

https://classic.yarnpkg.com/en/docs/cli/config/