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
(defcfg | |
process-unmapped-keys yes | |
) | |
(defsrc | |
q w e r t y u i o p | |
a s d f g h j k l ; | |
spc ` | |
) | |
(defvar |
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
# install: `pip install mido python-rtmidi` | |
import mido | |
counter = 0 | |
step = 1 | |
beat = 1 | |
bar = 1 | |
viz = "+---+---+---+---" |
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
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 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
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 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
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 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
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 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
.th td { | |
padding: 8px 6px; | |
font-weight: bold; | |
} | |
.ts { | |
color: #006; | |
} |
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
; 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 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
<?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" | |
); |
NewerOlder