This file contains hidden or 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
// https://www.tutorialguruji.com/javascript/reusing-database-connections-with-azure-functions-using-javascript/amp/ | |
// https://pretagteam.com/question/reusing-database-connections-with-azure-functions-using-javascript | |
class DBTest{ | |
constructor(){ | |
this.data="test"; | |
} | |
setText(params) { | |
this.data=params; | |
} |
This file contains hidden or 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
// base on this links | |
// https://gist.github.com/webdesserts/5632955 | |
// need this for "gulp default" to run command line | |
// @babel/register | |
import { src, dest, watch, parallel, series } from "gulp"; | |
import {spawn} from "child_process"; | |
import config from'./config'; |
This file contains hidden or 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
#================================================ | |
# CMAKE BUILD | |
# WINDOW BUILD CURRENTLY | |
#================================================ | |
cmake_minimum_required(VERSION 3.20) # FetchContent is available in 3.11+ | |
#message("CMAKE_BUILD_TYPE >>> " ${CMAKE_BUILD_TYPE}) | |
#convert checks for debug / release | |
if(CMAKE_BUILD_TYPE) | |
string(TOLOWER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE) | |
endif() |
This file contains hidden or 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
#================================================ | |
# CMAKE BUILD | |
# WINDOW BUILD CURRENTLY | |
#================================================ | |
cmake_minimum_required(VERSION 3.20) # FetchContent is available in 3.11+ | |
message("CMAKE_BUILD_TYPE >>> " ${CMAKE_BUILD_TYPE}) | |
#convert checks for deubug / release | |
string(TOLOWER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE) | |
if(CMAKE_BUILD_TYPE STREQUAL "debug") |
This file contains hidden or 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
bl_info = { | |
"name": "Simple My Tools b28x", | |
"author":"Lightnet", | |
"version":(0,0,1), | |
"blender": (2,82,0), | |
"location": "Object", | |
"category": "Object", | |
"warning": "", | |
"wiki_url": "", | |
} |
This file contains hidden or 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
import bpy | |
#source_rig = 'MBlab_sk' | |
#dest_rigs = ['Armature'] | |
############ | |
bone_data = {} | |
selectobjname = None | |
def edit_rig(rigname): | |
bpy.ops.object.mode_set(mode='OBJECT') | |
bpy.ops.object.select_all(action='DESELECT') |
This file contains hidden or 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
//=============================================== | |
// CLEAR GUN DATABASE | |
localStorage.clear(); | |
//(function() { | |
//=============================================== | |
// INIT GUN DATABASE | |
let gunurl = window.location.origin+'/gun'; | |
//console.log(gunurl); | |
var gun = Gun(gunurl); | |
gun.on('hi', peer => {//peer connect |
This file contains hidden or 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
//=============================================== | |
// CLEAR GUN DATABASE | |
localStorage.clear(); | |
//(function() { | |
//=============================================== | |
// INIT GUN DATABASE | |
let gunurl = window.location.origin+'/gun'; | |
//console.log(gunurl); | |
var gun = Gun(gunurl); | |
gun.on('hi', peer => {//peer connect |