This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This file was generated from Typescript using quicktype, do not modify it directly. | |
// To parse and unparse this JSON data, add this code to your project and do: | |
// | |
// cloudFormationRDSDBInstance, err := UnmarshalCloudFormationRDSDBInstance(bytes) | |
// bytes, err = cloudFormationRDSDBInstance.Marshal() | |
// | |
// dBEngine, err := UnmarshalDBEngine(bytes) | |
// bytes, err = dBEngine.Marshal() | |
// | |
// dBInstanceProperties, err := UnmarshalDBInstanceProperties(bytes) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package mypackage | |
import kotlinx.serialization.* | |
import kotlinx.serialization.json.* | |
import kotlinx.serialization.internal.* | |
typealias CustomColumnNames = HashMap<String, String> | |
typealias ColumnPresetsExpression = HashMap<String, String> | |
typealias RemoteField = HashMap<String, RemoteFieldValue> | |
typealias InputArguments = HashMap<String, String> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Module } from '@nestjs/common' | |
import { AuthService } from './auth.service' | |
@Module({ | |
providers: [AuthService], | |
exports: [AuthService], | |
}) | |
export class AuthModule {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export interface VitalPresetTypes { | |
author: string; | |
comments: string; | |
macro1: string; | |
macro2: string; | |
macro3: string; | |
macro4: string; | |
preset_style: PresetStyle; | |
settings: { [key: string]: SettingElement[] | Sample | number }; | |
synth_version: string; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import pathlib | |
from glob import glob | |
from dataclasses import dataclass | |
from mido import MidiFile, MidiTrack, merge_tracks | |
from typing import Dict, List | |
pathlib.Path("./_Processed").mkdir(parents=True, exist_ok=True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"FormattingOptions": { | |
"NewLinesForBracesInLambdaExpressionBody": false, | |
"NewLinesForBracesInAnonymousMethods": false, | |
"NewLinesForBracesInAnonymousTypes": false, | |
"NewLinesForBracesInControlBlocks": false, | |
"NewLinesForBracesInTypes": false, | |
"NewLinesForBracesInMethods": false, | |
"NewLinesForBracesInProperties": false, | |
"NewLinesForBracesInAccessors": false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// From: https://stackoverflow.com/a/59820115 | |
{ | |
"C_Cpp.intelliSenseEngine": "Disabled", | |
"C_Cpp.autocomplete": "Disabled", // So you don't get autocomplete from both extensions. | |
"C_Cpp.errorSquiggles": "Disabled", // So you don't get error squiggles from both extensions (clangd's seem to be more reliable anyway). | |
"clangd.path": "/path/to/your/clangd", | |
"clangd.arguments": ["-log=verbose", "-pretty", "--background-index", "--compile-commands-dir=/path/to/your/compile_commands_dir/"] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// params: y0, y1, interleaved x, coeff, n | |
static EEL_F NSEEL_CGEN_CALL dotprod2(void *opaque, INT_PTR np, EEL_F **parms) { | |
EEL_F **blocks = (EEL_F **)opaque; | |
int xofs = *parms[2]; | |
int cofs = *parms[3]; | |
int n = *parms[4]; | |
*parms[0] = 0.0; | |
*parms[1] = 0.0; | |
if (unlikely(n <= 0 || xofs < 0 || cofs < 0 || |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
============================================================================== | |
This file is part of the JUCE library. | |
Copyright (c) 2020 - Raw Material Software Limited | |
JUCE is an open source library subject to commercial or open-source | |
licensing. | |
By using JUCE, you agree to the terms of both the JUCE 6 End-User License |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct Assumer(T, alias assumeThis) | |
{ | |
T store; | |
pragma(inline, true) | |
T get() | |
{ | |
import gcc.builtins; | |
if(!assumeThis(store)) | |
__builtin_unreachable(); | |
return store; |