This file contains 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
for node in hou.selectedNodes(): | |
if (node.type().name() != "redshift_vopnet"): continue | |
ptg = node.parmTemplateGroup() | |
folder = ptg.findFolder("RS Mat") | |
if (folder): continue | |
node.layoutChildren() | |
This file contains 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
let spn = document.getElementsByTagName('span') | |
let t, i, b | |
let res = '' | |
for(let s of spn) { | |
let a = 0 | |
let cn = s.childNodes | |
while(a < cn.length) { | |
let node = cn[a] | |
switch(node.nodeName) { |
This file contains 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
const Parser = require('fast-xml-parser') | |
const he = require('he') | |
const createCsvWriter = require('csv-writer').createObjectCsvWriter | |
const fs = require('fs') | |
const xmlFile = fs.readFileSync('../../../Downloads/folkets_sv_en_public.xml', 'utf-8') | |
const options = { | |
attributeNamePrefix: '@_', | |
attrNodeName: false, // default is 'false' |
This file contains 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
using System.IO; | |
using UnityEditor; | |
using UnityEngine; | |
public class CreateLegacyAnimationClip { | |
[MenuItem("Assets/Create/Animation (Legacy)", false, 402)] | |
public static void CreateIt() | |
{ | |
AnimationClip clip = new AnimationClip(); |
This file contains 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
.th td { | |
padding: 8px 6px; | |
font-weight: bold; | |
} | |
.ts { | |
color: #006; | |
} |
This file contains 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
; AutoHotkey script to get Accented characters | |
; character codes from https://unicodelookup.com/ | |
; and https://www.fileformat.info/info/unicode/char/search.htm | |
#SingleInstance, force | |
#Hotstring * ? ; Expand immediately everywhere | |
; á |
This file contains 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
<?php | |
header("Access-Control-Allow-Origin: *"); | |
header('Access-Control-Allow-Methods: "GET,POST,OPTIONS,DELETE,PUT"'); | |
$profile = array( | |
"name" => "Attila Malarik", | |
"location" => "Rainy Budakeszi", | |
"color" => "#8872FF", | |
"avatar" => "http://rotonde.attilam.com/Rubinstein.png" | |
); |
This file contains 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
using UnityEngine; | |
using UnityEditor; | |
using System.Collections; | |
public class FittedBoxCollider { | |
[MenuItem("GameObject/Create Other/Create Fitted BoxCollider")] | |
static void FittedBoxColliderMenu() { | |
Transform transform = Selection.activeTransform; | |
Quaternion rotation = transform.rotation; | |
transform.rotation = Quaternion.identity; |
This file contains 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
using UnityEngine; | |
using Holoville.HOTween; | |
[System.Serializable] | |
public class DynamicEvent { | |
[System.Serializable] | |
public class AnimationSetup { | |
public GameObject gameObject; | |
public string animation; | |
} |
NewerOlder