If you haven't installed Homebrew get it from https://brew.sh/
git clone [email protected]:grame-cncm/faust.git
cd faust
ssh-keygen -o -a 100 -t ed25519 |
void createAlphaImage(const cv::Mat& mat, cv::Mat_<cv::Vec4b>& dst) | |
{ | |
std::vector<cv::Mat> matChannels; | |
cv::split(mat, matChannels); | |
// create alpha channel | |
cv::Mat alpha = matChannels.at(0) + matChannels.at(1) + matChannels.at(2); | |
matChannels.push_back(alpha); | |
cv::merge(matChannels, dst); |
[ | |
{ | |
"artist": "Bad Brains", | |
"title": "I Against I", | |
"year": "1986" | |
}, | |
{ | |
"artist": "Bad Brains", | |
"title": "Bad Brains", | |
"year": "1996" |
function getstills { | |
if [[ ! -z $1 ]]; then | |
OUT=${2:-.} | |
START=${3:-00:00:00} | |
DUR=${4:-99:59:59} | |
ffmpeg -skip_frame nokey -i $1 -vsync vfr -ss $START -t $DUR "$OUT/still-%02d.png" | |
else | |
echo "usage: getstills FILENAME START (hh:mm:ss) DURATION OUTPUT_PATH"; | |
fi | |
} |
If you haven't installed Homebrew get it from https://brew.sh/
git clone [email protected]:grame-cncm/faust.git
cd faust
Array.from(document.getElementsByClassName('BankTransaction-description')).forEach(link => { | |
link.addEventListener('click', () => { | |
setTimeout(() => { | |
const buttons = Array.from(document.getElementsByClassName('inline_explain_attachment_add_button')); | |
if (buttons.length > 0) { buttons[0].click(); } | |
}, 500); | |
}); | |
}); |
This is simple, clear and concise contract that I use for general creative and technical projects. It's based largely upon Brendan Dawe's excellent open-source design contract, but has been modified to contain more appropriate terminology for my field, and now contains sections pertaining to source code, ongoing support, NDA's etc.
Please feel free to fork, modify, distribute and use this document as you wish - and please please do use it. Do not start work without a contract, ever. Additionally: DO NOT START WORK WITHOUT A CONTRACT, EVER.
Dan Hett ("Developer", "me", "I")
[CLIENT NAME] ("Client", "you")
#if UNITY_EDITOR | |
using UnityEditor; | |
using UnityEditor.Callbacks; | |
using UnityEngine; | |
public static class iOSBuildIncrementer | |
{ | |
[PostProcessBuild] | |
public static void OnPostprocessBuild(BuildTarget target, string pathToBuiltProject) |
A checklist of std algorithms, from https://en.cppreference.com/w/cpp/header/algorithm.