Skip to content

Instantly share code, notes, and snippets.

@llmagicll
llmagicll / nubo-set-1.json
Created December 26, 2025 02:24
nubo-set-1.json
{
"interactionSets": {
"question-sleep": {
"initSetKey": "custom:hello",
"buttons": [
{
"text": "睡得不錯",
"setKey": "custom:sleep-response-positive",
"nextInteractionSet": null
},
@llmagicll
llmagicll / speaking-set-1.json
Last active December 26, 2025 02:17
speaking set: 問安提醒
{
"speaking": {
"hello": {
"script": "早安~很開心見到您,昨晚睡得好嗎?",
"states": [
"hello"
],
"emotion": "positive",
"emoji-expression": "hi",
"audioSource": "tts",
@llmagicll
llmagicll / interaction-set-1.json
Last active December 26, 2025 02:18
interaction set: 問安提醒
{
"interactionSets": {
"question-sleep": {
"initSetKey": "custom:hello",
"buttons": [
{
"text": "睡得不錯",
"setKey": "custom:sleep-response-positive",
"nextInteractionSet": null
},
@llmagicll
llmagicll / pbx_add_xcode_capabilities.cs
Last active March 19, 2018 02:18
Add capabilities to Xcode project with PBXProject
static void AddCapabilities (string pathToBuiltProject, PBXProject pbxProject, string targetGUID) {
// Copy your entitlement file to Xcode project. The file can be found on built xcode project with the specified capabilities enabled
string relativeDestination = "Libraries/Plugins/iOS/native_plugin/spacewalk.entitlements";
FileUtil.CopyFileOrDirectory ("Assets/Plugins/iOS/native_plugin/spacewalk.entitlements", pathToBuiltProject + "/" + relativeDestination);
// Add file to Xcode project
pbxProject.AddFile (pathToBuiltProject + "/" + relativeDestination, relativeDestination);
pbxProject.AddBuildProperty (targetGUID, "CODE_SIGN_ENTITLEMENTS", relativeDestination);