Skip to content

Instantly share code, notes, and snippets.

View maxenko's full-sized avatar
🎯
Focusing

Max Enko maxenko

🎯
Focusing
View GitHub Profile
import c4d
from c4d import utils
# returns list of all children matching the name within given hierarchy
def findChildrenWithName(parent, childName):
op = parent
if parent.GetName() == childName:
return op
//#include "stdafx.h"
#include <sodium.h>
#include <iostream>
using namespace std;
#define MESSAGE (const unsigned char *) "test"
#define MESSAGE_LEN 4
#define CIPHERTEXT_LEN (crypto_box_SEALBYTES + MESSAGE_LEN)