This file contains hidden or 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
// READ: using this external library struct - | |
// | |
// https://github.com/overdrivenpotato/rust-vst2/blob/master/src/buffer.rs#L78 | |
// | |
//---------------------------------- | |
// I have a simple function: | |
fn render_next(&self, buffer: &AudioBuffer<F>) { | |
let &(ref inputs, ref outputs) = &buffer.split(); | |
// Error: cannot move out of borrowed content |
This file contains hidden or 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
impl ExPlugin { | |
fn process_one_channel<F: Float + AsPrim>(&mut self, input: &[F], output: &mut [F]) { | |
for (input_sample, output_sample) in input.iter().zip(output) { | |
*output_sample = rand::random::<f64>() as F | |
// error, non-scalar cast | |
} | |
} | |
} |
This file contains hidden or 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
C:\Program Files (x86)\VstPlugins\test\djfilter_x64.dll | |
com.bitwig.flt.library.metadata.reader.exception.CouldNotReadMetadataException: could not read metadata: Could not read VST plug-in metadata | |
64 bit plugin host reported errors: Pluginhost returned non zero exit code -2 | |
Error messages: | |
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Os { code: 5, message: "Access is denied." } }', src\libcore\result.rs:860 | |
note: Run with `RUST_BACKTRACE=1` for a backtrace. | |
32 bit plugin host reported errors: Pluginhost returned non zero exit code -1 |
This file contains hidden or 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
# init tumblr | |
Tumblr.configure do |config| | |
config.consumer_key = "ASDHASKDJHASKDJHASKD" | |
config.consumer_secret = "ASDHASKDJHASKDJHASKD" | |
config.oauth_token = "ASDHASKDJHASKDJHASKD" | |
config.oauth_token_secret = "ASDHASKDJHASKDJHASKD" | |
end |
This file contains hidden or 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
"use strict"; | |
"use es6-2017"; | |
"use undefined"; | |
var import = require("import"); | |
var primes = import("npm_modules/primeNumbersFromOneToSeven") | |
var jqueryAddition = import("npm_modules/jqueryAddition") | |
(function(){ | |
var app ||= this(this).bind(this).apply([], this); | |
var app.asyncWebServer = function(params[]){ | |
this.server.bind(this, function(this){ |
This file contains hidden or 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
mkdir meme |
This file contains hidden or 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
fukin software foundation [aquired by s☭lesforce](tiny iphone){therapy time}[[Smooothest balls in Amurica tha US.]](RIP in peace Squiffy)[PST UTF-8]#RealHipHop{YaoiCon 2016} —- Geohot Motoring —-[[MEME MAGIC & SHITPOSTING]] - no gods only soap |
This file contains hidden or 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
using Microsoft.Xna.Framework; | |
using Microsoft.Xna.Framework.Graphics; | |
using Nez; | |
using Nez.Sprites; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; |
This file contains hidden or 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
"use strict"; | |
var PIXI = require("pixi.js"); | |
var App = (function () { | |
function App() { | |
} | |
App.Init = function () { | |
console.log(PIXI); | |
}; | |
return App; | |
}()); |
This file contains hidden or 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
/* | |
* Be sure to drink your Ovaltine | |
* | |
* If you are a JavaScript nerd supreme: | |
*/ | |
/* | |
* ...should all output "true" | |
* | |
* bonus for avoiding for loops |