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
-- Change this to customize which plug-in is added. | |
local fx_name = "kHs Gain" | |
local tcount = reaper.CountSelectedTracks(0) | |
local tindex | |
local mtrack | |
local fx_pos | |
for tindex = 0, tcount-1 do | |
mtrack = reaper.GetSelectedTrack(0, tindex) |
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
local script_name = ({reaper.get_action_context()})[2]:match("([^/\\_]+)%.lua$") | |
-- Note : Requires js_ReaScriptAPI extension to be installed | |
local w = reaper.JS_Window_Find( "trackview", true ) | |
local retval, left, top, right, bottom = reaper.JS_Window_GetClientRect( w ) | |
-- width = right - left | |
height = bottom - top | |
local SMALLEST = 40 | |
local LARGEST = 100 |
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
Invoke-Item (Get-ChildItem $env:APPDATA\Microsoft\Windows\Recent\* -File -Filter *.rpp.lnk | Sort-Object -Property LastWriteTime)[-1].Fullname |
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 node | |
// | |
// Updated for purgecss v2 | |
// | |
'use strict;' | |
const Purgecss = require("purgecss"); | |
const fs = require("fs"); |
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
<# | |
.Synopsis | |
Start and connect to a VirtualBox headless VM | |
.Description | |
Given either the UUID or Name of a VirtualBox VM, the script will check if the | |
VM is running, start it if not, and then connect to it using PuTTY. | |
.Parameter Vmid | |
VM identifier. This can either be the UUID or the name. |
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
/*********************************************** | |
* Copyright 2018 Mark Hollomon | |
* | |
************************************************/ | |
#include <iostream> | |
#include <string> | |
#include <cctype> | |
#include <boost/spirit/home/x3.hpp> |
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
#include <iostream> | |
#include <string> | |
#include <boost/config/warning_disable.hpp> | |
#include <boost/spirit/home/x3.hpp> | |
//**************************** | |
// The parser | |
//**************************** | |
namespace x3 = boost::spirit::x3; |
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
#include <iostream> | |
#include <string> | |
#include <boost/config/warning_disable.hpp> | |
#include <boost/spirit/home/x3.hpp> | |
//**************************** | |
// The parser | |
//**************************** | |
namespace x3 = boost::spirit::x3; |
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
#include <iostream> | |
#include <string> | |
#include <boost/config/warning_disable.hpp> | |
#include <boost/spirit/home/x3.hpp> | |
//**************************** | |
// The parser | |
//**************************** | |
namespace x3 = boost::spirit::x3; |