Skip to content

Instantly share code, notes, and snippets.

Working from home

Vinnie Falco vinniefalco

Working from home
View GitHub Profile
View gist:2387905
git clone --mirror git:// DSPOrig
rm -rf DSPFilters DSP1
git clone --no-hardlinks DSPOrig DSP1
cd DSP1
git filter-branch --prune-empty --index-filter 'git rm -rfq --cached --ignore-unmatch shared/DSPFIltersDemo/BUilds/MacOSInstaller/InstallerTemplate.sparseimage' HEAD
git gc --aggressive
cd ..
vinniefalco / gist:2469123
Created Apr 23, 2012
Explanation of juce::MidiOutput methods
View gist:2469123
void MidiOutput::sendBlockOfMessages (const MidiBuffer& buffer,
const double millisecondCounterToStartAt,
double samplesPerSecondForBuffer)
// You've got to call startBackgroundThread() for this to actually work..
jassert (isThreadRunning());
// this needs to be a value in the future - RTFM for this method!
jassert (millisecondCounterToStartAt > 0);
vinniefalco / gist:2483665
Created Apr 24, 2012
Explanation of juce::MidiOutput methods
View gist:2483665
// 发送消息块。1参:MIDI缓冲(引用型对象)。2参:开始时间(毫秒)。3参:每秒的采样数
// 本函数用于将MIDI缓冲数据发送至MIDI设备,从而发出声音。是MidiOutput类的核心函数,也是实现播放MIDI文件的功能性函数
void MidiOutput::sendBlockOfMessages (const MidiBuffer& buffer,
const double millisecondCounterToStartAt,
double samplesPerSecondForBuffer)
// 执行此函数之前,必须启动后台线程。如果尚未启动,则首先执行startBackgroundThread()函数,而后再调用本函数. 此处使用了一个断言。如果尚未启动后台线程,则调试时程序代码将停留在此处。
// The thread must be started before calling this function.
jassert (isThreadRunning());
vinniefalco / LevelDB Unity Source
Created Jun 27, 2013
This is a single .cpp file which can be added to your project to bring in LevelDB. It's easier than having to add all the individual sources to your Makefile or CMake or whatever. It also compiles much faster since its just one translation unit instead of many.
View LevelDB Unity Source
// Set the appropriate LevelDB platform macro based on our platform.
#define OS_MACOSX
View beast_uint24.h
This file is part of Beast:
Copyright 2013, Vinnie Falco <>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
View boost inline script test output
This file has been truncated, but you can view the full file.
this_file include/boost/aligned_storage.hpp
path_found "boost/config.hpp"
this_file_rel aligned_storage.hpp
path_found_rel config.hpp
rel_path "config.hpp"
orig_line #include "boost/config.hpp"
new_line #include "config.hpp"
View gist:67fccec3a3bba4fd9779
namespace detail {
template <class...>
struct void_type
using type = void;
template <class... T>
using void_t = typename void_type<T...>::type;
View gist:af308f0ad2d42476a4ed
Performing configuration checks
- 32-bit : yes (cached)
- arm : no (cached)
- mips1 : no (cached)
- power : no (cached)
- sparc : no (cached)
- x86 : yes (cached)
Building the Boost C++ Libraries.
View gist:7f0fcc13f353b5426861
D:\src\rippled\src\ripple\app\ledger\impl\InboundLedgers.cpp(274): catch (...)
D:\src\rippled\src\ripple\app\ledger\impl\LedgerConsensusImp.cpp(1165): catch (...)
D:\src\rippled\src\ripple\app\ledger\impl\LedgerConsensusImp.cpp(1854): catch (...)
D:\src\rippled\src\ripple\app\ledger\impl\LedgerConsensusImp.cpp(1885): catch (...)
D:\src\rippled\src\ripple\app\ledger\impl\LedgerConsensusImp.cpp(1934): catch (...)
D:\src\rippled\src\ripple\app\ledger\impl\LedgerMaster.cpp(635): catch (...)
D:\src\rippled\src\ripple\app\ledger\impl\LedgerMaster.cpp(988): catch (...)
D:\src\rippled\src\ripple\app\ledger\impl\LedgerMaster.cpp(1110): catch (...)
D:\src\rippled\src\ripple\app\ledger\impl\LedgerMaster.cpp(1478): catch (...)
D:\src\rippled\src\ripple\app\ledger\impl\LedgerMaster.cpp(1711): catch (...)
View gist:cf09adc4bb3df2137d945f5a50c1e22e
Vinnies-MacBook-Pro:bin vinnie$ b2 -j4
warning: No toolsets are configured.
warning: Configuring default toolset "darwin".
warning: If the default is wrong, your build may not work correctly.
warning: Use the "toolset=xxxxx" option to override our guess.
warning: For more configuration options, please consult
error: no Jamfile in current directory found, and no target references specified.
Vinnies-MacBook-Pro:bin vinnie$ cd ..
You can’t perform that action at this time.