- Generate a new ssh key without a passphrase:
ssh-keygen -t rsa -b 4096 -f deploy_key -C 'travis index bot'
- Encrypt the generated key with a unique, secure passphrase:
gpg -c deploy_key
DEFAULT_VERSION = '0.1'.freeze | |
PREFIX = ' * '.freeze | |
INDENT = "\x20" * 2 | |
LOG_REGEX = / | |
\s*(?:(?:--)?\]\]|\*\/) | |
(.+ | |
Changelog\s*:\n | |
(.+?)\n\s* |
FILE_COUNT = 1 | |
function generateFiles() | |
local files = {} | |
for index=1, FILE_COUNT do | |
files[index] = string.format("%s/Scripts/DUMMY_%02d.lua", reaper.GetResourcePath(), index) | |
end | |
return files |
<?php | |
/* USAGE EXAMPLE: | |
* $data = [ | |
* 'key1' => [1, 1, 1, 1], | |
* 'key2' => [1, 1], | |
* ]; | |
* | |
* $win = new Window(2); | |
* foreach($data as $key => $points) | |
* { |
gem install rake-compiler | |
C:\Ruby23\DevKit\devkitvars.bat | |
bundle exec rake clean clobber native gem | |
C:\Ruby23-x64\bin\setrbvars.bat | |
C:\Ruby23-x64\DevKit\devkitvars.bat | |
bundle exec rake clean clobber native gem |
// build with `cl /nologo /W3 /WX /EHsc /MT /O2 /Z7 /Zo main.cpp` | |
#include <functional> | |
static const size_t QUANTITY = 2555; | |
struct Obj | |
{ | |
std::function<void ()> func; | |
}; |
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); | |
tab { | |
counter-increment: tabnumber; | |
} | |
.tabbrowser-tab:not([pinned]):not([selected]):before { | |
background: none !important; | |
color: black !important; | |
content: "\A0\A0" counter(tabnumber) !important; |
-- https://forum.cockos.com/showthread.php?t=200086 | |
function solo(trackIndex) | |
local track = reaper.GetTrack(0, trackIndex) | |
if not track then return false end | |
reaper.PreventUIRefresh(1) | |
reaper.SoloAllTracks(0) | |
reaper.SetMediaTrackInfo_Value(track, 'I_SOLO', 1) |